Menu

#60 Lair of Grimbok - Uncaught exception in game. java.lang.NullPointerException

Unscheduled
fixed
nobody
None
2014-07-23
2014-07-06
Cor'e =)
No

Uncaught exception in game.
java.lang.NullPointerException
at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
at net.sf.hale.ability.CreatureAbilitySet.elapseTime(CreatureAbilitySet.java:835)
at net.sf.hale.entity.Creature.elapseTime(Creature.java:1150)
at net.sf.hale.entity.PC.elapseTime(PC.java:204)
at net.sf.hale.CombatRunner.runTurn(CombatRunner.java:586)
at net.sf.hale.CombatRunner.nextCombatTurn(CombatRunner.java:86)
at net.sf.hale.interfacelock.InterfaceCombatLock.checkFinished(InterfaceCombatLock.java:47)
at net.sf.hale.interfacelock.InterfaceLocker.checkTime(InterfaceLocker.java:198)
at net.sf.hale.view.MainViewer.runCampaign(MainViewer.java:376)
at net.sf.hale.Game.performAction(Game.java:524)
at net.sf.hale.Game.main(Game.java:368)

Started boss battle and pop!

Uncaught exception in game.
java.lang.NullPointerException
at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
at net.sf.hale.ability.CreatureAbilitySet.elapseTime(CreatureAbilitySet.java:835)
at net.sf.hale.entity.Creature.elapseTime(Creature.java:1150)
at net.sf.hale.entity.PC.elapseTime(PC.java:204)
at net.sf.hale.CombatRunner.runTurn(CombatRunner.java:586)
at net.sf.hale.CombatRunner.nextCombatTurn(CombatRunner.java:86)
at net.sf.hale.AreaListener.nextTurn(AreaListener.java:158)
at net.sf.hale.Keybindings$EndTurn.run(Keybindings.java:242)
at de.matthiasmann.twl.utils.CallbackSupport.fireCallbacks(CallbackSupport.java:100)
at de.matthiasmann.twl.model.SimpleButtonModel.fireActionCallback(SimpleButtonModel.java:124)
at de.matthiasmann.twl.model.SimpleButtonModel.buttonAction(SimpleButtonModel.java:108)
at de.matthiasmann.twl.model.SimpleButtonModel.setPressed(SimpleButtonModel.java:81)
at de.matthiasmann.twl.Button.handleEvent(Button.java:285)
at de.matthiasmann.twl.GUI.sendMouseEvent(GUI.java:1036)
at de.matthiasmann.twl.GUI.handleMouse(GUI.java:820)
at de.matthiasmann.twl.input.lwjgl.LWJGLInput.pollInput(LWJGLInput.java:65)
at de.matthiasmann.twl.GUI.handleInput(GUI.java:693)
at de.matthiasmann.twl.GUI.update(GUI.java:561)
at net.sf.hale.view.MainViewer.runCampaign(MainViewer.java:385)
at net.sf.hale.Game.performAction(Game.java:545)
at net.sf.hale.Game.main(Game.java:368)

And again!

Uncaught exception in game.
java.lang.NullPointerException
at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
at net.sf.hale.ability.CreatureAbilitySet.elapseTime(CreatureAbilitySet.java:835)
at net.sf.hale.entity.Creature.elapseTime(Creature.java:1150)
at net.sf.hale.entity.PC.elapseTime(PC.java:204)
at net.sf.hale.CombatRunner.runTurn(CombatRunner.java:586)
at net.sf.hale.CombatRunner.nextCombatTurn(CombatRunner.java:86)
at net.sf.hale.AreaListener.nextTurn(AreaListener.java:158)
at net.sf.hale.Keybindings$EndTurn.run(Keybindings.java:242)
at de.matthiasmann.twl.utils.CallbackSupport.fireCallbacks(CallbackSupport.java:100)
at de.matthiasmann.twl.model.SimpleButtonModel.fireActionCallback(SimpleButtonModel.java:124)
at de.matthiasmann.twl.model.SimpleButtonModel.buttonAction(SimpleButtonModel.java:108)
at de.matthiasmann.twl.model.SimpleButtonModel.setPressed(SimpleButtonModel.java:81)
at de.matthiasmann.twl.Button.handleEvent(Button.java:285)
at de.matthiasmann.twl.GUI.sendMouseEvent(GUI.java:1036)
at de.matthiasmann.twl.GUI.handleMouse(GUI.java:820)
at de.matthiasmann.twl.input.lwjgl.LWJGLInput.pollInput(LWJGLInput.java:65)
at de.matthiasmann.twl.GUI.handleInput(GUI.java:693)
at de.matthiasmann.twl.GUI.update(GUI.java:561)
at net.sf.hale.view.MainViewer.runCampaign(MainViewer.java:385)
at net.sf.hale.Game.performAction(Game.java:545)
at net.sf.hale.Game.main(Game.java:368)

And again...

Also, the Quest Log mentions the "Return with the Head" paragraph twice.

