How can we help you today? How can we help you today?

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. )
SpringMVC
0

Comments

8 comments

  • Clive Tong
    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
    0
  • DRAirey1
    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
    0
  • ifthenelse
    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
    0
  • Clive Tong
    Hi.

    Is there a publically available dll that demonstrates this failure?

    Thanks.
    Clive Tong
    0
  • ifthenelse
    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
    0
  • nmpham
    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
    0
  • napernik
    Hi. I'm experiencing what looks like the same issue.

    Please check out dll

    http://docs.composite.net/downloads/tem ... te.dll.zip
    napernik
    0
  • Horcrux7
    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
    0

Add comment

Please sign in to leave a comment.