question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.

See original GitHub issue

How did it happened .

1 - I opened a new project and leave old haxe project.xml file in the session. 2 - opened the new project.xml file and close the Flashdevelop 3 - restarted Windows, open the Flash develop and got this error And then it closes.

How did i solve it.

1 - Copy the \AppData\Local\FlashDevelop\ folder. 2 - Uninstall the Flashdevelop with Full options. 3 - After installing it replace all the folder with old settings folder EXCEPT the \AppData\Local\FlashDevelop\Settings\SessionData.fdb file 4 - make sure it is not replaced because i think it holds the old session data, i found it after installing it several times and replacing different settings.


Unhandled exception: 

System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.HaxeComplete.<>c__DisplayClass22_0`1.<StartThread>b__0(Object _)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Gamezpediacommented, Jan 9, 2018

hi , i tried the development build and i can’t reproduce that again , also after reinstalling the release build it didn’t happen again but i will update if i found anything.

0reactions
SlavaRacommented, Jan 1, 2018

Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object Reference Not Set to an Instance of an Object
This exception is thrown when you try to access a member—for instance, a method or a property—on a variable that currently holds a...
Read more >
c# - What is a NullReferenceException, and how do I fix it?
The runtime throwing a NullReferenceException always means the same thing: you are trying to use a reference, and the reference is not ...
Read more >
How can I fix the error: System.NullReferenceException
When you have a statement like A.B.C = E.F; , and you receive an NullReferenceException 'Object reference not set to an instance of...
Read more >
Object reference not set to an instance of an object” error?
The “Object reference not set to an instance of an object” is a very famous error in C# that appears when you get...
Read more >
NullReferenceException Class (System)
The exception that is thrown when there is an attempt to dereference a null object reference.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found