Describe the bug
A clear and concise description of what the bug is.
NullPointerException after character selection / world loading
To Reproduce
Steps to reproduce the behavior:
**1. Start client
Login
Select character
waiting until world loaded
open debug channel
read exceptions**
Expected behavior
A clear and concise description of what you expected to happen.
No exceptions after world loaded
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
**- OS: Windows 11
OpenJDK**
Additional context
Add any other context about the problem here.
[12:47] java.lang.NullPointerException: Cannot invoke "java.awt.Color.getRed()" because "c" is null
[12:47] at haven.Utils.c2fa(Utils.java:1877)
[12:47] at haven.States$ColState.(States.java:50)
[12:47] at haven.GOut.chcolor(GOut.java:788)
[12:47] at haven.CharWnd$GlutMeter.draw(CharWnd.java:295)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.sloth.gui.MovableWidget.draw(MovableWidget.java:216)
[12:47] at haven.Window.draw(Window.java:690)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.GameUI.draw(GameUI.java:1366)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.RootWidget.draw(RootWidget.java:90)
[12:47] at haven.UI.draw(UI.java:241)
[12:47] at haven.HavenPanel.rootdraw(HavenPanel.java:463)
[12:47] at haven.HavenPanel.run(HavenPanel.java:771)
[12:47] at java.base/java.lang.Thread.run(Thread.java:1589)
Describe the bug A clear and concise description of what the bug is.
NullPointerException after character selection / world loading
To Reproduce Steps to reproduce the behavior:
**1. Start client
Expected behavior A clear and concise description of what you expected to happen.
No exceptions after world loaded
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): **- OS: Windows 11
Additional context Add any other context about the problem here.
[12:47] java.lang.NullPointerException: Cannot invoke "java.awt.Color.getRed()" because "c" is null [12:47] at haven.Utils.c2fa(Utils.java:1877) [12:47] at haven.States$ColState.(States.java:50)
[12:47] at haven.GOut.chcolor(GOut.java:788)
[12:47] at haven.CharWnd$GlutMeter.draw(CharWnd.java:295)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.sloth.gui.MovableWidget.draw(MovableWidget.java:216)
[12:47] at haven.Window.draw(Window.java:690)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.GameUI.draw(GameUI.java:1366)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.RootWidget.draw(RootWidget.java:90)
[12:47] at haven.UI.draw(UI.java:241)
[12:47] at haven.HavenPanel.rootdraw(HavenPanel.java:463)
[12:47] at haven.HavenPanel.run(HavenPanel.java:771)
[12:47] at java.base/java.lang.Thread.run(Thread.java:1589)