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

System.AggregateException at startup

10 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
André
Top achievements
Rank 1
André asked on 02 Aug 2011, 12:08 AM
I got this exception when I tried to start JustDecompile (My Silverlight path is: C:\Program Files (x86)\Microsoft Silverlight\4.0.60531.0)



---------------------------
Error
---------------------------
An error has occurred. Please, report this exception to the Telerik team (JustDecompilePublicFeedback@telerik.com) (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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.
 
 
 
Server stack trace:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
 
 
Exception rethrown at [0]:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
   at System.Lazy`1.LazyInitValue()
 
   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92
 
   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63
 
   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119
 
   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)
 
   at System.Collections.Generic.List`1.Contains(T item)
 
   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72
 
   at Infrastructure.Configuration.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 507
 
   at Infrastructure.Configuration.get_AssemblyTree() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 155
 
   at Infrastructure.Configuration.AddNewAssemblyFiles(List`1 files, List`1 frameworkLibraries) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 251
 
   at JustDecompile.Navigation.ViewModels.CodeTreeViewModel...() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\ViewModels\CodeTreeViewModel.cs:line 353
 
   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.ViewModels.CodeTreeViewModel.›(Task`1 task) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\ViewModels\CodeTreeViewModel.cs:line 360
 
   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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.
 
 
 
Server stack trace:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
 
 
Exception rethrown at [0]:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
   at System.Lazy`1.LazyInitValue()
 
   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92
 
   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63
 
   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119
 
   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)
 
   at System.Collections.Generic.List`1.Contains(T item)
 
   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72
 
   at Infrastructure.Configuration.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 507
 
   at Infrastructure.Configuration.get_AssemblyTree() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 155
 
   at Infrastructure.Configuration.AddNewAssemblyFiles(List`1 files, List`1 frameworkLibraries) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 251
 
   at JustDecompile.Navigation.ViewModels.CodeTreeViewModel...() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\ViewModels\CodeTreeViewModel.cs:line 353
 
   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.ViewModels.CodeTreeViewModel.›(Task`1 task) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\ViewModels\CodeTreeViewModel.cs:line 360
 
   at System.Threading.Tasks.Task.Execute()
 
---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.
 
 
 
Server stack trace:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
 
 
Exception rethrown at [0]:
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
 
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
 
   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 867
 
   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)
 
   at Infrastructure.AssemblyNode.„() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107
 
   at System.Lazy`1.CreateValue()
 
   at System.Lazy`1.LazyInitValue()
 
   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92
 
   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63
 
   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119
 
   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)
 
   at System.Collections.Generic.List`1.Contains(T item)
 
   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72
 
   at Infrastructure.Configuration.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 507
 
   at Infrastructure.Configuration.get_AssemblyTree() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 155
 
   at Infrastructure.Configuration.AddNewAssemblyFiles(List`1 files, List`1 frameworkLibraries) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 251
 
   at JustDecompile.Navigation.ViewModels.CodeTreeViewModel...() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\ViewModels\CodeTreeViewModel.cs:line 353
 
   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
 
   at System.Threading.Tasks.Task.Execute()<---
 
<---
 
 
 
In version: 2011.1.728.1
---------------------------
OK  
---------------------------

10 Answers, 1 is accepted

Sort by
0
Nikolay G Rusev
Telerik team
answered on 03 Aug 2011, 02:17 PM
Hello André,

Thank you for sending this error report. Unfortunately we weren't able to reproduce this behaviour.
Judging from the stack trace, it seems to me that you are trying to run JustDecompile on some sort of server.
If that is so, are you sure that the application has permissions to access the Silverlight directory?
Some times a DirectoryNotFoundException is thrown instead of the UnauthorizedAccessException.

Regards,
Nikolay G Rusev
the Telerik team

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

0
André
Top achievements
Rank 1
answered on 03 Aug 2011, 03:51 PM
Hi Nikolay,

No, I don't use a server OS. I'm using Windows 7 Sp1 x64 Ultimate German.

I don't have the Silverlight folder that JustDecompile tries to access. If I remember correctly I used on older JustDecompile beta in May/June 2011. In the meantime the Silverlightupdate was installed from WindowsUpdate and JustDecompile tries to open the old folder which fails so I got the exception.

Here is the better WinDbg output of the crashdump:

EXCEPTION_OBJECT: !pe 3ad70d0
Exception object: 0000000003ad70d0
Exception type:   System.AggregateException
Message:          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.
InnerException:   System.AggregateException, Use !PrintException 0000000003b1ccf0 to see more.
StackTrace (generated):
    SP               IP               Function
    00000000022ADCA0 000007FF0046CEFB JustDecompile!JustDecompile.App.OnUnhandledException(System.Object, System.UnhandledExceptionEventArgs)+0x12b

0:002> !PrintException 0000000003b1ccf0
Exception object: 0000000003b1ccf0
Exception type:   System.AggregateException
Message:          One or more errors occurred.
InnerException:   System.IO.DirectoryNotFoundException, Use !PrintException 0000000003b1d990 to see more.
StackTrace (generated):
    SP               IP               Function
    000000000012D810 000007FEF2A00710 mscorlib_ni!System.Threading.Tasks.Task`1[[System.__Canon, mscorlib]].get_Result()+0x585020
    000000000012D860 000007FF0046CD83 JustDecompile_Navigation!JustDecompile.Navigation.ViewModels.CodeTreeViewModel.›(System.Threading.Tasks.Task`1<System.Collections.Generic.List`1<System.String>>)+0x13
    000000000012D890 000007FEF246DE5B mscorlib_ni!System.Threading.Tasks.Task.Execute()+0x9b

