Object reference not set to an instance of object

Explore, browse and analyze .NET assemblies

Object reference not set to an instance of object

Postby SpringMVC » Tue Oct 12, 2010 10:14 am

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. )
SpringMVC
 
Posts: 1
Joined: Tue Oct 12, 2010 9:59 am

Postby Clive Tong » Thu Oct 14, 2010 8:33 am

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.
Clive Tong
 
Posts: 283
Joined: Thu Dec 04, 2008 5:42 pm

Object reference not set to an instance of object.

Postby DRAirey1 » Wed Oct 27, 2010 2:08 pm

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.
DRAirey1
 
Posts: 1
Joined: Wed Oct 27, 2010 2:03 pm

Postby ifthenelse » Tue Nov 02, 2010 11:41 pm

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 , Žž , 
ifthenelse
 
Posts: 2
Joined: Fri Oct 22, 2010 9:51 pm

Postby Clive Tong » Thu Nov 04, 2010 4:25 pm

Hi.

Is there a publically available dll that demonstrates this failure?

Thanks.
Clive Tong
 
Posts: 283
Joined: Thu Dec 04, 2008 5:42 pm

Re:

Postby ifthenelse » Fri Nov 05, 2010 12:10 am

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.
ifthenelse
 
Posts: 2
Joined: Fri Oct 22, 2010 9:51 pm

I got the exception with WCFStorm-Lite

Postby nmpham » Fri Nov 05, 2010 11:09 am

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
nmpham
 
Posts: 12
Joined: Tue Jun 28, 2005 2:23 pm

Postby napernik » Fri Nov 26, 2010 1:36 pm

Hi. I'm experiencing what looks like the same issue.

Please check out dll

http://docs.composite.net/downloads/tem ... te.dll.zip
napernik
 
Posts: 1
Joined: Fri Nov 26, 2010 12:41 pm
Location: Denmark

Postby Horcrux7 » Sat Dec 18, 2010 3:51 pm

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.
Horcrux7
 
Posts: 1
Joined: Sat Dec 18, 2010 3:41 pm


Return to .Net Reflector 6.x and .NET Reflector 6.x Pro

Who is online

Users browsing this forum: No registered users and 0 guests