Exception: Object reference not set to an instance of an object

2 posts, 0 answers
  1. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 18 Apr 2014 Link to this post

    Hi,

    Really great product. It works so well that I purchased JustCode for the debugging capability (which btw works about 100 times faster than Reflector).

    I have come across a particular assembly namespace for which the following exception is thrown for several of the classes in this namespace:

       [PipeDesigner(typeof(RssAtomPipeImportDesignerView), typeof(
    Current member / type: Telerik.Sitefinity.Publishing.Pipes.RSSInboundPipe
    File path: C:\Program Files (x86)\Telerik\Sitefinity 5.3\Projects\Default8\bin\Telerik.Sitefinity.dll
     
    Product version: 2014.1.225.0
    Object reference not set to an instance of an object.
    at Ÿ˜.š.(Exception ƒ, IMemberDefinition ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\BaseLanguageWriter.cs:line 16777215
    at Ÿ˜.š.œ•(›” ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\BaseLanguageWriter.cs:line 891
    at †”.–.Visit(„” ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Ast\BaseCodeVisitor.cs:line 273
    at Ÿ˜..Visit(„” ) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\BaseImperativeLanguageWriter.cs:line 1044
    at Ÿ˜.š.WriteInternal(IMemberDefinition , Boolean ˜‘, Boolean ™) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\BaseLanguageWriter.cs:line 462
    at Ÿ˜..(TypeDefinition ‹, Boolean ˜‘, Boolean ™, Boolean ”˜) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\NamespaceImperativeLanguageWriter.cs:line 70
    at Ÿ˜..(TypeDefinition ‹, –— ’, Boolean ˜‘, Boolean ™, Boolean ”˜) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\Decompiler\Cecil.Decompiler\Languages\NamespaceImperativeLanguageWriter.cs:line 42
    at .š.Ÿ—( ›, ˜ ‹Ž) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\TypeDefinitionCodeWriter.cs:line 52

    As you can see, this occurs in the Telerik.Sitefinity.Publishing.Pipes namespace of Telerik.Sitefinity.dll version 6.3.5000.

    Here is the failing line from above:

    [PipeDesigner(typeof(RssAtomPipeImportDesignerView), typeof(

    And here is what I think is the actual source code:

    [PipeDesigner(typeof(RssAtomPipeImportDesignerView), null)]

    So, for some reason, the null parameter is being parsed by the decompiler as a typeof, which fails. I looked at a couple of other classes and the common pattern seems be the null parameter in the attribute. 

    I thought you would like to know about this issue. I use JustDecompile extensively on the Sitefinity assemblies and this is the first time I have come across this problem.

    Regards,
    Gary
  2. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 23 Apr 2014 Link to this post

    Hello Gary,

    Many thanks for the good words and nice feedback. Happy users is what drives us forward! I've shared your feedback with the JD and JC teams, and they really appreciate it.

    As for the bug report, thanks for sharing it with us. I've logged it in our current backlog, and we'll work on it whenever we have the time.

    Kind regards,
    Vladi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top