#5323 Exception when casting a spell via /cast

closed-fixed
Markus
Code (550)
5
2011-10-31
2011-10-30
RedQueen
No

After loggin in and casting a spell via the /cast command the server throws an exception:

ERROR [verManager] Spell (382 ) Player [redqueen, -768667335] Attributes of Class(): [zoneid=0_semos_plains_n][baseitem=21][sourceid=51][target=redqueen][baseslot=spells][type=cast_spell]- Invalid timestamp: null
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:375)
at java.lang.Long.parseLong(Long.java:468)
at games.stendhal.server.entity.spell.Spell.getTimestamp(Spell.java:380)
at games.stendhal.server.entity.spell.Spell.checkPreConditions(Spell.java:114)
at games.stendhal.server.entity.spell.Spell.cast(Spell.java:89)
at games.stendhal.server.actions.spell.CastSpellAction.onAction(CastSpellAction.java:39)
at games.stendhal.server.actions.CommandCenter.execute(CommandCenter.java:143)
at games.stendhal.server.core.engine.StendhalRPRuleProcessor.execute(StendhalRPRuleProcessor.java:255)
at marauroa.server.game.rp.RPScheduler.visit(RPScheduler.java:118)
at marauroa.server.game.rp.RPServerManager.run(RPServerManager.java:557)

The spell itself works and the exeption is not thrown when casting further spells - until next log in.

Discussion

  • Markus

    Markus - 2011-10-31
    • status: open --> closed-fixed
     
  • Markus

    Markus - 2011-10-31

    OK, thanks for the error report.
    Problem is now fixed in CVS.

     
  • Markus

    Markus - 2011-10-31
    • assigned_to: nobody --> madmetzger
     


Anonymous

Cancel  Add attachments