Possible bug?

Hi
Got this stack trace when browsing the definition of an assembly:

Translation failure in '*****************() : Boolean' in '**************, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null'.
System.Reflection.TargetInvocationException


Caused by:

Operation is not valid due to the current state of the object.
System.InvalidOperationException
  at Reflector.Disassembler.TranslatorBase.TranslationResultsCreator.AddToGroups(TranslationResult tr, IBlockStatement block, String nextLabel)
  at Reflector.Disassembler.TranslatorBase.TryResult.Complete()
  at Reflector.Disassembler.TranslatorBase.TryResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.Rebuild()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.Rebuild()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.CodeResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.Rebuild()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.Rebuild()
  at Reflector.Disassembler.TranslatorBase.ConditionalResult.SelfOptimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResult.Optimize()
  at Reflector.Disassembler.TranslatorBase.TranslationResultsCreator.Optimize()
  at Reflector.Disassembler.NewTranslator.TranslateMethodDeclaration(IMethodDeclaration mD, IMethodBody mB)
  at Reflector.Disassembler.Disassembler.TransformMethodDeclaration(IMethodDeclaration value)
  at Reflector.Application.Translator.TranslateMethodDeclaration(IMethodDeclaration value)
  at Reflector.Application.UserInterface.DisassemblerWindow.Render(Boolean expandTypes, Boolean expandMethods)

Redacted assembly and method name, please contact me if you need any more info.

TVM
Tagged:

Answers

  • Thanks for your post and so sorry you're running into an error!

    When the error comes up, does it give you the option to send in an error report? Can you please send one in if so? (Apologies if you've already done this! I didn't spot one with the same stack but there may just be a delay.)

    Can I also please check if you'd be able to share the offending dll with us directly? We can open a ticket for you and a link to upload to if so.

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • jomoctijomocti Posts: 2 New member
    Hi
    Thanks for the swift response. I did click 'Send to Red Gate' but it may well get blocked by our firewall. I can send you the dll, have checked and there's no sensitive info in it. Pl confirm that it will be kept non-public though.
  • Thanks @jomocti! I can confirm that it will be kept non-public.

    We've opened a ticket for you, #145431, and I'll reach out there with a link you can upload to.

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Hi @jomocti,

    Thank you for your patience. :)

    I'm happy to report that this issue is resolved in today's release of .NET Reflector, v10.1.7, which you can get from Help>Check for updates.

    Please give this a try and let me know if any issues persist!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.