robocode.exception.RobotException: You cannot take action inside Condition.test(). You should handle onCustomEvent instead.

robocode | *anonymous | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    testingCondition flag not reset

    robocode | 9 years ago | *anonymous
    robocode.exception.RobotException: You cannot take action inside Condition.test(). You should handle onCustomEvent instead.

    Root Cause Analysis

    1. robocode.exception.RobotException

      You cannot take action inside Condition.test(). You should handle onCustomEvent instead.

      at robocode.peer.RobotPeer.tick()
    2. robocode.peer
      RobotPeer.tick
      1. robocode.peer.RobotPeer.tick(RobotPeer.java:690)
      1 frame
    3. robocode
      AdvancedRobot.execute
      1. robocode.AdvancedRobot.execute(AdvancedRobot.java:397)
      1 frame
    4. procyon.exception
      Bug.run
      1. procyon.exception.Bug.run(Bug.java:28)
      1 frame
    5. robocode.peer
      RobotPeer.run
      1. robocode.peer.RobotPeer.run(RobotPeer.java:504)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame