robocode.exception.RobotException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via robocode by *anonymous
    ,
  • via robocode by simonton
    ,
  • Stack trace

    • robocode.exception.RobotException: You cannot take action inside Condition.test(). You should handle onCustomEvent instead. at robocode.peer.RobotPeer.tick(RobotPeer.java:690) at robocode.AdvancedRobot.execute(AdvancedRobot.java:397) at procyon.exception.Bug.run(Bug.java:28) at robocode.peer.RobotPeer.run(RobotPeer.java:504) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.