Newbie Spellweaver
- Joined
- Jul 24, 2023
- Messages
- 9
- Reaction score
- 4
Recently I have been using the AION emulator in order to improve my JAVA skills, making modifications and trying interesting changes, recently I ended up facing this error:
Exception in a Runnable execution:
java.lang.NullPointerException: null
at com.aionemu.gameserver.world.World.spawn(World.java:448) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.bringIntoWorld(SpawnEngine.java:212) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.bringIntoWorld(SpawnEngine.java:205) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.VisibleObjectSpawner.spawnRiftNpc(VisibleObjectSpawner.java:181) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.getSpawnedObject(SpawnEngine.java:103) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.spawnObject(SpawnEngine.java:86) ~[AC-Game.jar:na]
at com.aionemu.gameserver.services.RiftService.openRifts(RiftService.java:92) ~[AC-Game.jar:na]
at com.aionemu.gameserver.services.rift.RiftOpenRunnable.run(RiftOpenRunnable.java:56) ~[AC-Game.jar:na]
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:46) ~[ac-commons-1.3.jar:na]
at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:38) [ac-commons-1.3.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_79]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_79]
It took me a few days to understand and solve the problem
One of the X Y Z axes of an NPC was above the allowed limit of the map, causing this to occur, always pay attention to the limit of these axes
Exception in a Runnable execution:
java.lang.NullPointerException: null
at com.aionemu.gameserver.world.World.spawn(World.java:448) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.bringIntoWorld(SpawnEngine.java:212) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.bringIntoWorld(SpawnEngine.java:205) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.VisibleObjectSpawner.spawnRiftNpc(VisibleObjectSpawner.java:181) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.getSpawnedObject(SpawnEngine.java:103) ~[AC-Game.jar:na]
at com.aionemu.gameserver.spawnengine.SpawnEngine.spawnObject(SpawnEngine.java:86) ~[AC-Game.jar:na]
at com.aionemu.gameserver.services.RiftService.openRifts(RiftService.java:92) ~[AC-Game.jar:na]
at com.aionemu.gameserver.services.rift.RiftOpenRunnable.run(RiftOpenRunnable.java:56) ~[AC-Game.jar:na]
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:46) ~[ac-commons-1.3.jar:na]
at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:38) [ac-commons-1.3.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_79]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_79]
It took me a few days to understand and solve the problem
One of the X Y Z axes of an NPC was above the allowed limit of the map, causing this to occur, always pay attention to the limit of these axes