"Too many items in the combo box" exception in Reperier-Host
I am getting this exception in the Repetier-Host in various conditions.
I have researched the problem and I think I found the problem.
In the "printer setting" "Connection" tab:
There is a "printer" drop down box. For some reasons this
drop down box has no value in it (null). When the software try to get its value it throw an exception.
The exception seems to be in the repetier-server read loop so it appears as socket error to the reader.
There is "default" printer. After getting my printer information from the Repetier-Server it creates <printer name>-local printer in the top print name. But the printer name is not populated properly. After connecting to the server it gets a value.
Way to recreate:
Make a fresh install of Repetier-Host. (Do not connect it to a printer with USB cable!)
Connect to Repetier-Server that have printer define in it.
Attempt to edit the printer setting.
Get some exceptions; See socket errors.
Best regards,
Michael
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OutOfMemoryException: Too many items in the combo box.
at System.Windows.Forms.ComboBox.NativeAdd(Object item)
at System.Windows.Forms.ComboBox.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ComboBox.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.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
RepetierHost
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHost.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
I have researched the problem and I think I found the problem.
In the "printer setting" "Connection" tab:
There is a "printer" drop down box. For some reasons this
drop down box has no value in it (null). When the software try to get its value it throw an exception.
The exception seems to be in the repetier-server read loop so it appears as socket error to the reader.
There is "default" printer. After getting my printer information from the Repetier-Server it creates <printer name>-local printer in the top print name. But the printer name is not populated properly. After connecting to the server it gets a value.
Way to recreate:
Make a fresh install of Repetier-Host. (Do not connect it to a printer with USB cable!)
Connect to Repetier-Server that have printer define in it.
Attempt to edit the printer setting.
Get some exceptions; See socket errors.
Best regards,
Michael
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OutOfMemoryException: Too many items in the combo box.
at System.Windows.Forms.ComboBox.NativeAdd(Object item)
at System.Windows.Forms.ComboBox.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ComboBox.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.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
RepetierHost
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHost.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Comments