JustCode cannot read assembly

2 posts, 0 answers
  1. Ivar
    Ivar avatar
    4 posts
    Member since:
    Jul 2011

    Posted 06 Feb 2014 Link to this post

    Hello,

    I'm getting exceptions in the justcode output because justcode cannot read the assembly. This results in justcode not knowing the classes etc. from the assembly and good-code red situations. The assembly is freely downloadable from here:

    NHibernate Profiler Production

    Choose the latest Uber Prof v2 build and extract the HibernatingRhinos.Profiler.Production.dll from the zip.

    When this file is added as a reference you will see the following exception in the justcode output:


    INFO 2014-02-06 14:26:55.059 : MetadataToCSConverter.EnsureDllCached() file could not be read previously:C:\ReflexNG\application-server\ApplicationServer.OR\bin\HibernatingRhinos.Profiler.Production.dll
    ERROR 2014-02-06 14:26:55.060 : Error reading archive C:\ReflexNG\application-server\ApplicationServer.OR\bin\HibernatingRhinos.Profiler.Production.dll [HResult: 80131620] 
    System.IO.IOException: Portable exectuable file could not be read previously
       at Telerik.JustCode.LanguageFrontend.Dotnet.Pereader.MetadataToCSConverter.#mBc(String #iBc) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\PortableExecutableReader\MetadataToCSConverter.cs:line 415
       at Telerik.JustCode.LanguageFrontend.Dotnet.Pereader.MetadataToCSConverter.GetSignatureFiles(String dllFilepath) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\PortableExecutableReader\MetadataToCSConverter.cs:line 112
       at #s8.#r8.GetArchiveEntries(String #Te) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\LanguageFrontend.Dotnet\MetadataArchiveReader.cs:line 27
       at Telerik.JustCode.LanguageFrontend.Dotnet.MetadataFileLanguage.GetArchiveEntries(String filepath) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\LanguageFrontend.Dotnet\MetadataFileLanguage.cs:line 128
       at Telerik.JustCode.CommonLanguageModel.Core.FileEntry.Load() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\FileEntry.cs:line 1560
    Log Site Stacktrace:
       at Telerik.JustCode.Common.Logging.ExceptionInfo..ctor(Exception exception, String message) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\Logging\ExceptionInfo.cs:line 16
       at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\Logging\LogService.cs:line 130
       at Telerik.JustCode.CommonLanguageModel.Core.FileEntry.Load() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\FileEntry.cs:line 1560
       at Telerik.JustCode.CommonLanguageModel.Core.FileSpace.#lbc(FileEntry #af, Int32 #5, Int32 #Rkb, SetOfFileEntry #6s) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\FileSpace.cs:line 1035
       at Telerik.JustCode.CommonLanguageModel.Core.FileSpace.#lbc() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\FileSpace.cs:line 1025
       at Telerik.JustCode.CommonLanguageModel.Core.ConfigStore.#M9b() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\ConfigStore.cs:line 65
       at Telerik.JustCode.CommonLanguageModel.Core.Model.Begin(Boolean updateFileSpace, Boolean updateTemporary, Boolean& entitiesChanged) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Core\Core\Model.cs:line 179
       at Telerik.JustCode.CommonLanguageModel.Engine.Tools.ToolModel.Begin(Boolean updateFileSpace, Boolean updateTemporary, Boolean& entitiesChanged) in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Engine\tools\ToolModel.cs:line 35
       at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#jkb() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:line 1220
       at Telerik.JustCode.CommonLanguageModel.Engine.CLMEngine.#2jb() in c:\_J\workspace\Installer-release\_CodeAnalysis\src\CommonLanguageModel.Engine\CLMEngine.cs:line 609
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()



    Let me know if you need more details.
  2. Ivar
    Ivar avatar
    4 posts
    Member since:
    Jul 2011

    Posted 06 Feb 2014 in reply to Ivar Link to this post

    After some more testing the dll in question seemed to be unreadable indeed. The issue is resolved, this topic can be closed.
  3. DevCraft banner
Back to Top