Ticket #167 (closed: fixed)

Opened 17 years ago

Last modified 17 years ago

Several bugs with Mediation form

Reported by: robynf Owned by: administrator
Priority: normal Milestone: Ecopath 6: build 6.0.7
Component: Ecosim Version:
Severity: minor Keywords:
Cc:

Description

  1. Clicking the Add... or Duplicate buttons in Mediation opens a prompt to save the model. Attempt to save the model results in Unhandled exception error : EwECore.cMediationFunctionNew() Error:Index outside the bounds of the array
  1. Clicking Values... in Mediation also causes crash: Value of '1200' is not valid for 'Value'. 'Value' should be between 'Minimum and 'Maximum'. Parameter name: Value (see details below)
  1. It doesn't make sense to have a seasonal vs long-term forcing option on the Mediation tab because the x-axis is BIOMASS not TIME. It should be removed.
  1. Fang noted that the Load button should be removed as it is inactive.
  1. As discussed with Fang, the scale of the sketch pad isn't working properly when you assign a shape using the options menu.
  1. Related to point 5: clicking Reset returns the constant value of the shape to a different constant value to what it was originally (twice as big).
  1. Save function. The bitmap that is produced only shows the part of the graph that is under the line. It doesn't show any axes and the white part of the graph comes out black.
  1. IMPORTANT: the x-axis of the relative weight (yellow) graph) is wrong. Relative weight should be the title of the Y-AXIS of that graph. The X-AXIS is Ecopath group number. Therefore, the default axis for a blank graph should be numbered 1 to however many groups there are. There should only be integers on the axis.

Values error details:
This happened in the Tampa Bay and Georgia Strait models

DETAILS
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.ArgumentOutOfRangeException?: Value of '1200' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value

at System.Windows.Forms.NumericUpDown?.set_Value(Decimal value)
at ScientificInterface?.Ecosim.frmShapeValue.set_NumPoints(Int32 iNumpoints)
at ScientificInterface?.Ecosim.frmShapeValue.ShapeValue_Load(Object sender, EventArgs? e)
at System.Windows.Forms.Form.OnLoad?(EventArgs? e)
at System.Windows.Forms.Form.OnCreateControl?()
at System.Windows.Forms.Control.CreateControl?(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl?()
at System.Windows.Forms.Control.WmShowWindow?(Message& m)
at System.Windows.Forms.Control.WndProc?(Message& m)
at System.Windows.Forms.ScrollableControl?.WndProc?(Message& m)
at System.Windows.Forms.ContainerControl?.WndProc?(Message& m)
at System.Windows.Forms.Form.WmShowWindow?(Message& m)
at System.Windows.Forms.Form.WndProc?(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow?.OnMessage?(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow?.WndProc?(Message& m)
at System.Windows.Forms.NativeWindow?.Callback(IntPtr? hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)

Loaded Assemblies
mscorlib

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


EwE6

Assembly Version: 6.0.0.17
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwE6.exe


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


WeifenLuo?.WinFormsUI.Docking

Assembly Version: 2.1.2734.23473
Win32 Version: 2.1.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/WeifenLuo.WinFormsUI.Docking.DLL


EwEPlugin

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwEPlugin.DLL


EwEUtils

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwEUtils.DLL


System.Configuration

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


System.Xml

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


EwECore

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwECore.DLL


SAUPUtil

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/SAUPUtil.DLL


Microsoft.VisualBasic?

Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll


System.Data

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


EwECustomPlugins

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwECustomPlugins.DLL


EwENetworkAnalysis

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/EwENetworkAnalysis.DLL


SourceGrid2

Assembly Version: 2.0.3.1
Win32 Version: 2.0.3.1
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/SourceGrid2.DLL


SourceLibrary?

Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/SourceLibrary.DLL


ZedGraph?

Assembly Version: 5.0.8.21916
Win32 Version: 5.0.8.21916
CodeBase?: file:///C:/Program%20Files/Ecopath%20with%20Ecosim%206/ZedGraph.DLL


System.Transactions

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll


System.EnterpriseServices?

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll


cdbp7ovf

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase?: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>

<system.windows.forms jitDebugging=true />

</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Change History

comment:1 Changed 17 years ago by robynf

The problem does not occur on the Forcing Function form

comment:2 Changed 17 years ago by jeroens

31 aug 07 (build 6.0.0.18) solved issues 1 and 2

comment:3 Changed 17 years ago by shermanl

All resolved except save functionality.

Note: See TracTickets for help on using tickets.