StackTraceString: <none>
HResult: 80131500

EXCEPTION_OBJECT: !pe 3b1d990
Exception object: 0000000003b1d990
Exception type:   System.IO.DirectoryNotFoundException
Message:          Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.
InnerException:   <none>
StackTrace (generated):
Function
mscorlib_ni!System.IO.__Error.WinIOError(Int32, System.String)+0xd8
mscorlib_ni!System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean)+0x9b1
mscorlib_ni!System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean)+0xe5
mscorlib_ni!System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare)+0x66
Mono_Cecil!Mono.Cecil.ModuleDefinition.ReadModule(System.String, Mono.Cecil.ReaderParameters)+0x65
JustDecompiler!Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(System.String)+0x4a
Infrastructure!Infrastructure.AssemblyNode.„()+0xd
mscorlib_ni!System.Lazy`1[[System.__Canon, mscorlib]].CreateValue()+0xc2ee2f
mscorlib_ni!System.Lazy`1[[System.__Canon, mscorlib]].LazyInitValue()+0x163
Infrastructure!Infrastructure.AssemblyNode.get_ModuleDefinition()+0xac
Infrastructure!Infrastructure.AssemblyNode.get_AssemblyVersion()+0x10
Infrastructure!Infrastructure.AssemblyNode.Equals(Infrastructure.AssemblyNode)+0x75
mscorlib_ni!System.Collections.Generic.GenericEqualityComparer`1[[System.__Canon, mscorlib]].Equals(System.__Canon, System.__Canon)+0x57
mscorlib_ni!System.Collections.Generic.List`1[[System.__Canon, mscorlib]].Contains(System.__Canon)+0x9b
Infrastructure!Infrastructure.AssemblyTree.Remove(Infrastructure.AssemblyNode)+0x5b
Infrastructure!Infrastructure.Configuration.()+0x348
Infrastructure!Infrastructure.Configuration.get_AssemblyTree()+0x35
Infrastructure!Infrastructure.Configuration.AddNewAssemblyFiles(System.Collections.Generic.List`1<System.String>, System.Collections.Generic.List`1<System.String>)+0x81
JustDecompile_Navigation!JustDecompile.Navigation.ViewModels.CodeTreeViewModel+..()+0x91
mscorlib_ni!System.Threading.Tasks.Task`1[[System.__Canon, mscorlib]].InvokeFuture(System.Object)+0x83
mscorlib_ni!System.Threading.Tasks.Task.Execute()+0x9b

best regards
André
0
Nikolay G Rusev
Telerik team
answered on 08 Aug 2011, 03:53 PM
Hello André,

Thank you for the additional information. Unfortunately we are still unable to reproduce the exception.
Since the error occurs when you are trying to run the application, here is a temporary solution to get JustDecompile working again: Go to %AppData%\JustDecompile\AssemblyLists and delete the file
DefaultAssemblyList.xml. This will clear the assembly list, so the application should start with no problems.
We'll continue to investigate the problem, so if you encounter this issue again be sure to contact us.

All the best,
Nikolay G Rusev
the Telerik team

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

0
André
Top achievements
Rank 1
answered on 08 Aug 2011, 03:58 PM
The fix is simple. Check if the directory you access is valid.

Steps to repro:

Install older Silverlight 4 version. Run JustDecomplie, now look on Windows Update and you should see a Silverlight Update. Install the update and run JustDecomplie again and it tries to access the (now removed Silverlight folder).
0
Nikolay G Rusev
Telerik team
answered on 11 Aug 2011, 08:13 AM
Hi André,

Thank you for the follow up and the steps to reproduce. Unfortunately I'm still unable to reproduce the error, even after following the steps you mentioned.

This is what I did:
1. Cleared the assembly list and closed JustDecompile
2. Uninstalled Silverlight 4.0.60531.0
3. Installed Silverlight 4.0.60310.0
4. Opened JustDecompile and loaded the Silverlight Framework then closed JustDecompile
5. Uninstalled Silverlight 4.0.60310.0 and deleted the Silverlight directory
6. Installed Silverlight 4.0.60531.0
7. Started JustDecompile with no problems

The assembly list is empty, because the needed files do not exist, but no exception is thrown.

I'm testing this with the version you are using - 2011.1.728.1, so right now I have no clue on why the error occurs on your side. I'll continue to investigate the problem, so stay tuned. If you have any other suggestions or hints, you're more than welcome to share them with us.

Kind regards,
Nikolay G Rusev
the Telerik team

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

0
André
Top achievements
Rank 1
answered on 22 Sep 2011, 03:33 PM
I have the same issue with BETA 2011.2.912:

---------------------------
Error
---------------------------
An error has occurred. Please, report this exception to the Telerik team (JustDecompilePublicFeedback@telerik.com) (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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.



Server stack trace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()



Exception rethrown at [0]:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.LazyInitValue()

   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92

   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63

   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119

   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)

   at System.Collections.Generic.List`1.Contains(T item)

   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72

   at Infrastructure.Configuration.() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 509

   at Infrastructure.Configuration.get_AssemblyTree() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 156

   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 Infrastructure.Configuration...Ÿ†(Task`1 t) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 543

   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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.



Server stack trace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()



Exception rethrown at [0]:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.LazyInitValue()

   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92

   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63

   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119

   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)

   at System.Collections.Generic.List`1.Contains(T item)

   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72

   at Infrastructure.Configuration.() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 509

   at Infrastructure.Configuration.get_AssemblyTree() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 156

   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 Infrastructure.Configuration...Ÿ†(Task`1 t) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 543

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

---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Silverlight\4.0.60310.0\mscorlib.dll'.



Server stack trace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()



Exception rethrown at [0]:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

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

   at Telerik.JustDecompiler.AssemblyLoader.LoadAssembly(String fileName)

   at Infrastructure.AssemblyNode.„() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 107

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.LazyInitValue()

   at Infrastructure.AssemblyNode.get_ModuleDefinition() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 92

   at Infrastructure.AssemblyNode.get_AssemblyVersion() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 63

   at Infrastructure.AssemblyNode.Equals(AssemblyNode other) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\AssemblyNode.cs:line 119

   at System.Collections.Generic.GenericEqualityComparer`1.Equals(T x, T y)

   at System.Collections.Generic.List`1.Contains(T item)

   at Infrastructure.AssemblyTree.Remove(AssemblyNode node) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\AssemblyTree.cs:line 72

   at Infrastructure.Configuration.() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 509

   at Infrastructure.Configuration.get_AssemblyTree() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Configuration.cs:line 156

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

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

<---



In version: 2011.2.912.0
---------------------------
OK   
---------------------------


it happens because I now installed SL5 RC, so JD fails to load the old SL DLLs. I still don't see why it is so complicated to catch this simple execption and tell the user that some paths are not found and if he wants to remove them from the list :(
0
Kaloyan
Telerik team
answered on 26 Sep 2011, 12:57 PM
Hello André,

Sorry once again for the inconvenience caused. The fix will be ready for the next internal build. You will be prompted to install it once it is ready.

Greetings,
Kaloyan
the Telerik team

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

0
André
Top achievements
Rank 1
answered on 15 Oct 2011, 11:56 PM
Now it no longer crashes but hangs at loading assemblies:

0
Kaloyan
Telerik team
answered on 17 Oct 2011, 01:39 PM
Hello André,

Can you go to the C:\Users\[your user name]\AppData\Roaming\JustDecompile folder and then delete the  
AssemblyLists folder and then start the application. Let us know how it goes.

All the best,
Kaloyan
the Telerik team

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

0
André
Top achievements
Rank 1
answered on 12 Jan 2012, 12:08 AM
the latest version (TelerikJustDecompileSetup_2012_1_106.exe) works now.
Tags
General Discussions
Asked by
André
Top achievements
Rank 1
Answers by
Nikolay G Rusev
Telerik team
André
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or