JustDecompiler bug

6 posts, 0 answers
  1. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 21 Jul 2011 Link to this post

    This error occurred when compiling a small executable program.
    Error creating the file   .csproj
    ---------------------------- Contents of the file .csproj
    No se puede encontrar una parte de la ruta de acceso 'C:\Program Files (x86)\Reference Assemblies\'.
       en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       en System.IO.FileSystemEnumerableIterator`1.CommonInit()
       en System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       en System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
       en ™.˜.Ÿ(AssemblyNameReference reference) en c:\B\Behemoth\JustDecompile Production Build\Sources\Tools\MSBuildProjectCreator\MSBuildReferenceFilePathResolver.cs:línea 18
       en JustDecompile.Tools.MSBuildProjectBuilder.MSBuildProjectBuilder.›() en c:\B\Behemoth\JustDecompile Production Build\Sources\Tools\MSBuildProjectCreator\MSBuildProjectBuilder.cs:línea 179
       en JustDecompile.Tools.MSBuildProjectBuilder.MSBuildProjectBuilder.š(ProjectItemGroup projectItems) en c:\B\Behemoth\JustDecompi
    ---------------------------   
    My system puts the assembly references in the directory
    'C: \ Program Files \ Reference Assemblies \'
    but not
    'C: \ Program Files (x86) \ Reference Assemblies \'
    then JustDecompiler failed to create the project file .csproj, because it can not find the Path.

    Congratulations, this is significant progress.
    ipadilla
      
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 22 Jul 2011 Link to this post

    Hello Isidro Padilla,

    We have made some fixes and improvements concerning file project creation. So probably the exception won't appear any more. Update will be ready next weak. Let us know if you face any other issues.

    Greetings,
    Kaloyan
    the Telerik team

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

  3. DevCraft banner
  4. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 22 Jul 2011 Link to this post

    Here you are a new bug.

    Decompilation problems:

    Source:
    -------------------------------------------------
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;

    namespace Balageru
    {
        public partial class frmPayroll : Form
        {
            public frmPayroll()
            {
                InitializeComponent();
            }
            Database db = new Database();
            DataSet ds = new DataSet();
            string activenod;
            string nodetext;
            string treelevel;
            int Listindex;

            private void checkPenorPro()
            {
                ds = db.getData("sel_PenorProInfo");

                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    float pen = float.Parse(ds.Tables[0].Rows[i][0].ToString());
                    txtPen.Text = pen.ToString("N2");
                    float pen2 = float.Parse(ds.Tables[0].Rows[i][1].ToString());
                    txtPen2.Text = pen2.ToString("N2");
                }
            }

            private void PopulateTree(TreeNodeCollection nodes, string NodeName)
            {
                nodes.Clear();
                TreeNode tn = new TreeNode();

                tn.Text = NodeName;

                int i = 0;

                foreach (DataRow dr in db.getData("sel_PayrollYear").Tables[0].Rows)
                {
                    tn.Nodes.Add(dr[0].ToString(), dr[0].ToString(), 0);

                    Database db1 = new Database();

                    foreach (DataRow dr1 in db1.getData("sel_Payroll", "@Year", dr[0].ToString()).Tables[0].Rows)
                    {
                        tn.Nodes[i].Nodes.Add(dr1[1].ToString(), dr1[2].ToString(), 0);              
                    }
                    i++;
                }
                nodes.Add(tn);
            }


            private void frmPayroll_Load(object sender, EventArgs e)
            {
                PopulateTree(treeDate.Nodes, "Payroll...");
                treeDate.Font = new Font("Calibri", 11);

                txtDate.selectedGregValue = DateTime.Now.ToString();
                txtDate.DateText = "";
                checkPenorPro();
            }

            private void button1_Click(object sender, EventArgs e)
            {
                int ID = db.insertPayroll(txtDate.selectedGregValue.ToString(), txtDate.selectedEthValue.ToString());
                db.getData("AppenEmployee");
                db.updatePayrollDetail(ID, float.Parse(txtPen.Text), float.Parse(txtPen2.Text));
                MessageBox.Show("Payroll Preparation Complete.", "Yaybe® - Balageru Accounting", MessageBoxButtons.OK, MessageBoxIcon.Information);

                PopulateTree(treeDate.Nodes, "Payroll...");
                treeDate.Font = new Font("Calibri", 11);
            }

            private void payrolTotal()
            {
                ds = db.getData("Payrol_Totals", "@PID", activenod);

                for(int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    float VTotalSalary = float.Parse(ds.Tables[0].Rows[i][1].ToString());
                    float VTotalAllowance = float.Parse(ds.Tables[0].Rows[i][2].ToString());
                    float VTotalOt = float.Parse(ds.Tables[0].Rows[i][3].ToString());
                    float VTotalOtherAdd = float.Parse(ds.Tables[0].Rows[i][4].ToString());
                    float VTotalTax = float.Parse(ds.Tables[0].Rows[i][5].ToString());
                    float VTotalPF = float.Parse(ds.Tables[0].Rows[i][6].ToString());
                    float VTotalAdvance = float.Parse(ds.Tables[0].Rows[i][7].ToString());
                    float VTotalCont = float.Parse(ds.Tables[0].Rows[i][8].ToString());
                    float VTotalDed = float.Parse(ds.Tables[0].Rows[i][9].ToString());
                    float VTotalNet = float.Parse(ds.Tables[0].Rows[i][10].ToString());
                    float VTotalPFOrg = float.Parse(ds.Tables[0].Rows[i][11].ToString());

                    TotalSalary.Text = VTotalSalary.ToString("N2");
                    TotalAllowance.Text = VTotalAllowance.ToString("N2");
                    TotalOt.Text = VTotalOt.ToString("N2");
                    TotalOtherAdd.Text = VTotalOtherAdd.ToString("N2");
                    TotalTax.Text = VTotalTax.ToString("N2");
                    TotalPF.Text = VTotalPF.ToString("N2");
                    TotalAdvance.Text = VTotalAdvance.ToString("N2");
                    TotalCont.Text = VTotalCont.ToString("N2");
                    TotalDed.Text = VTotalDed.ToString("N2");
                    TotalNet.Text = VTotalNet.ToString("N2");
                    TotalPFOrg.Text = VTotalPFOrg.ToString("N2");
                }
                
            }

            private void treeDate_AfterSelect(object sender, TreeViewEventArgs e)
            {
                treelevel = e.Node.Level.ToString();
                activenod = e.Node.Name;
                nodetext = e.Node.Text;
                groupBox6.Text = nodetext;
                payrolTotal();
            }

            private void treeDate_DoubleClick(object sender, EventArgs e)
            {

                switch (int.Parse(treelevel))
                {
                    case 2:

                        ds = db.getData("sel_MonthPayroll", "@ID", activenod);

                        EmpList.Items.Clear();
                        if (ds.Tables[0].Rows.Count > 0)
                        {
                            for (int j = 0; j < ds.Tables[0].Rows.Count; j++)
                            {
                                string[] Items = { ds.Tables[0].Rows[j][0].ToString(), ds.Tables[0].Rows[j][1].ToString(), ds.Tables[0].Rows[j][2].ToString() };
                                ListViewItem ListItems = new ListViewItem(Items);
                                EmpList.Items.Add(ListItems);
                            }
                        }
                        break;
                    default:
                        break;
                }
            }

            private void loadpayroll()
            {
                if (Listindex < 0)
                {
                    groupBox3.Enabled = false;
                    groupBox3.Text = "";
                }
                else
                {
                    groupBox3.Enabled = true;

                    for (int i = 0; i < EmpList.SelectedItems.Count; i++)
                    {
                        Listindex = int.Parse(EmpList.SelectedItems[i].SubItems[0].Text);
                        ds = db.getData("sel_PayrollbyID", "@ID", Listindex);

                        groupBox3.Text = EmpList.SelectedItems[i].SubItems[1].Text + " " + EmpList.SelectedItems[i].SubItems[2].Text;
                        for (int j = 0; j < ds.Tables[0].Rows.Count; j++)
                        {
                            int WD = int.Parse(ds.Tables[0].Rows[j][1].ToString());
                            float Sal = float.Parse(ds.Tables[0].Rows[j][2].ToString());
                            float Allo = float.Parse(ds.Tables[0].Rows[j][3].ToString());
                            float AlloTax = float.Parse(ds.Tables[0].Rows[j][4].ToString());
                            float OT = float.Parse(ds.Tables[0].Rows[j][5].ToString());
                            float TotPF = float.Parse(ds.Tables[0].Rows[j][17].ToString());
                            float OtherAdd = float.Parse(ds.Tables[0].Rows[j][7].ToString());
                            float TotAdd = float.Parse(ds.Tables[0].Rows[j][8].ToString());
                            float TaxTot = float.Parse(ds.Tables[0].Rows[j][9].ToString());

                            float Tax = float.Parse(ds.Tables[0].Rows[j][10].ToString());
                            float PF2 = float.Parse(ds.Tables[0].Rows[j][11].ToString());
                            float Adv = float.Parse(ds.Tables[0].Rows[j][12].ToString());
                            float Cont = float.Parse(ds.Tables[0].Rows[j][13].ToString());
                            float OtherDed = float.Parse(ds.Tables[0].Rows[j][14].ToString());
                            float TotalDed = float.Parse(ds.Tables[0].Rows[j][15].ToString());
                            float Net = float.Parse(ds.Tables[0].Rows[j][16].ToString());

                            txtWorkDays.Text = WD.ToString();
                            txtSal.Text = Sal.ToString("N2");
                            txtAll.Text = Allo.ToString("N2");
                            txtAllTax.Text = AlloTax.ToString("N2");
                            txtOT.Text = OT.ToString("N2");
                            txtPF.Text = TotPF.ToString("N2");
                            txtOtherAdd.Text = OtherAdd.ToString("N2");
                            txtTotAdd.Text = TotAdd.ToString("N2");
                            txtTaxTotal.Text = TaxTot.ToString("N2");

                            txtTax.Text = Tax.ToString("N2");
                            txtPF2.Text = PF2.ToString("N2");
                            txtAdv.Text = Adv.ToString("N2");
                            txtCont.Text = Cont.ToString("N2");
                            txtOthDed.Text = OtherDed.ToString("N2");
                            txtTotalDed.Text = TotalDed.ToString("N2");
                            txtNet.Text = Net.ToString("N2");
                        }
                    }
                }
            }

            private void EmpList_SelectedIndexChanged(object sender, EventArgs e)
            {
                loadpayroll();
            }

            private void updatePayroll()
            {
                try
                {
                    db.updateEmpPayrollDetail(Listindex, int.Parse(txtWorkDays.Text), float.Parse(txtSal.Text), float.Parse(txtAll.Text), float.Parse(txtOT.Text), float.Parse(txtOtherAdd.Text), float.Parse(txtPF2.Text), float.Parse(txtAdv.Text), float.Parse(txtCont.Text), float.Parse(txtOthDed.Text), float.Parse(txtPF.Text));
                    loadpayroll();
                    payrolTotal();
                }
                catch (Exception err)
                {

                    MessageBox.Show("Update Failed." + err.Message, "Yaybe® - Balageru Accounting", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            }

            private void txtOtherAdd_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void txtWorkDays_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void txtOT_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void txtAdv_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void txtCont_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void txtOthDed_Leave(object sender, EventArgs e)
            {
                updatePayroll();
            }

            private void ፔሮልአሳይToolStripMenuItem_Click(object sender, EventArgs e)
            {            
                //ds = db.getData("report_Payroll", "@PID", activenod);
                //if (ds.Tables[0].Rows.Count > 0)
                //{                
                //    tabPage2.Selected = true;
                //    Payroll Pay = new Payroll();
                //    Pay.SetDataSource(ds);
                //    reportViewr.ReportSource = Pay;

                //    //Transfers starting and ending date parameters into the report
                //    //if (rdbQuarter.Checked == true)
                //    //{
                //    //    dateRange1.Value = "Quarter: " + txtQuarter.Text + "  (" + startd + " - " + endd + ")";
                //    //}
                //    //else
                //    //{
                //    //    dateRange1.Value = "Date Range: " + startd + " - " + endd;
                //    //}
                //    //dateRange.Add(dateRange1);
                //    //opd.DataDefinition.ParameterFields["@Range"].ApplyCurrentValues(dateRange);

                //    reportViewr.Show();
                //}
                //else
                //{
                //    MessageBox.Show(activenod.ToString());
                //}
            }

            private void የተመረጠውንደሞዝመክፈያአጥፋToolStripMenuItem_Click(object sender, EventArgs e)
            {
                
            }
        }
    }
    ---------------------------------------------

    Contents of the decompilation:

    Se produjo una excepción de tipo '
    System.OutOfMemoryException'.
       en Mono.Cecil.PE.ImageReader.ReadSectionData(Section section) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 295
       en Mono.Cecil.PE.ImageReader.ReadSections(UInt16 count) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 282
       en Mono.Cecil.PE.ImageReader.ReadImage() en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 104
       en Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 671
       en Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:línea 884
       en Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:línea 866
       en Mono.Cecil.BaseAssemblyResolver.GetAssembly(String file, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 133
       en Mono.Cecil.BaseAssemblyResolver.SearchDirectory(AssemblyNameReference name, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 253
       en Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 196
       en Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, String path) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 146
       en Mono.Cecil.MetadataResolver.Resolve(IAssemblyResolver resolver, TypeReference type) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MetadataResolver.cs:línea 70
       en Mono.Cecil.MetadataResolver.Resolve(IAssemblyResolver resolver, MethodReference method) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MetadataResolver.cs:línea 150
       en Mono.Cecil.MethodReference.Resolve() en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MethodReference.cs:línea 204
       en Telerik.JustDecompiler.Steps.PropertyStep.VisitMethodInvocationExpression(MethodInvocationExpression node)
       en Telerik.JustDecompiler.Steps.CombinedTransformerStep.VisitMethodInvocationExpression(MethodInvocationExpression node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.(ICodeNode node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitExpressionStatement(ExpressionStatement node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.(ICodeNode node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(StatementCollection node)
       en Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitBlockStatement(BlockStatement node)
       en Telerik.JustDecompiler.Steps.CombinedTransformerStep.Process(DecompilationContext context, BlockStatement body)
       en Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language)
       en Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, ILanguage language, MethodBody body)
       en Telerik.JustDecompiler.Decompiler.Extensions.Decompile(MethodBody body, ILanguage language)
       en Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.•ƒ(IMemberDefinition member, Boolean isFirstMember)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.—ƒ(IMemberDefinition x, Boolean y)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.WriteType(TypeDefinition type, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.NamespaceImperativeLanguageWriter.WriteTypeAndNamespaces(TypeDefinition type, Boolean showCompilerGeneratedMembers)
       en JustDecompile.Tools.MSBuildProjectBuilder.MSBuildProjectBuilder.BuildProject(CancellationToken cancellationToken) en c:\B\Behemoth\JustDecompile Production Build\Sources\Tools\MSBuildProjectCreator\MSBuildProjectBuilder.cs:línea 86

    Have a good day
  5. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 22 Jul 2011 Link to this post

    Here you are another similar bug.

    Decompilation problems:

    Public Class FrmPrincipal

        ''' <summary>
        ''' Objeto con clases para la Base de Datos.
        ''' </summary>
        Private bd As New BaseDeDatos()

        ''' <summary>
        ''' Contador para tiempo de comprobación de archivos
        ''' </summary>
        Private Count As Integer = 0

        ''' <summary>
        ''' Maneja el comienzo de la aplicación.
        ''' </summary>
        ''' <param name="sender">The source of the event.</param>
        ''' <param name="e">The <see cref="System.EventArgs" /> instance containing the event data.</param>
        Private Sub FrmPrincipal_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            'Comienzo del formulario
            Me.Text = Application.ProductName & " " & Application.ProductVersion
            Me.WindowState = FormWindowState.Maximized

            If bd.Conectar Then
                If FrmLogin.ShowDialog() = DialogResult.OK Then

                End If
            Else
                End
            End If

        End Sub


        ''' <summary>
        ''' Cuando marca el tick del timer
        ''' Cambia la hora y fecha de la aplicacion.
        ''' </summary>
        ''' <param name="sender">The source of the event.</param>
        ''' <param name="e">The <see cref="System.EventArgs" /> instance containing the event data.</param>
        Private Sub Timer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer.Tick
            'Modifico hora y fecha
            StatusBar_Fecha.Text = Date.Now.ToShortDateString
            StatusBar_Hora.Text = Date.Now.ToShortTimeString

            ' Sumo hasta llegar a 5 minutos
            If Not Count = 300 Then
                Count += Count
            Else
                'Comprobar estado.
                'TODO: Comprobar estado BD.

                ' Volver a cero para comprobar nuevamente
                Count = 0
            End If

        End Sub

        Private Sub Tareas_Ventas_Click(sender As System.Object, e As System.EventArgs) Handles Tareas_Ventas.Click
            For Each f As Form In Me.MdiChildren
                If f.Name = "FrmVentas" Then
                    f.Activate()
                    Exit Sub
                End If
            Next
            Dim frm As New FrmVentas
            frm.MdiParent = Me
            frm.Show()
        End Sub

        Private Sub Tareas_Productos_Click(sender As System.Object, e As System.EventArgs) Handles Tareas_Productos.Click
            'For Each f As Form In Me.MdiChildren
            '    If f.Name = "FrmProductos" Then
            '        f.Activate()
            '        Exit Sub
            '    End If
            'Next
            'Dim frm As New FrmProductos
            'frm.MdiParent = Me
            'frm.Show()
        End Sub

        Private Sub Tareas_Administrativo_Click(sender As System.Object, e As System.EventArgs) Handles Tareas_Administrativo.Click
            For Each f As Form In Me.MdiChildren
                If f.Name = "FrmValores" Then
                    f.Activate()
                    Exit Sub
                End If
            Next
            Dim frm As New FrmValores
            frm.MdiParent = Me
            frm.Show()
        End Sub

        Private Sub ProveedoresToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProveedoresToolStripMenuItem.Click
            For Each f As Form In Me.MdiChildren
                If f.Name = "FrmProovedor" Then
                    f.Activate()
                    Exit Sub
                End If
            Next
            Dim frm As New FrmProovedor
            frm.MdiParent = Me
            frm.Show()
        End Sub

        Private Sub GenerarOrdenDeCompraToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerarOrdenDeCompraToolStripMenuItem.Click
            Dim Frm As New FrmGenerarOrdenCompra
            Frm.ShowDialog()
        End Sub

        Private Sub OrdenesRealizadasToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OrdenesRealizadasToolStripMenuItem.Click
            Dim frm As New FrmCompras
            frm.ShowDialog()
        End Sub

        Private Sub RecepcionDeCompraToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RecepcionDeCompraToolStripMenuItem.Click
            Dim frm As New FrmConfirmarCompra
            frm.ShowDialog()
        End Sub
    End Class


    Contents of the decompilation:

    Se produjo una excepción de tipo 'System.OutOfMemoryException'.
       en Mono.Cecil.PE.ImageReader.ReadSectionData(Section section) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 295
       en Mono.Cecil.PE.ImageReader.ReadSections(UInt16 count) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 282
       en Mono.Cecil.PE.ImageReader.ReadImage() en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 104
       en Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:línea 671
       en Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:línea 884
       en Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:línea 866
       en Mono.Cecil.BaseAssemblyResolver.GetAssembly(String file, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 133
       en Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 191
       en Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, String path) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\BaseAssemblyResolver.cs:línea 146
       en Mono.Cecil.MetadataResolver.Resolve(IAssemblyResolver resolver, TypeReference type) en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\MetadataResolver.cs:línea 70
       en Mono.Cecil.TypeReference.Resolve() en c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\TypeReference.cs:línea 297
       en Telerik.JustDecompiler.Languages.AttributeWriter.ƒ(CustomAttributeArgument argument)
       en Telerik.JustDecompiler.Languages.AttributeWriter.€(CustomAttribute attribute)
       en Telerik.JustDecompiler.Languages.AttributeWriter.WriteMemberAttributesAndNewLine(IMemberDefinition member)
       en Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.WriteAttributes(IMemberDefinition member)
       en Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.WriteAttributesWithLock(IMemberDefinition member)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(IMemberDefinition member)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.•ƒ(IMemberDefinition member, Boolean isFirstMember)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.—ƒ(IMemberDefinition x, Boolean y)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.BaseLanguageWriter.WriteType(TypeDefinition type, Boolean showCompilerGeneratedMembers)
       en Telerik.JustDecompiler.Languages.NamespaceImperativeLanguageWriter.WriteTypeAndNamespaces(TypeDefinition type, Boolean showCompilerGeneratedMembers)
       en JustDecompile.Tools.MSBuildProjectBuilder.MSBuildProjectBuilder.BuildProject(CancellationToken cancellationToken) en c:\B\Behemoth\JustDecompile Production Build\Sources\Tools\MSBuildProjectCreator\MSBuildProjectBuilder.cs:línea 86

    Have a good day
  6. Yordan Dikov
    Admin
    Yordan Dikov avatar
    69 posts

    Posted 01 Aug 2011 Link to this post

    Hello Isidro Padilla,

    Thank you for the cooperation but unfortunately I can't reproduce the bug over here. Can you please send me the assembly at yordan dot dikov at telerik dot com or give me more detailed explanation on how to reproduce this error? Unfortunately the code you have pasted has too much user defined methods and fields defined elsewhere.


    Greetings,
    Yordan Dikov
    the Telerik team

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

  7. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 01 Aug 2011 Link to this post

    As I have not found a better way to send you the assembly, I put it in the Submit General Feedback section. I hope you find it.
    ipadilla
Back to Top
DevCraft banner