Menu

#45 Unhandled exception in AbilitySlot

Unscheduled
fixed
nobody
None
2014-07-22
2014-06-12
No

As already stated in the PM this is an unhandled exception
when fighting the Grimbok in Pale Pass chapter 2 (save file attached).
Does no longer repeat every time, changed behaviour right after the PM :P

Here is the traceback:
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)

Exception arrives after a few turns (5-6?).
It's getting rarer though. I seem to play different style now :(
Traceback hints at an ability on a dead char (just speculating).
Tried to pin the ability a bit, but there's no clear picture.
Maybe defensive stance on 'Shogart' or hidden/spotted on 'Sonja'.
Post if you can confirm. Otherwise I'll retry a bit more.

Thanks for the game,
Matthias.

1 Attachments

Discussion

  • Matthias Kievernagel

    Tried to reproduce it today but exception always failed to appear :(
    No idea, what I have changed, sry.

     
  • Grokmoo

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

    Grokmoo - 2014-07-22

    Should hopefully be fixed as of r1798

     

Log in to post a comment.