Dup error

8 posts, 0 answers
  1. Russ
    Russ avatar
    49 posts
    Member since:
    Sep 2006

    Posted 31 May 2011 Link to this post

    Received the following stack trace when browsing an asembly:

    dup 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) at Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, MethodBody body) at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method) at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(IMemberDefinition member) at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 102

  2. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 07 Jun 2011 Link to this post

    Hi Russ,

    Thanks again for reporting the issue.

    However can please send us some more information on the particular assembly that caused the exception. This will help us pinpoint the issue correctly and thus resolve it.

    Finally, thanks in advance for any help regarding the above context.


    Kind regards,
    Ricky
    the Telerik team

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

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

    Posted 07 Jun 2011 Link to this post

    Ricky,

    I just downloaded the latest internal build for JustDecompile.  I am now getting this error.  What other information do you need from me?

    Current member / type: System.Void LRS.WebCommon.AppResourceCollection::FillResourceCollection(System.Int32,System.String)File path: C:\Temp\4.0\LRS.WebCommon.dlldup 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.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

  5. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 08 Jun 2011 Link to this post

    Hi Russ,

    Thanks again for your reply. If possible can you please send us the detail for the DLL that you are trying to decompile.

    System.Void LRS.WebCommon.AppResourceCollection::FillResourceCollection(System.Int32,System.String)File path: C:\Temp\4.0\LRS.WebCommon.dlldup

    Is this a custom build DLL or somewhere we can find to reproduce the exception on the development machine.


    Kind Regards,
    Ricky
    the Telerik team

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

  6. Russ
    Russ avatar
    49 posts
    Member since:
    Sep 2006

    Posted 08 Jun 2011 Link to this post

    This is a custom build DLL.  Below is the code snippet from that function:

    Private Sub FillResourceCollection(ByVal employeeID As Integer, ByVal resourceName As String)
      Try
        Dim securityWSE As New WSSecurity.SecurityV2
         Dim dsEmpAccess As DataSet = securityWSE.GetResourceAccess(employeeID, resourceName)
        If Not dsEmpAccess Is Nothing AndAlso _
          dsEmpAccess.Tables(0).Rows.Count > 0 Then  ''Dataset was returned and one row was returned
          For Each resourceRow As DataRow In dsEmpAccess.Tables(0).Rows
            Dim resource As New AppResource(resourceRow)
            Me.Add(resource)
          Next
        End If
        HttpContext.Current.Session.Item(resourceName) = Me.CopyObject
      Catch ex As System.Net.WebException
        Throw New Exception("The web service that gathers employee information is temporarily unavailable. " & _
          "The status returned from the web service is " & ex.Status.ToString & ".  The error has been logged and the system " & _
          "administrator has been notified.")
      Catch ex As Exception
        Throw ex
      End Try
    End Sub
  7. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 09 Jun 2011 Link to this post

    Hi Russ,

    Thanks again for your snippet. Using this i was able to reproduce the Dup exception. We have already started working on this and hopefully it will be fixed in one of the coming releases.

    Kind Regards,
    Ricky
    the Telerik team

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

  8. Russ
    Russ avatar
    49 posts
    Member since:
    Sep 2006

    Posted 09 Jun 2011 Link to this post

    Any points for this?
  9. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 09 Jun 2011 Link to this post

    Hello Russ,

    Thank you for your help. You're exactly right that you deserve points for it. I've added some to your account.

    Thanks again and hope you will continue helping us.

    Greetings,
    Vladi
    the Telerik team

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

Back to Top
DevCraft banner