Hello all! I’ve recently had the problem that I cannot push code to the robot the error message is
build.xml:108 Assertion failed: property ‘roboRIOFound’ doesn’t exist in this project. roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse.
I have tried rebooting the robot installing the latest jdk and updated everything as well, this seems to only be a problem on my computer because other people can push code to the robot just fine without the error. Additionally, I am able to see the robot online through the driver station and going to the roboRIO-2850-FRC.local and pull up the web page so its not a problem specifically with the robot itself.
Thanks for your help!
I forgot to mention but I also changed the team number. And I tried to make a new project however I still get the same error.
Can you post the full output. Have you tried disabling your firewall?
Buildfile: C:\Users\All Sparks\workspace\PLZWORK\build.xml
Trying to override old definition of task classloader
clean:
compile:
[mkdir] Created dir: C:\Users\All Sparks\workspace\PLZWORK\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\All Sparks\wpilib\java\current\lib\WPILib.jar;C:\Users\All Sparks\wpilib\java\current\lib\NetworkTables.jar;C:\Users\All Sparks\wpilib\java\current\lib\opencv.jar;C:\Users\All Sparks\wpilib\java\current\lib\cscore.jar to build
[javac] Compiling 1 source file to C:\Users\All Sparks\workspace\PLZWORK\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\All Sparks\workspace\PLZWORK\dist
[mkdir] Created dir: C:\Users\All Sparks\workspace\PLZWORK\build\jars
[echo] [athena-jar] Copying jars to build/jars.
[copy] Copying 4 files to C:\Users\All Sparks\workspace\PLZWORK\build\jars
[jar] Building jar: C:\Users\All Sparks\workspace\PLZWORK\dist\FRCUserProgram.jar
get-target-ip:
[echo] Finding roboRIO, please ignore any [hostinfo] error messages
[echo] Trying mDNS: roboRIO-2850-FRC.local
[echo] Trying USB: 172.22.11.2
[echo] Trying DNS: roboRIO-2850-FRC.lan
[echo] Trying Static Ethernet: 10.28.50.2
[hostinfo] Error retrieving remote host information for host:roboRIO-2850-FRC.lan.
BUILD FAILED
C:\Users\All Sparks\wpilib\java\current\ant\build.xml:108: Assertion failed: Property ‘roboRIOFound’ doesn’t exist in this project.
roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse
Total time: 32 seconds
And I have my firewall completely disabled
I figured out a solution that worked for me. What I did was I plugged in my laptop via Ethernet to the RIO and disabled the wireless connection then pushed the code and it seem to be able to find the RIO. After that I switched back the to wireless connection and it seemed to fix itself. Such an odd solution…
I had this problem when I switched RIOs. We were programming one RIO for the practice robot while the build team worked on the main RIO, then I got this when I tried to program the other RIO. It worked eventually, and I am fairly certain it was solved by unplugging the radio’s Ethernet and reconnecting it to the RIO.