BUILD FAILED
C:\Users\robotics\wpilib\java\current\ant\build.xml:227: Assertion failed boolean test.
roboRIO Image does not match plugin, allowed image version: 23
This is a problem that keeps coming up as we attempt to deploy to our prototype.
We have imaged the rio 3 times with the new labview v 19 file.zip and have updated our java problems to no avail.
If that’s the case, for some reason the plugins must be failing to update the files. Close Eclipse, delete your C:\Users\USERNAME\wpilib directory (where USERNAME is your username), then open Eclipse again.
Deploy again. Without the entire console output, this error usually pops up because no robot code is running when it tries to cancel the current running code.
Post the full contents of the console window please. That message is not particularly helpful by itself. It means one of a whole slew of remote commands run on the roboRIO failed. Some of them can fail harmlessly, others will prevent the build from continuing, but we can’t tell which one failed or how to fix it without the whole log.
That should be safe to ignore. It tends to pop up when there is no robot program already on the rio (which causes the kill command to fail)
Deleting the wpilib directory and restarting eclipse solved the problem for me as well. You can also go into the build.xml file and just remove the assertion.
If you’re receiving the error remote command failed exit status 1 but your code is going through and the program builds successfully, then there is no issue. euhlmann explains it well above.
If the error is causing your build to fail, make sure you have the correct JRE on the RoboRIO.