Error in Decompile

4 posts, 0 answers
  1. Russ
    Russ avatar
    48 posts
    Member since:
    Sep 2006

    Posted 02 Nov 2011 Link to this post

    I'm receiving the following error in JustDecompile.  Code snippet that it fails on follows:

    Current member / type: System.Void LRS.WebCommon.EmployeeInfo::Fill(System.String)File path: C:\Temp\4.0\LRS.WebCommon.dllcall at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(Instruction instruction) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(CatchHandlerData catch_data) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(ExceptionHandlerData data, TryStatement try) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(ExceptionHandlerData data) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.(InstructionBlock block, InstructionBlock previous) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.€(InstructionBlock block) at Telerik.JustDecompiler.Decompiler.StatementDecompiler.() at Telerik.JustDecompiler.Decompiler.StatementDecompiler.Process(DecompilationContext context, BlockStatement body) at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language) at Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, ILanguage language, MethodBody body) at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method) at Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers) at JustDecompile.CodeViewer.CodeWriter.Write() in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:line 34 at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\Builds\126\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 134

    Private Overloads Sub Fill(ByVal loginName As String)
        Dim empCookie As HttpCookie
        Dim makeCookie As Boolean = True
        ''See if it's in the Request Object that was sent up to the server
        If Not HttpContext.Current.Request.Cookies("EmpInfo") Is Nothing _
          AndAlso HttpContext.Current.Request.Cookies("EmpInfo").Values.Count > 13 Then
          makeCookie = False
        End If
        ''cookie was found and the userName Item matches the loginName passed in
        With HttpContext.Current.Request
          Select Case True
            ''Cookie wasn't found or UserName cookie doesn't equal the one passed in
            Case makeCookie
              If loginName <> "" Then
                empCookie = CreateEmpCookie(loginName)
                Throw New Exception("Error creating login cookie." & Chr(13) & Chr(10) & _
                  "Your login name is " & loginName & ".  Your extracted Network ID is " & _
                  Me.GetUserName() & "." & Chr(13) & Chr(10) & _
                  "Please call 217-793-3800 x1444")
              End If
              ''Reuse the one in the cookie
            Case Else
              empCookie = HttpContext.Current.Request.Cookies("EmpInfo")
          End Select
        End With
        End Try
      End Sub

  2. Yordan Dikov
    Yordan Dikov avatar
    69 posts

    Posted 09 Nov 2011 Link to this post

    Hi Russ,

    Please excuse me for the delayed response. Thank you for sending this report to us. Thanks to the code snippet you sent us we were able to pinpoint the cause of the problem. I've added some Telerik points to your account as well. We're currently working on the issue, so expect improvements in the upcoming updates.

    All the best,
    Yordan Dikov
    the Telerik team

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

  3. DevCraft banner
  4. Russ
    Russ avatar
    48 posts
    Member since:
    Sep 2006

    Posted 26 Jan 2012 Link to this post

    I just installed version 2012.1.106.0 and this is not fixed.  Any idea as to when it might be?
  5. Tsviatko Yovtchev
    Tsviatko Yovtchev avatar
    391 posts

    Posted 06 Feb 2012 Link to this post

    Hello Russ,

    I beg your pardon for the delay.  

     We did a major overhaul of our decompilation engine that should fix that and many other issues. We just released a public version with the new engine. So, please, update and let us know how it works for you.

    Tsviatko Yovtchev
    the Telerik team

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

Back to Top