nullpointer exception when putting stuff in stall

Forum for bugs and technical problems.

nullpointer exception when putting stuff in stall

Postby martinuzz » Sun Aug 11, 2013 9:06 pm

I had just set price to 16s, grabbed a decorative woodcarving on cursor..
When I clicked on the empty slot it was supposed to go into, I got this null pointer exception

Code: Select all
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:100)
   at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
   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:483)
   at haven.HavenPanel.uglyjoglhack(HavenPanel.java:394)
   at haven.HavenPanel.run(HavenPanel.java:426)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
   at haven.ItemInfo.catimgs(ItemInfo.java:117)
   at Shopbox.longtip(Shopbox.java:115)
   at Shopbox.tooltip(Shopbox.java:124)
   at haven.Widget.tooltip(Widget.java:827)
   at haven.Window.tooltip(Window.java:287)
   at haven.Widget.tooltip(Widget.java:827)
   at haven.Widget.tooltip(Widget.java:827)
   at haven.HavenPanel.redraw(HavenPanel.java:305)
   at haven.HavenPanel$1.display(HavenPanel.java:92)
   at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
   at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
   at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
   at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
   at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
   at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
   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)
Did Claeyt shut up yet?
WARNING: berrymash laxatives can cause your character to explode violently, after eating chymically unstable foods.
User avatar
martinuzz
 
Posts: 583
Joined: Wed Dec 19, 2012 11:38 pm

Re: nullpointer exception when putting stuff in stall

Postby RonPaulFTW » Sun Aug 11, 2013 10:29 pm

Looks like the devs are reusing some of their haven code in salem - that or they just name code in the salem code base after haven.
RonPaulFTW
 
Posts: 928
Joined: Sun May 05, 2013 8:30 pm

Re: nullpointer exception when putting stuff in stall

Postby DarkNacht » Sun Aug 11, 2013 10:49 pm

Is it repeatable? If it is have you tried the basics, deleting your cache and re-downloading the client?
RonPaulFTW wrote:Looks like the devs are reusing some of their haven code in salem.
I think that is an understatement.
DarkNacht
 
Posts: 2684
Joined: Thu May 02, 2013 11:24 am

Re: nullpointer exception when putting stuff in stall

Postby MagicManICT » Mon Aug 12, 2013 7:17 am

RonPaulFTW wrote:Looks like the devs are reusing some of their haven code in salem - that or they just name code in the salem code base after haven.


The core of the code is either ported directly from Haven or an update of it, both for the client and server back-end. Of course, game information is pretty much unique here given the major differences in items and such. You'd be surprised at how often code is reused between versions. Some code in *nix versions dates back to the 1960s. Why reinvent the wheel?

As far as the error goes, yeah, go with the usualls that DarkNacht mentions. If these don't fix it, report your client, OS, and Java, including versions. This was (still is if not fixed) a frequent error with Ender's client and I've not seen it reported for the original. I haven't really tracked the error or any fixes/workarounds.
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am


Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 5 guests