Skip to content

Opening a gift fails and throws an exception

Build Information

Emulator Version: Last Supernova Build (https://git.krews.org/morningstar/Arcturus-Community/-/jobs/882)

Current Behavior

Currently, when you press "Open" on a gift, the opening fails and throws the following exception:

17:45:40.897 [HabExec-1-3   ] ERROR c.e.h.threading.runnables.OpenGift   - Caught exception
java.lang.NullPointerException: Cannot invoke "com.eu.habbo.habbohotel.rooms.RoomTile.getX()" because the return value of "com.eu.habbo.habbohotel.rooms.items.entities.RoomItem.getCurrentPosition()" is null
        at com.eu.habbo.habbohotel.rooms.items.entities.RoomItem.run(RoomItem.java:203)
        at com.eu.habbo.threading.runnables.OpenGift.run(OpenGift.java:38)
        at com.eu.habbo.threading.ThreadPooling.lambda$run$0(ThreadPooling.java:47)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:1583)

Steps to Reproduce

  1. Open any gift

Context (Environment)

  • Last Arcturus Build with
  • Base database for Arcturus
  • Last Nitro React Build