Discussion

  • Cor'e  =)

    Cor'e =) - 2014-07-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -14,3 +14,30 @@
        at net.sf.hale.Game.main(Game.java:368)
    
     Started boss battle and pop!
    +
    +Log entry created Sun Jul 06 16:20:55 CDT 2014
    +Uncaught exception in game.
    +java.lang.NullPointerException
    +   at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
    +   at net.sf.hale.ability.CreatureAbilitySet.elapseTime(CreatureAbilitySet.java:835)
    +   at net.sf.hale.entity.Creature.elapseTime(Creature.java:1150)
    +   at net.sf.hale.entity.PC.elapseTime(PC.java:204)
    +   at net.sf.hale.CombatRunner.runTurn(CombatRunner.java:586)
    +   at net.sf.hale.CombatRunner.nextCombatTurn(CombatRunner.java:86)
    +   at net.sf.hale.AreaListener.nextTurn(AreaListener.java:158)
    +   at net.sf.hale.Keybindings$EndTurn.run(Keybindings.java:242)
    +   at de.matthiasmann.twl.utils.CallbackSupport.fireCallbacks(CallbackSupport.java:100)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.fireActionCallback(SimpleButtonModel.java:124)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.buttonAction(SimpleButtonModel.java:108)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.setPressed(SimpleButtonModel.java:81)
    +   at de.matthiasmann.twl.Button.handleEvent(Button.java:285)
    +   at de.matthiasmann.twl.GUI.sendMouseEvent(GUI.java:1036)
    +   at de.matthiasmann.twl.GUI.handleMouse(GUI.java:820)
    +   at de.matthiasmann.twl.input.lwjgl.LWJGLInput.pollInput(LWJGLInput.java:65)
    +   at de.matthiasmann.twl.GUI.handleInput(GUI.java:693)
    +   at de.matthiasmann.twl.GUI.update(GUI.java:561)
    +   at net.sf.hale.view.MainViewer.runCampaign(MainViewer.java:385)
    +   at net.sf.hale.Game.performAction(Game.java:545)
    +   at net.sf.hale.Game.main(Game.java:368)
    +
    +And again!
    
     
  • Cor'e  =)

    Cor'e =) - 2014-07-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -Log entry created Sun Jul 06 16:13:33 CDT 2014
     Uncaught exception in game.
     java.lang.NullPointerException
        at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
    @@ -15,7 +14,6 @@
    
     Started boss battle and pop!
    
    -Log entry created Sun Jul 06 16:20:55 CDT 2014
     Uncaught exception in game.
     java.lang.NullPointerException
        at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
    @@ -41,3 +39,29 @@
        at net.sf.hale.Game.main(Game.java:368)
    
     And again!
    +
    +Uncaught exception in game.
    +java.lang.NullPointerException
    +   at net.sf.hale.ability.AbilitySlot.elapseRounds(AbilitySlot.java:517)
    +   at net.sf.hale.ability.CreatureAbilitySet.elapseTime(CreatureAbilitySet.java:835)
    +   at net.sf.hale.entity.Creature.elapseTime(Creature.java:1150)
    +   at net.sf.hale.entity.PC.elapseTime(PC.java:204)
    +   at net.sf.hale.CombatRunner.runTurn(CombatRunner.java:586)
    +   at net.sf.hale.CombatRunner.nextCombatTurn(CombatRunner.java:86)
    +   at net.sf.hale.AreaListener.nextTurn(AreaListener.java:158)
    +   at net.sf.hale.Keybindings$EndTurn.run(Keybindings.java:242)
    +   at de.matthiasmann.twl.utils.CallbackSupport.fireCallbacks(CallbackSupport.java:100)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.fireActionCallback(SimpleButtonModel.java:124)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.buttonAction(SimpleButtonModel.java:108)
    +   at de.matthiasmann.twl.model.SimpleButtonModel.setPressed(SimpleButtonModel.java:81)
    +   at de.matthiasmann.twl.Button.handleEvent(Button.java:285)
    +   at de.matthiasmann.twl.GUI.sendMouseEvent(GUI.java:1036)
    +   at de.matthiasmann.twl.GUI.handleMouse(GUI.java:820)
    +   at de.matthiasmann.twl.input.lwjgl.LWJGLInput.pollInput(LWJGLInput.java:65)
    +   at de.matthiasmann.twl.GUI.handleInput(GUI.java:693)
    +   at de.matthiasmann.twl.GUI.update(GUI.java:561)
    +   at net.sf.hale.view.MainViewer.runCampaign(MainViewer.java:385)
    +   at net.sf.hale.Game.performAction(Game.java:545)
    +   at net.sf.hale.Game.main(Game.java:368)
    +
    +And again...
    
     
  • Cor'e  =)

    Cor'e =) - 2014-07-07
    • summary: Lair of Grimlock - Uncaught exception in game. java.lang.NullPointerException --> Lair of Grimbok - Uncaught exception in game. java.lang.NullPointerException
     
  • Cor'e  =)

    Cor'e =) - 2014-07-07
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -65,3 +65,5 @@
        at net.sf.hale.Game.main(Game.java:368)
    
     And again...
    +
    +Also, the Quest Log mentions the "Return with the Head" paragraph twice.
    
     
  • Matthias Kievernagel

    Looks like a duplicate of my report (ticket #45).
    Last time I tried, I couldn't reproduce though.
    Is it reproducible for you ?
    ticket #45 has a save file attached.

     
  • Cor'e  =)

    Cor'e =) - 2014-07-08

    I'm guessing it has something to do with an attack/defense the Grimok does after a few rounds or near death, the only way i could get out of the crash ending was to use the acid spell to kill him off, possibly fast enough before crash. I can give a save file too, but i'd have to locate it first, will try and attach. Bad bug.

     

    Last edit: Cor'e =) 2014-07-08
  • Grokmoo

    Grokmoo - 2014-07-21

    I still have never been able to reproduce this one. It almost certainly has something to do with the Grimbok Roar special ability.

    I checked in something that should fix it in r1795. No way to be sure without being able to reproduce it though.

     
    • Cor'e  =)

      Cor'e =) - 2014-07-23

      That's a strong Roar to crash the game! ;)

      Btw, did you also get the log duplicate paragraph i mentioned in the original thread? There was a typo too i saw while going through the code, now where was that?...

       
  • Grokmoo

    Grokmoo - 2014-07-21
    • status: open --> fixed
     
  • Grokmoo

    Grokmoo - 2014-07-23

    I missed the duplicate issue before. Fixed in r1801.

     

Log in to post a comment.