Troll Belt swap and crash

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
LostJustice
Posts: 691
Joined: Sun Mar 25, 2012 3:57 am

Troll Belt swap and crash

Post by LostJustice »

Odd bug someone found the other day. Basically a friend of mine was mining and he was using the new troll belt. He had auto swapping tools on and swapped the tools into the last two slots of his belt. What ended up happening was causing him to crash on Vanilla client, Amber client on any computer until I had to come and KO him to get the belt off him so he could log in.
Image
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Troll Belt swap and crash

Post by jorb »

Image
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
LostJustice
Posts: 691
Joined: Sun Mar 25, 2012 3:57 am

Re: Troll Belt swap and crash

Post by LostJustice »

jorb wrote:Image
1.67.0.232a5e92
Windows 10 10.0 x64, 1.8.0_161 x86
NVIDIA Corporation (GeForce GT 720/PCIe/SSE2) - 4.6.0 NVIDIA 388.13

java.lang.NullPointerException
at haven.GameUI$NKeyBelt.draw(GameUI.java:1311)
at haven.Widget.draw(Widget.java:686)
at haven.Widget.draw(Widget.java:691)
at haven.GameUI.draw(GameUI.java:744)
at haven.Widget.draw(Widget.java:686)
at haven.Widget.draw(Widget.java:691)
at haven.RootWidget.draw(RootWidget.java:67)
at haven.UI.draw(UI.java:137)
at haven.HavenPanel.rootdraw(HavenPanel.java:342)
at haven.HavenPanel.run(HavenPanel.java:608)
at java.lang.Thread.run(Unknown Source)
There’s also another stack trace when using the vanilla client but it really similar and also a null pointer error.
Image
User avatar
romovs
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Troll Belt swap and crash

Post by romovs »

Someone reported this to me as well. There seems to be some resource which can be put on the belt but doesn't seem to have an image layer. FYI.
User avatar
LostJustice
Posts: 691
Joined: Sun Mar 25, 2012 3:57 am

Re: Troll Belt swap and crash

Post by LostJustice »

romovs wrote:Someone reported this to me as well. There seems to be some resource which can be put on the belt but doesn't seem to have an image layer. FYI.
Yeah that is what I am guessing that it bugs out when auto swap is on and something like a pickaxe or keys swaps out in the belt and the image fails to load. Problem is when this bug happens you cannot log into any client till someone walks over knocks you out and takes the belt off you.
Image
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Troll Belt swap and crash

Post by loftar »

LostJustice wrote:There’s also another stack trace when using the vanilla client but it really similar and also a null pointer error.
That doesn't help much, since all the line numbers are different. Fortunately, I found the sent error report, and it is indeed something that's missing an image. Hard to tell what without a more detailed error, however. I've installed a new client that reports bad belt resources more thoroughly, so if you could please test with that.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
LostJustice
Posts: 691
Joined: Sun Mar 25, 2012 3:57 am

Re: Troll Belt swap and crash

Post by LostJustice »

loftar wrote:
LostJustice wrote:There’s also another stack trace when using the vanilla client but it really similar and also a null pointer error.
That doesn't help much, since all the line numbers are different. Fortunately, I found the sent error report, and it is indeed something that's missing an image. Hard to tell what without a more detailed error, however. I've installed a new client that reports bad belt resources more thoroughly, so if you could please test with that.
Ok, I will try to replicate it again. It happens almost randomly so I will just mine with vanilla client till it happens again if it does.
Image

Return to “Bugs”