Decompile Error on SharePoint Dlls

2 posts, 0 answers
  1. Andy Spears
    Andy Spears avatar
    9 posts
    Member since:
    Nov 2005

    Posted 09 Jun 2011 Link to this post

    When decompiling SharePoint Dlls, I'm consistantly getting errors.  For example, when viewing the Microsoft.SharePoint.WebControls.SPTreeView, the following error occurs:

    Current member / type: Microsoft.SharePoint.WebControls.SPTreeView
    File path: D:\Applications\Net Reflector\SharePoint DLLs\Microsoft.SharePoint.dll
    Value cannot be null.
    Parameter name: second
       at System.Linq.Enumerable.SequenceEqual[TSource](IEnumerable`1 first, IEnumerable`1 second, IEqualityComparer`1 comparer)
       at Mono.Cecil.AssemblyResolver.AssemblyPathResolver.CheckFileExistence(AssemblyName assemblyName, String searchPattern) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.AssemblyResolver\AssemblyPathResolver.cs:line 215
       at Mono.Cecil.AssemblyResolver.AssemblyPathResolver.ResolveCompact(AssemblyName assemblyName) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.AssemblyResolver\AssemblyPathResolver.cs:line 162
       at Mono.Cecil.AssemblyResolver.AssemblyPathResolver.GetAssemblyLocation(AssemblyName assemblyName, TargetPlatform runtime) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.AssemblyResolver\AssemblyPathResolver.cs:line 106
       at Mono.Cecil.AssemblyResolver.AssemblyPathResolver.<FindAssemblyPath>b__8(Func`1 f) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.AssemblyResolver\AssemblyPathResolver.cs:line 86
       at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at Infrastructure.Structure.NavigationPath.CreateInstance(TypeReference typeReference, String memberName, String returnType, String paramValue) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\Infrastructure\Structure\NavigationPath.cs:line 52
       at JustDecompile.CodeViewer.FlowDocumentFormatter.WriteReference(String value, Object reference) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Formatters\FlowDocumentFormatter.cs:line 68
       at Telerik.JustDecompiler.Languages.AttributeWriter.WriteSecurityAttributes(IMemberDefinition member)
       at Telerik.JustDecompiler.Languages.AttributeWriter.WriteMemberAttributesAndNewLine(IMemberDefinition member)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(IMemberDefinition member)
       at JustDecompile.CodeViewer.CodeWriter.Write() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:line 34
       at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 107

    I'm running v 2011.1.603.5. 
  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 16 Jun 2011 Link to this post

    Hello Andy,

     First of all, sorry about the late reply.

    We are aware of this problem. It seems there is something weird in the strong name of some assembly that the assembly you're trying to decompile references. We are currently investigating this and the chances are we'll fix it soon. We are planning a release tomorrow. If that fix does not make it in there it will be included in our release at the end of the next week. So, please, stay tuned and try it out.

    Best wishes,
    Tsviatko Yovtchev
    the Telerik team

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

  3. DevCraft banner
Back to Top