Jump to content
Light-O-Rama Forums

Unhandled exception error


DocBrown86

Recommended Posts

Running Windows 7 Pro 64-bit OS.

 

Upon trying to use the effect generator I receive the following error message:

 

Unhandled exception has occurred in your application. If you click continue...etc standard error dialog

 

Value of '100' is not valid for 'value'. 'Value' should be between 'Minimum' and 'Maximum'.

Parameter name: Value.

 

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '100' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
   at System.Windows.Forms.TrackBar.set_Value(Int32 value)
   at LightORama.PixelEditor.FormEffectGenerator.comboBoxProp_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at LightORama.PixelEditor.FormEffectGenerator.InitPropList()
   at LightORama.PixelEditor.FormEffectGenerator.comboBoxPreview_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at LightORama.PixelEditor.FormEffectGenerator.LoadPreviews(String[] previewArray)
   at LightORama.PixelEditor.PE_SequenceTab_Control.ShowEffectDialog()
   at LightORama.PixelEditor.PE_SequenceTab_Control.buttonEffect_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.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: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LORPixelEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 4.2.0.6
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/LORPixelEditor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
LORPixelEditorLib
    Assembly Version: 1.0.0.0
    Win32 Version: 4.2.0.6
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/LORPixelEditorLib.DLL
----------------------------------------
LORDotNetShared
    Assembly Version: 1.0.0.0
    Win32 Version: 4.2.0.6
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/LORDotNetShared.DLL
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/Interop.WMPLib.DLL
----------------------------------------
AxInterop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/AxInterop.WMPLib.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
OpenTK.GLControl
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/OpenTK.GLControl.DLL
----------------------------------------
OpenTK
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/OpenTK.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
LORPixelEditorEffects
    Assembly Version: 1.0.0.0
    Win32 Version: 4.2.0.6
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/LORPixelEditorEffects.DLL
----------------------------------------
LORPixelEditorControls
    Assembly Version: 1.0.0.0
    Win32 Version: 4.2.0.6
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/LORPixelEditorControls.DLL
----------------------------------------
HTMLWYSIWYG
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/HTMLWYSIWYG.DLL
----------------------------------------
Microsoft.mshtml
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.0.3300.0
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
NAudio
    Assembly Version: 1.7.3.0
    Win32 Version: 1.7.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Light-O-Rama/NAudio.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>
 
End Error
 
Everything else seems to work ok. Have a preview window set up and stuff from the Seq Editor shows up when I play the file in Pixel Editor. No idea what to do.
Link to comment
Share on other sites

Thank you very much for reporting this issue. It will be fixed in the next release. The root cause is that the Pixel Editor's Visualizer Import function can generate invalid bulb sizes.

 

To fix your problem in the short term, close the Pixel Editor and open the following file in Notepad (or another text editor):

 

Light-O-Rama\PixelEditor\LORPixelEditorData.xml

 

Anywhere in the file where the following text occurs:

 

EffectBulbSize="100"    (or any value over 10)

 

change it to:

 

EffectBulbSize="10"

 

Save the file. Close Notepad and open the Pixel Editor. You should be good to go.

 

Matt

Link to comment
Share on other sites

  • 3 weeks later...

FYI - I ran into the same issue, and this fixed it, no problem. There are 3 or 4 such entries in the data file; a couple at 100 and one at 64.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...