Go to Post "So we have an arm, and the pot on it tells how high we are... ...and then we know how high we want to be... ...and if we're not high enough we go higher." (I have to leave the room, we're all laughing too much.) - demosthenes2k8 [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 26-01-2017, 18:32
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Build Error: Image of roboRIO does not match plugin

I am trying to deploy some Java code to the roboRIO, but I am getting this error. Here is the console log, starting with the "dependencies" section. Everything before this is perfectly normal.

dependencies:
[hostinfo] Error retrieving remote host information for host:roboRIO-6705-FRC.lan.

BUILD FAILED
C:UsersWildCat5ewpilibjavacurrentantbuild.xml:330: Assertion failed boolean test.
Image of roboRIO does not match plugin.
Allowed image year: 2017 version: 8.
Actual image year: ImageRegExFail version ImageRegExFail.
RoboRIO needs to be re-imaged or plugins updated.

I have checked the roboRIO's hardware configuration page (at its IP address), and the roboRIO's current image is "FRC_roboRIO_2017_v8" which appears to be correct.

I have also checked for updates to the plugins in Eclipse multiple times, but they are up to date as of 1/26/17 (version 2017.2.1).

I have no idea what could be wrong. I have tried re-imaging the roboRIO, re-downloading Java to the roboRIO, delteing the WPILib directory, and restarting Eclipse. I don't know what to try next.

Thanks for your help.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2017, 19:22
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,603
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: Build Error: Image of roboRIO does not match plugin

Please attach your sysprops.xml file.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2017, 19:32
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Build Error: Image of roboRIO does not match plugin

Can you ping the roboRIO at roboRIO-6705-FRC.local using the cmd or terminal window?

Also, what OS are you running on your laptop.

And are you connecting with an ethernet cable, wifi, or USB? If not USB, can you also try that?
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2017, 20:11
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

I will try to ping the robot tomorrow when I can access the computer we are using. That computer is running Windows 10.

I am connecting via a USB cable (USB-A to USB-B).

Where would I find the sysprops.xml file? In the WPIlib folder?

Thanks for the help.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2017, 12:04
CjDace's Avatar
CjDace CjDace is offline
Skyline Samurai
AKA: Scotbot Programmers
FRC #4284 (Scotbot)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2011
Location: Cincinnati, Ohio
Posts: 13
CjDace is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Yes, we had the same problem but the resolution was to image it with a USB cable. The first time we used ethernet which seems to be the cause of our issue.
__________________
Scotbot Programmers


"I have not failed. I have just found 10,000 ways that do not work."
~ Thomas Edison
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2017, 12:56
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,603
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: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by wildcat5e View Post
Where would I find the sysprops.xml file? In the WPIlib folder?
It would have been in the root of the eclipse project folder. However, I just realized that with the 2017.2.1 release, it is no longer used.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-01-2017, 15:21
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by BradAMiller View Post
Can you ping the roboRIO at roboRIO-6705-FRC.local using the cmd or terminal window?

Also, what OS are you running on your laptop.

And are you connecting with an ethernet cable, wifi, or USB? If not USB, can you also try that?
I pinged the roboRIO and got this response:

Pinging roboRIO-6705-FRC.local [fe80::280:2fff:fe25:7393%4] with 32 bytes of data:
Reply from fe80::280:2fff:fe25:7393%4: time=14ms
Reply from fe80::280:2fff:fe25:7393%4: time=1ms
Reply from fe80::280:2fff:fe25:7393%4: time<1ms
Reply from fe80::280:2fff:fe25:7393%4: time<1ms

Ping statistics for fe80::280:2fff:fe25:7393%4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 14ms, Average = 3ms
Reply With Quote
  #8   Spotlight this post!  
Unread 27-01-2017, 15:22
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by Joe Ross View Post
It would have been in the root of the eclipse project folder. However, I just realized that with the 2017.2.1 release, it is no longer used.
Ok. Then what should I try next?
Reply With Quote
  #9   Spotlight this post!  
Unread 28-01-2017, 09:26
wlogeais wlogeais is offline
Registered User
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2011
Location: Minnesota
Posts: 18
wlogeais is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by wildcat5e View Post
Ok. Then what should I try next?
Thread #5 from this thread suggest that ethernet-vs-USB can make a difference, or else that just re-re-image itself might be worth the time.

One other thing I've just noticed is that your ping-response, eg ...from fe80::280:2fff:fe25:7393%4: time=14ms... is an IPv6 address, in general you should change your network(adapter) properties to be IPv4 and NOT IPv6.
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2017, 11:22
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by wlogeais View Post
Thread #5 from this thread suggest that ethernet-vs-USB can make a difference, or else that just re-re-image itself might be worth the time.

One other thing I've just noticed is that your ping-response, eg ...from fe80::280:2fff:fe25:7393%4: time=14ms... is an IPv6 address, in general you should change your network(adapter) properties to be IPv4 and NOT IPv6.
We have tried re-imaging the roboRIO probably 10 times, and re-downloading the JRE a few times. What I'm trying now it to delete the entire 2017 FRC update suite and re download it. I will look into using Ethernet instead of USB and changing the network adapter properties.

Thanks
Reply With Quote
  #11   Spotlight this post!  
Unread 29-01-2017, 12:15
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

I have had exactly the same problem (we always use the USB cable to do the imagine and the Java download). The funny thing it was working fine, I left the driver station with the build team for a night, and when I got back the next day it was broken. I have reimaged and reinstalled Java several times, deleted and reinstalled the WPILib plugin for Eclipse, and can't get it to go away (even using a different laptop that had also been working at the start). We finally commented out the check in the build file (there was a thread here from last year I think), as I *know* that I am running the 2017 version. If you figure it out, please make sure to post the answer None of the laptops have been connected to a 2016 RoboRIO at this point, so it's hard to see how something could have gotten munged in the settings anywhere.
Reply With Quote
  #12   Spotlight this post!  
Unread 29-01-2017, 12:30
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

WHere do I comment out the check in the build file? In the project's build.xml, I don't see any "check." Can you help me find it?
Reply With Quote
  #13   Spotlight this post!  
Unread 29-01-2017, 15:38
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

The path of the file (replacing {user} with your username) is: C:\Users\{user}\wpilib\java\current\ant

The file is build.xml

The comment out part is an assert at about 278 - just use XML comments to comment out the whole thing like below.

We really shouldn't have to be doing this, and if you re-install the WPILib stuff at any point it will wipe this out, but it will get you past the immediate blockage (as long as you are sure you have the right version on the RIO which can be verified by the NI dashboard webpage - Image Version should be FRC_roboRIO_2017_v8).

<!-- <assert message="Image of roboRIO does not match plugin. ${line.separator}Allowed image year: ${roboRIOAllowedYear} version: ${roboRIOAllowedImages}. ${line.separator}Actual image year: ${roboRIOImageYear} version ${roboRIOImage}. ${line.separator}RoboRIO needs to be re-imaged or plugins updated.">
<bool>
<and>
<contains string="${roboRIOAllowedImages}" substring="${roboRIOImage}"/>
<contains string="${roboRIOAllowedYear}" substring="${roboRIOImageYear}"/>
</and>
</bool>
</assert>
<echo>roboRIO image version validated</echo> -->
Reply With Quote
  #14   Spotlight this post!  
Unread 29-01-2017, 15:40
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by java4first View Post
The path of the file (replacing {user} with your username) is: C:\Users\{user}\wpilib\java\current\ant

The file is build.xml

The comment out part is an assert at about 278 - just use XML comments to comment out the whole thing like below.

We really shouldn't have to be doing this, and if you re-install the WPILib stuff at any point it will wipe this out, but it will get you past the immediate blockage (as long as you are sure you have the right version on the RIO which can be verified by the NI dashboard webpage - Image Version should be FRC_roboRIO_2017_v8).

<!-- <assert message="Image of roboRIO does not match plugin. ${line.separator}Allowed image year: ${roboRIOAllowedYear} version: ${roboRIOAllowedImages}. ${line.separator}Actual image year: ${roboRIOImageYear} version ${roboRIOImage}. ${line.separator}RoboRIO needs to be re-imaged or plugins updated.">
<bool>
<and>
<contains string="${roboRIOAllowedImages}" substring="${roboRIOImage}"/>
<contains string="${roboRIOAllowedYear}" substring="${roboRIOImageYear}"/>
</and>
</bool>
</assert>
<echo>roboRIO image version validated</echo> -->
Thanks. I will be sure to try that and see if it works.
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 13:16.

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