Ticket #1299 (closed not assessed: fixed)
Crash in Ecosim
Reported by: | justb | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | Ecopath 6: release 6.4 |
Component: | Ecosim | Version: | 6.4.0 BETA |
Severity: | major | Keywords: | |
Cc: |
Description (last modified by jeroens) (diff)
Yesterday, using Ecosim on Windows 7, I've got the next error report and the software crashed (Ecopath release 6.4.9793.0). I hope the comment will be useful.
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración Just-In-Time (JIT) en lugar de a este cuadro de diálogo. ************** Texto de la excepción ************** System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ScientificInterfaceShared.Controls.cZedGraphHelper.DoRescaleAndRedraw() en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) en System.Windows.Forms.Control.InvokeMarshaledCallbacks() ************** Ensamblados cargados ************** mscorlib Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18052 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- EwE6 Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/EwE6.exe ---------------------------------------- Microsoft.VisualBasic Versión del ensamblado: 10.0.0.0 Versión Win32: 11.0.50709.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18044 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18047 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18021 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ScientificInterfaceShared Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/ScientificInterfaceShared.DLL ---------------------------------------- EwECore Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/EwECore.DLL ---------------------------------------- EwEUtils Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/EwEUtils.DLL ---------------------------------------- EwEPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/EwEPlugin.DLL ---------------------------------------- WeifenLuo.WinFormsUI.Docking Versión del ensamblado: 2.3.4392.30540 Versión Win32: 2.3.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/WeifenLuo.WinFormsUI.Docking.DLL ---------------------------------------- SourceGrid2 Versión del ensamblado: 2.0.3.1 Versión Win32: 2.0.3.1 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/SourceGrid2.DLL ---------------------------------------- System.Xml Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18060 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18060 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Windows.Forms.resources Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- Microsoft.GeneratedCode Versión del ensamblado: 1.0.0.0 Versión Win32: 4.0.30319.18060 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- mscorlib.resources Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- System.Data Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18047 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Web.Services Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll ---------------------------------------- Interop.JRO Versión del ensamblado: 2.6.0.0 Versión Win32: 2.6.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/Interop.JRO.DLL ---------------------------------------- Microsoft.GLEE Versión del ensamblado: 1.2.0.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/Microsoft.GLEE.DLL ---------------------------------------- Microsoft.Office.Interop.Excel Versión del ensamblado: 11.0.0.0 Versión Win32: 11.0.5530 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/Microsoft.Office.Interop.Excel.DLL ---------------------------------------- SourceLibrary Versión del ensamblado: 1.2.0.0 Versión Win32: 1.2.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/SourceLibrary.DLL ---------------------------------------- ZedGraph Versión del ensamblado: 5.1.4.30496 Versión Win32: 5.1.4.30496 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/ZedGraph.DLL ---------------------------------------- System.Runtime.Serialization Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18055 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.ServiceModel Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18055 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll ---------------------------------------- EwEEcoTroph Versión del ensamblado: 6.4.9793.0 Versión Win32: 1.5.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEEcotroph.dll ---------------------------------------- EwEFlowDiagramPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEFlowDiagramPlugin.dll ---------------------------------------- EwEModelFromEcosim Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEModelFromEcosim.dll ---------------------------------------- EwEMultiSimPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEMultiSimPlugin.dll ---------------------------------------- EwENetworkAnalysis Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwENetworkAnalysis.dll ---------------------------------------- EwERemarksPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwERemarksPlugin.dll ---------------------------------------- EwEResultsExtractorPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEResultsExtractorPlugin.dll ---------------------------------------- EwEShapeGridPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEShapeGridPlugin.dll ---------------------------------------- EwEValueChainPlugin Versión del ensamblado: 6.4.9793.0 Versión Win32: 6.3.1125 Código base: file:///C:/Program%20Files%20(x86)/Ecopath%20with%20Ecosim%206.4%20Beta/plugins/EwEValueChainPlugin.dll ---------------------------------------- Microsoft.GeneratedCode Versión del ensamblado: 1.0.0.0 Versión Win32: 4.0.30319.18060 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Web Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.18055 built by: FX45RTMGDR Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- System.Deployment Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- System.Deployment.resources Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_es_b03f5f7f11d50a3a/System.Deployment.resources.dll ---------------------------------------- System.Transactions Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Numerics Versión del ensamblado: 4.0.0.0 Versión Win32: 4.0.30319.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- Microsoft.VisualBasic.resources Versión del ensamblado: 10.0.0.0 Versión Win32: 11.0.50709.17929 built by: FX45RTMREL Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.0_10.0.0.0_es_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll ---------------------------------------- ************** Depuración JIT ************** Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta aplicación o equipo (machine.config) debe tener el valor jitDebugging establecido en la sección system.windows.forms. La aplicación también se debe compilar con la depuración habilitada Por ejemplo: <configuration> <system.windows.forms jitDebugging="true" /> </configuration>
Change History
Note: See
TracTickets for help on using
tickets.
This can occur when closing Ecosim while it's running. I've made the code a bit more robust to make sure that lingering graph updates are not processed while the Ecosim form has already evaporated.