Go to Post Every year, 118 inspires our team to dream for the stars, and land on mars. If 118 wasn't there we wouldn't be off the ground. Think about it every superstar has critics. Keep doing what you do 118. - xSAWxBLADEx [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2017, 23:45
Superhamster Superhamster is offline
Registered User
FRC #7548
 
Join Date: Jan 2017
Rookie Year: 2016
Location: texas
Posts: 4
Superhamster is an unknown quantity at this point
Unable to push code

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!
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 10:40
Superhamster Superhamster is offline
Registered User
FRC #7548
 
Join Date: Jan 2017
Rookie Year: 2016
Location: texas
Posts: 4
Superhamster is an unknown quantity at this point
Re: Unable to push code

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.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 10:52
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,602
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Unable to push code

Can you post the full output. Have you tried disabling your firewall?
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2017, 12:43
Superhamster Superhamster is offline
Registered User
FRC #7548
 
Join Date: Jan 2017
Rookie Year: 2016
Location: texas
Posts: 4
Superhamster is an unknown quantity at this point
Re: Unable to push code

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
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2017, 13:46
Superhamster Superhamster is offline
Registered User
FRC #7548
 
Join Date: Jan 2017
Rookie Year: 2016
Location: texas
Posts: 4
Superhamster is an unknown quantity at this point
Re: Unable to push code

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....
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2017, 19:51
MuskieProgramme MuskieProgramme is online now
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 36
MuskieProgramme is an unknown quantity at this point
Re: Unable to push code

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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi