repetier-host crash unhandled exception

I've installed repetier host, but it crashes instantly as soon as I start it.
Im on Antergos (Arch Based) x64, installed it via the Arch User Repository and tried it as AppImage. But I always get the same error.
I already found the following threads:
The GitHub issue seems quiet similar. I've tried reinstalling, deleting the .mono folder, updating everything I have, rebooting, etc. but I cant seem to get it to work.

Thank you in advance!

The error:

Unhandled Exception:
System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
Parameter name: SmallChange
  at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x00019] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar:set_SmallChange (int)
  at System.Windows.Forms.ListView.CalculateScrollBars () [0x0021a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.CalculateListView (System.Windows.Forms.ListViewAlignment align) [0x000df] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.Redraw (System.Boolean recalculate) [0x0001d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:Redraw (bool)
  at System.Windows.Forms.ColumnHeader.set_Width (System.Int32 value) [0x00018] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ColumnHeader:set_Width (int)
  at RepetierHost.view.SDCard.setLastFilesWidth () [0x00023] in <e2caed22f11747c098ebda9551e8adde>:0
  at RepetierHost.view.SDCard.<.ctor>b__11_0 (System.Object <sender>, System.Windows.Forms.LayoutEventArgs <e>) [0x00001] in <e2caed22f11747c098ebda9551e8adde>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00019] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00006] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) [0x000da] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x0004a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCoreInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00110] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x0008a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutAnchoredChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x00137] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x0001b] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0006d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ContainerControl.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.UserControl.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00006] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) [0x000da] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x0004a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCoreInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00110] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x0008a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x001c6] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0006d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout (System.Windows.Forms.Control,string)
  at System.Windows.Forms.Control+ControlCollection.Add (System.Windows.Forms.Control value) [0x00169] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.TabPage+TabPageControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at RepetierHost.Main.InsertComponents () [0x000f5] in <e2caed22f11747c098ebda9551e8adde>:0
  at RepetierHost.Main..ctor () [0x013a7] in <e2caed22f11747c098ebda9551e8adde>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <e2caed22f11747c098ebda9551e8adde>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
Parameter name: SmallChange
  at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x00019] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar:set_SmallChange (int)
  at System.Windows.Forms.ListView.CalculateScrollBars () [0x0021a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.CalculateListView (System.Windows.Forms.ListViewAlignment align) [0x000df] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.Redraw (System.Boolean recalculate) [0x0001d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:Redraw (bool)
  at System.Windows.Forms.ColumnHeader.set_Width (System.Int32 value) [0x00018] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ColumnHeader:set_Width (int)
  at RepetierHost.view.SDCard.setLastFilesWidth () [0x00023] in <e2caed22f11747c098ebda9551e8adde>:0
  at RepetierHost.view.SDCard.<.ctor>b__11_0 (System.Object <sender>, System.Windows.Forms.LayoutEventArgs <e>) [0x00001] in <e2caed22f11747c098ebda9551e8adde>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00019] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ListView.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00006] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) [0x000da] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x0004a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCoreInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00110] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x0008a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutAnchoredChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x00137] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x0001b] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0006d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ContainerControl.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.UserControl.OnResize (System.EventArgs e) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00006] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Int32 clientWidth, System.Int32 clientHeight) [0x000da] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.UpdateBounds (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x0004a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCoreInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00110] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsCore (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.SetBoundsInternal (System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height, System.Windows.Forms.BoundsSpecified specified) [0x0008a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x001c6] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0006d] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x0005a] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout (System.Windows.Forms.Control,string)
  at System.Windows.Forms.Control+ControlCollection.Add (System.Windows.Forms.Control value) [0x00169] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.TabPage+TabPageControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at RepetierHost.Main.InsertComponents () [0x000f5] in <e2caed22f11747c098ebda9551e8adde>:0
  at RepetierHost.Main..ctor () [0x013a7] in <e2caed22f11747c098ebda9551e8adde>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <e2caed22f11747c098ebda9551e8adde>:0






Comments

  • I looked into RepetierHost.view.SDCard.setLastFilesWidth () and it has a trick to force it fill the remaining width. Also it always worked on linux so far I have modified it for next release to get computed differently so mono hopefully gets no problems.

    Only thing I wonder is that the AppImage has it's own mono version and it worked for me, never got a problem here. But maybe it also depends on something linux specific and arch linux is definitely different then most ubuntu linux versions.
  • Thank you for your fast response, yeah it's quiet strange. As soon as it's released, I'll report back!
  • HI, any update on this?

    I am running on OpenSuse Tumbleweed 64 bit, and have used Repteier-Host before with no issues.
    I have tried both the Repetier-Host-x86_64-2.1.3.AppImage and the installed version.
    Both fail with the issue reported above. My exact message below.

    Unhandled Exception:
    System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
    Parameter name: SmallChange
      at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x00019] in <64229ce348bf414baa325904e6b85bb9>:0
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar.set_SmallChange(int)

  • Can you provide full error report so I can see from where it comes. It is an error in windows function so to catch it I must know the part in host that needs to handle the problem.
Sign In or Register to comment.