JustDecompile Loads Assembly Then Fails with Unhandled Exception

2 posts, 0 answers
  1. Brian
    Brian avatar
    1 posts
    Member since:
    Jan 2012

    Posted 15 Jan 2017 Link to this post

    Hi,

    I try to click on a class in my decompiled .NET assembly and I get the following error:

    I am running JustDecompile on Windows 7.  I have the assembly in my file system, and then I right-click on it, and then I say "Open with JustDecompile."  JustDecompile opens it just fine, and then, when I click on the "MyJobs" class or any of its members, JustDecompile says it needs me to locate a DLL.  So, i do so, and the DLL I locate also is in the same .NET version as my executeable. 

    There is another class, "Form1," in the executeable that does the same thing when clicked, but its code opens just fine.  Then, when I get to the "MyJob" class it gives the error below:  Proprietary names are hidden with X's.

    Current member / type: XXX.Actions.Runtime.MyJob
    File path: C:\Users\bhart\Documents\XXX\My Jobs\Tutoring Appointments\CTA.exe

    Product version: 2016.3.1003.0
    Unhandled instruction flow behavior Break: IL_0019: break
    at ..( Ÿ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Cil\ControlFlowGraphBuilder.cs:line 290
    at ..() in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Cil\ControlFlowGraphBuilder.cs:line 230
    at ..•() in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Cil\ControlFlowGraphBuilder.cs:line 59
    at ..Create(MethodDefinition €) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Cil\ControlFlowGraph.cs:line 78
    at ‚–...ctor(MethodBody body) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\MethodSpecificContext.cs:line 18
    at ‚–.™“.—“(MethodBody €–, ILanguage ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 107
    at ‚–.™“.‹(MethodBody €–, ILanguage ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\DecompilationPipeline.cs:line 65
    at ‚–.›.(MethodDefinition , •Ÿ& —) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\AutoImplementedEventMatcher.cs:line 128
    at ‚–.›.Œ(MethodDefinition , String Ž) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\AutoImplementedEventMatcher.cs:line 115
    at ‚–.›.‹(FieldDefinition ˆ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\AutoImplementedEventMatcher.cs:line 77
    at ‚–.›.GetField(EventDefinition Žœ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\AutoImplementedEventMatcher.cs:line 59
    at ‚–.›.–(FieldDefinition& ˆ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\AutoImplementedEventMatcher.cs:line 26
    at .‘Š.ƒŠ(TypeDefinition —, ILanguage ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Mono.Cecil.Extensions\TypeDefinitionExtensions.cs:line 187
    at ‚–..(TypeDefinition ‹, ILanguage , Boolean ™, IEnumerable`1 Œ™, ICollection`1 ™, IEnumerable`1 Œ, IEnumerable`1 ‚) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\Utilities.cs:line 119
    at ——.ƒ˜.˜(TypeDefinition ‹, ILanguage , Dictionary`2 ˜–) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 592
    at ——.ƒ˜.–€(TypeDefinition ‹, ILanguage , Dictionary`2 ˜–, — —€) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 513
    at ——.ƒ˜.˜(TypeDefinition ‹, ILanguage , Dictionary`2 ˜–) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\WriterContextServices\BaseWriterContextService.cs:line 501
    at ——.‡˜.“—(IMemberDefinition , ILanguage ) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Decompiler\WriterContextServices\SimpleWriterContextService.cs:line 27
    at Ÿ˜..(TypeDefinition ‹, –— ’) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\OpenSource\Cecil.Decompiler\Languages\NamespaceImperativeLanguageWriter.cs:line 35
    at .š.Ÿ—( ›) in c:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\UI\JustDecompile.CodeViewer\Writers\TypeDefinitionCodeWriter.cs:line 51

    mailto: JustDecompilePublicFeedback@telerik.com

     

    What could be going on?  Is there a workaround/fix?

  2. Adrian
    Admin
    Adrian avatar
    17 posts

    Posted 17 Jan 2017 Link to this post

    Hi there,

    Thanks for letting us know about this problem. I really appreciate this.

    Would it be possible that you zip the assembly where that happens and send it over to me? Rather unfortunately, that seems to be the only way to reproduce that problem.

    Regards,
    Adrian
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top