| Author |
Message |
SpringMVC
Joined: 12 Oct 2010 Posts: 1
|
Posted: Tue Oct 12, 2010 10:14 am Post subject: Object reference not set to an instance of object |
|
|
Hi.
When I try to disassemble one particular method of C# executable file, .NET Reflector gives me an error of "Object reference not set to an instance of object".
( Appears popup, where is written ".NET Reflector has encountered a problem. We are sorry for the inconvenience". Next follows description of a problem about object reference not set to an instance of an object. And popup has two buttons "Send Error Report", "Don't Send".
Other methods are disassembled successfully.)
Any suggestions?? ( The thing is, that this method is important for me. ) |
|
| Back to top |
|
 |
Clive Tong
Joined: 04 Dec 2008 Posts: 281
|
Posted: Thu Oct 14, 2010 8:33 am Post subject: |
|
|
Hi.
It is much easier for us to track down (and fix) bugs if we have a reproducible example. Is there somewhere we can get the assembly in question?
Thanks. |
|
| Back to top |
|
 |
DRAirey1
Joined: 27 Oct 2010 Posts: 1
|
Posted: Wed Oct 27, 2010 2:08 pm Post subject: Object reference not set to an instance of object. |
|
|
| Yeah, I'm running into the same thing now. Reflector won't start. It has been running fine for months. Recently I upgraded to the latest version (6.5 I think). I saw the promo for the .NET Reflector Pro and tried it with the integration into Visual Studio 2010. In the last week I uninstalled Visual Studio 2010 Pro and Installed Visual Studio 2010 Ultimate. .NET Reflector still worked after that, but I decided I was going to fall back on the native facility in Visual Studio for stepping through code and I asked .NET Reflector to stop integrating with VS 2010. Since then I've not been able to get Reflector to run. I tried removing it from my machine and re-installing, but no joy. I suspect there are some registry entries made, but without an install/uninstall facility, I can't clean them out. |
|
| Back to top |
|
 |
ifthenelse
Joined: 22 Oct 2010 Posts: 2
|
Posted: Tue Nov 02, 2010 11:41 pm Post subject: |
|
|
Hey, I'm getting same error when trying to add a dll to "Assemblies to debug". It executes 12% and then the process fails with a NullReferenceException.
What can be causing this exception?
I'm using VS2008 and Reflector Pro, dll is in .NET 3.5.
Thanks
Exception details:
System.NullReferenceException: Object reference not set to an instance of an object.
at ..(Exception , Int32 , Object[] )
at ....WriteNamespace(INamespace )
at (Object , INamespace )
at ..()
at ..()
at ..(String , String , , , , EventHandler`1 , , Action`1 )
at ..(AssemblyReference , , FrameworkLanguageSelection , , EventHandler`1 )
at ..(AssemblyReference , FrameworkLanguageSelection ) |
|
| Back to top |
|
 |
Clive Tong
Joined: 04 Dec 2008 Posts: 281
|
Posted: Thu Nov 04, 2010 4:25 pm Post subject: |
|
|
Hi.
Is there a publically available dll that demonstrates this failure?
Thanks. |
|
| Back to top |
|
 |
ifthenelse
Joined: 22 Oct 2010 Posts: 2
|
Posted: Fri Nov 05, 2010 12:10 am Post subject: Re: |
|
|
| Clive Tong wrote: |
Hi.
Is there a publically available dll that demonstrates this failure?
Thanks. |
Unfortunately the dll is private and I cannot send it to you. I work on outsourcing and maybe knowing an approximation of what can be causing it, would allow me to let them know what to change.
Regards. |
|
| Back to top |
|
 |
nmpham
Joined: 28 Jun 2005 Posts: 12
|
Posted: Fri Nov 05, 2010 11:09 am Post subject: I got the exception with WCFStorm-Lite |
|
|
I use WCFStorm-Lite to debug my services as it can setup header.
However, the header values are always empty so i fired up Reflector to look into its methodes
Class
WcfStorm.Lib.Entities.WcfStormIncomingMsgHeaders
public Node BuildIncomingHeadersTree(string url, string contractName, string method);
produced the exception
You can get WCFStorm-lite here
http://www.wcfstorm.com/wcf/wcfstorm-lite.aspx |
|
| Back to top |
|
 |
napernik
Joined: 26 Nov 2010 Posts: 1 Location: Denmark
|
|
| Back to top |
|
 |
Horcrux7
Joined: 18 Dec 2010 Posts: 1
|
Posted: Sat Dec 18, 2010 3:51 pm Post subject: |
|
|
I have the same problem with version 6.5.0.135. Here is a download link http://www.frijters.net/ikvmbin-0.45.3987.zip
Use the dll IKVM.OpenJDK.Beans.dll in the zip file and the methods:
java.beans.Encoder.getValue
java.beans.EventHandler.applyGetters
java.beans.EventHandler.invokeInternal
and many more methods show the error with the C# language. With IL there are no such errors. |
|
| Back to top |
|
 |
|