Page 1 of 1

Game sometimes crashes when putting item in empty stall slot

PostPosted: Sat Oct 04, 2014 10:19 pm
by RonPaulFTW
java.lang.RuntimeException: java.lang.NullPointerException
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:420)
at haven.HavenPanel.run(HavenPanel.java:455)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at haven.Utils.imgsz(Utils.java:54)
at haven.TexI.<init>(TexI.java:42)
at Shopbox.tooltip(Shopbox.java:124)
at haven.Widget.tooltip(Widget.java:831)
at haven.Window.tooltip(Window.java:287)
at haven.Widget.tooltip(Widget.java:831)
at haven.Widget.tooltip(Widget.java:831)
at haven.HavenPanel.redraw(HavenPanel.java:324)
at haven.HavenPanel$1.display(HavenPanel.java:94)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

I'm using latikai - so could be that

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 12:13 pm
by Tylan
I too get this error, occasionally. Upon reboot my item is in the stall.

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 12:16 pm
by RonPaulFTW
Tylan wrote:I too get this error, occasionally. Upon reboot my item is in the stall.


My item also makes it into the stall during the crash.

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 12:20 pm
by Procne
Hmm I remember this error from Plymouth times

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 12:22 pm
by RonPaulFTW
Procne wrote:Hmm I remember this error from Plymouth times


I never had it on Jamestown - owned two stalls there.

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 12:48 pm
by Kandarim
Well, it isn't caused by the custom clients as that ShopBox class is loaded from res files.

Re: Game sometimes crashes when putting item in empty stall

PostPosted: Tue Oct 07, 2014 9:17 pm
by loftar
I do notice that the line numbers don't match up against anything sensible on the default client, at least. Please reproduce on default and post a proper backtrace.

Does it happen on some specific kinds of items, or just about any?