Project

General

Profile

Bug #4296

NullPointerException in lowest level

Added by erwin müller about 2 months ago. Updated 24 days ago.

Status:
Closed
Priority:
Normal
Assignee:
erwin müller
Category:
game-map-display
Target version:
Start date:
10/17/2019
Due date:
% Done:

0%

Estimated time:
Affected version:
Type:
Task

Description

Oct 17, 2019 9:31:49 PM class com.jme3.app.AppTask invoke()
SEVERE: Exception
java.lang.NullPointerException
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.MapTileTerrain.updateTerrain(MapTileTerrain.java:48)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.TerrainNodeController.updateTerrain(TerrainNodeController.java:87)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.TerrainNode.updateTerrain(TerrainNode.java:86)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.JmeMapTileModel.lambda$1(JmeMapTileModel.java:165)
    at com.jme3.app.LegacyApplication$RunnableWrapper.call(LegacyApplication.java:786)
    at com.jme3.app.AppTask.invoke(AppTask.java:142)
    at com.jme3.app.LegacyApplication.runQueuedTasks(LegacyApplication.java:701)
    at com.jme3.app.LegacyApplication.update(LegacyApplication.java:715)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:227)
    at com.jme3.system.lwjgl.LwjglWindow.runLoop(LwjglWindow.java:499)
    at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:581)
    at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:423)
    at com.jme3.app.LegacyApplication.start(LegacyApplication.java:463)
    at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
    at com.jme3.app.SimpleApplication.start(SimpleApplication.java:125)
    at com.jme3.app.Application$start.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.app.AbstractGameApplication.startApp(AbstractGameApplication.groovy:54)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
    at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1491)
    at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.callStatic(StaticMetaClassSite.java:62)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:196)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:216)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.app.HelloTerrain.main(HelloTerrain.groovy:34)

History

#1

Updated by erwin müller about 1 month ago

  • Priority changed from High to Normal
#2

Updated by erwin müller 24 days ago

  • Status changed from New to In Progress
#3

Updated by erwin müller 24 days ago

[TRACE] 2019-11-12 16:44:05,480 [main] CursorCoordinatesController - Cursor Coordinates Updated 25/28/31
Exception in Fiber "fiber-work-10003984" If this exception looks strange, perhaps you've forgotten to instrument a blocking method. Run your program with -Dco.paralleluniverse.fibers.verifyInstrumentation to catch the culprit!
java.lang.NullPointerException
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.terrainview.MapTileTerrainBase.updateTerrain(MapTileTerrainBase.java:41)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNodeController.updateTerrain(TerrainNodeController.java:144)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNode.updateTerrain(TerrainNode.java:89)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTilesInFiber(JmeMapTileModel.java:190)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTerrainInFiber(JmeMapTileModel.java:180)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:170)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:1)
Exception in thread "pool-1-thread-1" java.lang.NullPointerException
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.terrainview.MapTileTerrainBase.updateTerrain(MapTileTerrainBase.java:41)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNodeController.updateTerrain(TerrainNodeController.java:144)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNode.updateTerrain(TerrainNode.java:89)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTilesInFiber(JmeMapTileModel.java:190)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTerrainInFiber(JmeMapTileModel.java:180)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:170)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:1)
    at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1094)
    at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:790)
    at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100)
    at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

#4

Updated by erwin müller 24 days ago

[TRACE] 2019-11-12 17:20:14,344 [main] CursorCoordinatesController - Cursor Coordinates Updated 25/28/40
Exception in Fiber "fiber-work-10002327" If this exception looks strange, perhaps you've forgotten to instrument a blocking method. Run your program with -Dco.paralleluniverse.fibers.verifyInstrumentation to catch the culprit!
java.lang.NullPointerException
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.terrainview.MapTileObjects.updateTerrain(MapTileObjects.java:39)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNodeController.updateTerrain(TerrainNodeController.java:145)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNode.updateTerrain(TerrainNode.java:89)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTilesInFiber(JmeMapTileModel.java:196)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTerrainInFiber(JmeMapTileModel.java:186)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:174)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:1)
Exception in thread "pool-1-thread-4" java.lang.NullPointerException
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.terrainview.MapTileObjects.updateTerrain(MapTileObjects.java:39)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNodeController.updateTerrain(TerrainNodeController.java:145)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.TerrainNode.updateTerrain(TerrainNode.java:89)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTilesInFiber(JmeMapTileModel.java:196)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel.updateTerrainInFiber(JmeMapTileModel.java:186)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:174)
    at com.anrisoftware.dwarfhustle.game.jme.mainmap.internal.maptiles.gamestate.JmeMapTileModel$2.run(JmeMapTileModel.java:1)
    at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1094)
    at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:790)
    at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100)
    at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

#5

Updated by erwin müller 24 days ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 125 MB)