Unable to decompile IKVM Code!

4 posts, 0 answers
  1. Josef
    Josef avatar
    2 posts
    Member since:
    May 2011

    Posted 08 May 2012 Link to this post

    As already stated here!
    I uploaded the file here: http://mir.cr/1ZDILXXL

    Here is the IL code: http://pastebin.com/Sa0auJ8h
    Here the Java source: http://pastebin.com/CLTrK2wU
    Here what a competition product decompiles it to: http://pastebin.com/PkPtc1XJ
    Far from pretty, but at least it allows some insight!


    Just try to decompile the upload method.
    Here is what happens:
    Current member / type: System.Boolean YAPE_AU::upload(java.io.File,java.net.Proxy)
    File path: D:\code\YAPE\YAPE.exe
    Product version: 2012.1.507.1
    Die Warteschlange ist leer.
       bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       bei –.–.(ICollection`1 typeNodes)
       bei –.–.Ž()
       bei –.–.—()
       bei –.–.Œ–()
       bei .–.Process(DecompilationContext theContext, BlockStatement body)
       bei Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language)
       bei Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, ILanguage language, MethodBody body, DecompilationContext& context)
       bei Telerik.JustDecompiler.Decompiler.Extensions.Decompile(MethodBody body, ILanguage language, DecompilationContext& context)
       bei Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
       bei Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers)
       bei JustDecompile.CodeViewer.CodeWriter.Write() in c:\Builds\126\Behemoth\NoPlugins - JustDecompile Production build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:Zeile 41.
       bei JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(ICodeWritable member, CancellationToken cancellationToken) in c:\Builds\126\Behemoth\NoPlugins - JustDecompile Production build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:Zeile 170.
      
    mailto: JustDecompilePublicFeedback@telerik.com

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 14 May 2012 Link to this post

    Hi Josef,

     Thanks for letting us know about that. 

    Is it possible that we get the actual assembly where this happens? The IL code is not sufficient in this case since it refers to objects which definitions we don't have.

    All the best,
    Tsviatko Yovtchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Josef
    Josef avatar
    2 posts
    Member since:
    May 2011

    Posted 14 May 2012 Link to this post

    I already posted the link in the first post: http://mir.cr/1ZDILXXL
  5. Yordan Dikov
    Admin
    Yordan Dikov avatar
    69 posts

    Posted 21 May 2012 Link to this post

    Hello Josef,

    Please excuse me for the delayed response. Once again, thank you for sending this report to us. It seems that this is quite the corner case you've stumbled upon. Nonetheless, we've logged the error and we'll definitely take a look at what might be causing it. Stay tuned for updates and don't hesitate to write us about any other problems you find in JustDecompile.

    All the best,
    Yordan Dikov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top