How can we help you today? How can we help you today?

Failing to open a NuGet assembly

Hi team,
I've tried several time to open a .dll produced by CrystalDecisions (aka Crystal Reports).
I've recently successfully sent an error report:


The Details of it are:
Translation failure in 'CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception) : Boolean' in 'CrystalDecisions.ReportAppServer.DataSetConversion, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'.
System.Reflection.TargetInvocationException


Caused by:

Operation is not valid due to the current state of the object.
System.InvalidOperationException
  at Reflector.CodeModel.Memory.ConditionCase.get_Condition()
  at Reflector.CodeModel.Memory.SwitchStatement.<GetExpressions>d__8.MoveNext()
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteConditionCase(IEnumerable`1 conditions, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteSwitchStatement(ISwitchStatement statement, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(StatementCollection statements, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteConditionStatement(IConditionStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(StatementCollection statements, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteConditionStatement(IConditionStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(StatementCollection statements, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteConditionStatement(IConditionStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(StatementCollection statements, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteConditionStatement(IConditionStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatementList(StatementCollection statements, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteBlockStatement(IBlockStatement statement, IFormatter formatter)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteStatement(IStatement value, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodBody(IBlockStatement statement, IMethodDeclaration methodDecl, Context context)
  at Reflector.Application.Languages.CSharpLanguage.LanguageWriter.WriteMethodDeclaration(IMethodDeclaration value)
  at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods)



For the moment there is only one method (CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException) in class that is partially decompiled.
Hereby, I'm attaching the .dll (as .txt; just rename it before opening) to test it locally.
Could you, please, check what is the reason for the faulty decompilation.

Thank you in advance!

Best regards,
Rosen Vlasev
rvlasev
0

Comments

1 comment

  • pshrosbree
    Has there been any progress on resolving this bug? I am using Version 11.1.0.2167 vspro in standalone mode.
    pshrosbree
    0

Add comment

Please sign in to leave a comment.