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

Bug report

2 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yaakov Davis
Top achievements
Rank 1
Yaakov Davis asked on 28 Apr 2011, 03:39 PM
---------------------------
Error
---------------------------
An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!






System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.


   at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211


   at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104


   at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672


   at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876


   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859


   at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215


   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174


   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162


   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)


   at System.Threading.Tasks.Task.Execute()


   --- End of inner exception stack trace ---


   at System.Threading.Tasks.Task`1.get_Result()


   at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187


   at System.Threading.Tasks.Task.Execute()


   --- End of inner exception stack trace ---


   at System.Threading.Tasks.TaskExceptionHolder.Finalize()


---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.


   at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211


   at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104


   at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672


   at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876


   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859


   at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215


   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174


   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162


   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)


   at System.Threading.Tasks.Task.Execute()


   --- End of inner exception stack trace ---


   at System.Threading.Tasks.Task`1.get_Result()


   at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187


   at System.Threading.Tasks.Task.Execute()


---> (Inner Exception #0) System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.


   at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211


   at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104


   at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672


   at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876


   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859


   at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215


   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174


   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162


   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)


   at System.Threading.Tasks.Task.Execute()<---


<---




---------------------------
OK   
---------------------------

2 Answers, 1 is accepted

Sort by
0
Mark Uvodich
Top achievements
Rank 1
answered on 28 Apr 2011, 04:46 PM
Another error when expanding a node in the treeview:

---------------------------
Error
---------------------------
An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!

 

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: Specified method is not supported.

   at Mono.Cecil.MetadataReader.ReadMethodSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1484

   at Mono.Cecil.MetadataReader.ReadAllSemantics(TypeDefinition type) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1564

   at Mono.Cecil.MetadataReader.ReadAllSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1553

   at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 766

   at Mono.Cecil.MethodDefinition.get_SemanticsAttributes() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MethodDefinition.cs:line 68

   at Mono.Cecil.Extensions.TypeDefinitionExtensions..ž.MoveNext()

   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

   at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)

   at Infrastructure.Structure.AssemblyMemberDefinition.GetChildNodes() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyMemberDefinition.cs:line 101

   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 180

   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

   at System.Threading.Tasks.Task.Execute()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task`1.get_Result()

   at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187

   at System.Threading.Tasks.Task.Execute()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.TaskExceptionHolder.Finalize()

---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: Specified method is not supported.

   at Mono.Cecil.MetadataReader.ReadMethodSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1484

   at Mono.Cecil.MetadataReader.ReadAllSemantics(TypeDefinition type) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1564

   at Mono.Cecil.MetadataReader.ReadAllSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1553

   at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 766

   at Mono.Cecil.MethodDefinition.get_SemanticsAttributes() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MethodDefinition.cs:line 68

   at Mono.Cecil.Extensions.TypeDefinitionExtensions..ž.MoveNext()

   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

   at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)

   at Infrastructure.Structure.AssemblyMemberDefinition.GetChildNodes() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyMemberDefinition.cs:line 101

   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 180

   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

   at System.Threading.Tasks.Task.Execute()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task`1.get_Result()

   at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187

   at System.Threading.Tasks.Task.Execute()

---> (Inner Exception #0) System.NotSupportedException: Specified method is not supported.

   at Mono.Cecil.MetadataReader.ReadMethodSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1484

   at Mono.Cecil.MetadataReader.ReadAllSemantics(TypeDefinition type) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1564

   at Mono.Cecil.MetadataReader.ReadAllSemantics(MethodDefinition method) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\AssemblyReader.cs:line 1553

   at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func`3 read) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 766

   at Mono.Cecil.MethodDefinition.get_SemanticsAttributes() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MethodDefinition.cs:line 68

   at Mono.Cecil.Extensions.TypeDefinitionExtensions..ž.MoveNext()

   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

   at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)

   at Infrastructure.Structure.AssemblyMemberDefinition.GetChildNodes() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyMemberDefinition.cs:line 101

   at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 180

   at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

   at System.Threading.Tasks.Task.Execute()<---

<---

---------------------------
OK  
---------------------------

0
Kaloyan
Telerik team
answered on 05 May 2011, 08:17 AM
Hello Mark Uvodich,

Thank you for the issue reporting . We have started working on the fix.

Kind regards,
Kaloyan
the Telerik team

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

Tags
General Discussions
Asked by
Yaakov Davis
Top achievements
Rank 1
Answers by
Mark Uvodich
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or