PDA

View Full Version : Misc Section



colin
2003-11-18, 02:31 AM
Apart the problems that Corey has raised, if i add a button, then edit it straight away i get an error


Quote[/b] ]
An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately.

Object reference not set to an instance of an object


And this is the detailed debug info. Clicking Continue, then Oking the misc section, going back into it allows me to edit the buttons. I would guess this is a mismatch in the storage array and the widget for display.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
See the end of this message for details on invoking
just-in-time &#40;JIT&#41; debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException&#58; Object reference not set to an instance of an object.
at ac.b&#40;Object A_0, EventArgs A_1&#41;
at System.Windows.Forms.Control.OnClick&#40;EventArgs e&#41;
at System.Windows.Forms.Button.OnClick&#40;EventArgs e&#41;
at System.Windows.Forms.Button.OnMouseUp&#40;MouseEventAr gs mevent&#41;
at System.Windows.Forms.Control.WmMouseUp&#40;Message&amp; m, MouseButtons button, Int32 clicks&#41;
at System.Windows.Forms.Control.WndProc&#40;Message&amp; m&#41;
at System.Windows.Forms.ButtonBase.WndProc&#40;Message&amp; m&#41;
at System.Windows.Forms.Button.WndProc&#40;Message&amp; m&#41;
at System.Windows.Forms.ControlNativeWindow.OnMessage &#40;Message&amp; m&#41;
at System.Windows.Forms.ControlNativeWindow.WndProc&#40;M essage&amp; m&#41;
at System.Windows.Forms.NativeWindow.Callback&#40;IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam&#41;


************** Loaded Assemblies **************
mscorlib
Assembly Version&#58; 1.0.5000.0
Win32 Version&#58; 1.1.4322.573
CodeBase&#58; file&#58;///c&#58;/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Config
Assembly Version&#58; 1.0.1415.10430
Win32 Version&#58; 1.0.1415.10430
CodeBase&#58; file&#58;///C&#58;/Program%20Files/devnz/GBPVR/Config.exe
----------------------------------------
System.Windows.Forms
Assembly Version&#58; 1.0.5000.0
Win32 Version&#58; 1.1.4322.573
CodeBase&#58; file&#58;///c&#58;/windows/assembly/gac/system.windows.forms/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version&#58; 1.0.5000.0
Win32 Version&#58; 1.1.4322.573
CodeBase&#58; file&#58;///c&#58;/windows/assembly/gac/system.drawing/1.0.5000.0b77a5c561934e089/system.xml.dll
----------------------------------------
System.Data
Assembly Version&#58; 1.0.5000.0
Win32 Version&#58; 1.1.4322.573
CodeBase&#58; file&#58;///c&#58;/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time &#40;JIT&#41; debugging, the config file for this
application or machine &#40;machine.config&#41; must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example&#58;

&#60;configuration&#62;
&#60;system.windows.forms jitDebugging=&#34;true&#34; /&#62;
&#60;/configuration&#62;

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
[/QUOTE]

Then if i choose to edit a button, change the details, and ok this I end up with the original button in the list as well as the edited button. Both of which are editable.

Only the modified version of the button appears in GB-PVR and once the configuration app is started again only the modified button appears.

I would suggest you play with adding buttons and editing them as duplicate entries appear when more than one button is in the list. I would say its purely an array/widget update problem as only the desired buttons appear on GB-PVR

Cheers,

sub
2003-11-18, 04:28 AM
Good spotting. This has been corrected for the next release.

colin
2003-11-18, 10:21 PM
Verified this is sorted in 0.0.3

Cheers,