Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Error when load world #234

Open
Porama6400 opened this issue Feb 27, 2016 · 1 comment
Open

Error when load world #234

Porama6400 opened this issue Feb 27, 2016 · 1 comment

Comments

@Porama6400
Copy link

I got this error when load world

System.NullReferenceException was unhandled
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=Craft.Net.Anvil
StackTrace:
at Craft.Net.Anvil.Level.Load(String file)
at Craft.Net.Anvil.Level.LoadFrom(String directory)
at Craft.Net.Anvil.Level.LoadSavedLevel(String world)
at ConsoleTester.Program.Main(String[] args) in c:\users\fujitsu\documents\visual studio 2015\Projects\TestCraftNet\ConsoleTester\Program.cs:line 15
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

How can i fix this?

@Porama6400
Copy link
Author

Program.cs:15

Level l = Level.LoadSavedLevel("C:\Users\Fujitsu\Desktop\SPG\world");

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant