Assertion failed boolean test


When we run our robot code in eclipse, it comes up with this error message

“C:\Users\6046\wpilib\java\current\ant\build.xml:330: Assertion failed boolean test.”

Does anyone know how to avoid that message???

There should be some lines before that which tell you what happened. For example, I’ve had this error when the computer was unable to find the RIO.

Hi there, thanks for you’re speedy response. When we run the code, no errors are shown (no red “x”). So i’m thinking its either a RoboRIO, Driver Station, or Code Issue.

Wait a second.

You said before it won’t run because it gives you an error message

(“C:\Users\6046\wpilib\java\current\ant\build.xml:3 30: Assertion failed boolean test.”).

Now you say it runs without errors.

Which is it?