This is a migrated thread and some comments may be shown as answers.

Unable to decompile IKVM Code!

3 Answers 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Josef
Top achievements
Rank 1
Josef asked on 08 May 2012, 05:47 PM
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

3 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 14 May 2012, 09:10 AM
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 >>

0
Josef
Top achievements
Rank 1
answered on 15 May 2012, 01:46 AM
I already posted the link in the first post: http://mir.cr/1ZDILXXL
0
Yordan Dikov
Telerik team
answered on 21 May 2012, 10:12 AM
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 >>

Tags
General Discussions
Asked by
Josef
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Josef
Top achievements
Rank 1
Yordan Dikov
Telerik team
Share this question
or