Open blob42 opened 9 years ago
Confirmed - fixed in BETA 2 Build 41 together with some other issues. Happened when not all 3 axes were assigned or used - but now it should work again...
Having this same problem, not sure if the error or cause is the same. Latest version just downloaded today.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.OverflowException: Array dimensions exceeded supported range. at SCJMapper_V2.OGL.BezierInterpolation..ctor(IEnumerable`1 points, Int32 resolution) at SCJMapper_V2.OGL.BezierSeries.CalcCurve(Single[] cout) at SCJMapper_V2.OGL.BezierSeries.Invalidate(Control owner) at System.Windows.Forms.Control.OnResize(EventArgs e) at OpenTK.GLControl.OnResize(EventArgs e) at OpenTK.GLControl.OnHandleCreated(EventArgs e) at System.Windows.Forms.Control.WmCreate(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.UserControl.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** 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:
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.
I would need the xml file you load and then want to go for the options dialog. I seems that the the source file has a curve with more than the supported number of points but let me check it
Hmm not sure if there is one yet? I just opened the program fresh, then rebound the pitch and roll axis to a joystick, and clicked the tuning option. Everything else was default.
Still learning the program, and just pushing buttons and flipping switches and seeing what happens :)
That should work... does it here at least but things are sometimes different ... Either perform 'Reset... defaults' from the menu and then try again or.. If you do as mentioned and then instead of using the Tuning Dialog just hit the Red 'Dump XML' and then save that file and attach it here. (Saving is right click in the XML window and then use Save As.. 'something.xml'
Attaching XML zipped up (wouldn't let me upload it as xml)
It does not create issues here but also I cannot figure out why it crashes at this point.. so we may dig one deeper:
You will find ‘log4net.config.OFF’ in the folder where the prog is located. Rename it to ‘log4net.config’ and run the program again and create the crash. Then look for a file named ‘trace.log’ in that folder and send this via Git along with a description of your system i.e. Win 7/10 or whatever The Joystick(s) I've seen are 4 with the Rudder being used for the pitch, yaw and roll (js1_) May be the logfile gives a hint where it get lost...
Dump: