Ticket #40 (closed: fixed)

Opened 11 years ago

Last modified 11 years ago

edit groups keeps crashing :-)

Reported by: carieh Owned by: administrator
Priority: high Milestone: Ecopath 6: build 6.0.7
Component: Database / Import Version:
Severity: major Keywords:
Cc:

Description

So when I try to create a model or add in a new group I am getting a BIG BUG. . . .the dialouge box says Index was out of range. Must be non-negative and less than the size of the collection I have no idea what this means, but here are the details if it means something to you. . .

If I click continue the groups i have just added do not show up, and the edit groups button becomes lighter (cannot click on it) so basically I am still left with only detritus

the output from the details tab says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.ArgumentOutOfRangeException?: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

at System.ThrowHelper?.ThrowArgumentOutOfRangeException?(ExceptionArgument? argument, ExceptionResource? resource)
at System.ThrowHelper?.ThrowArgumentOutOfRangeException?()
at EwECore.cCore.get_EcoPathGroupInputs(Int32 iGroup)
at ScientificInterface?.EditGroupsStanzaEwEGrid.Apply()
at ScientificInterface?.Ecopath.EditGroups?.OK_Button_Click(Object sender, EventArgs? e)
at System.Windows.Forms.Control.OnClick?(EventArgs? e)
at System.Windows.Forms.Button.OnClick?(EventArgs? e)
at System.Windows.Forms.Button.OnMouseUp?(MouseEventArgs? mevent)
at System.Windows.Forms.Control.WmMouseUp?(Message& m, MouseButtons? button, Int32 clicks)
at System.Windows.Forms.Control.WndProc?(Message& m)
at System.Windows.Forms.ButtonBase?.WndProc?(Message& m)
at System.Windows.Forms.Button.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


EwEProgram

Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Documents%20and%20Settings/Carie/Local%20Settings/Apps/2.0/QE2DELTX.3WB/DMWQ01QB.971/ewep..tion_fa30561102f29e23_0006.0000_ac52eccda85c4130/EwEProgram.exe


System.Windows.Forms

I am not sure if this helps

Change History

comment:1 Changed 11 years ago by jeroens

Extensively reworked and tested; seems to behave well now. Please re-test.

comment:2 Changed 11 years ago by jeroens

The crashes have been fixed. The group/stanza creation and destruction logic seems to be fully functional now, and the core seems to survive. This now needs to be used in a production environment for further issues to surface.

Note: See TracTickets for help on using tickets.