View Single Post
  #2   Spotlight this post!  
Unread 19-01-2016, 22:26
rishov.s rishov.s is offline
Lead Programmer
AKA: Rishov Sarkar
FRC #1261 (PRHS Robo Lions)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Suwanee, GA
Posts: 2
rishov.s is an unknown quantity at this point
Re: Corrupted Robot Builder File

Quote:
Originally Posted by neilmart View Post
I attempted to open it from the command console, and got an error that said "Exception in thread "AWT-EventQueue-0" while scanning for the next token. Found character '\t' that cannot start any token".
This error message leads me to believe that RobotBuilder is attempting to open whatever YAML file it opened/saved last, but it finds a tab character in the file, which is invalid in YAML. It is possible that this file was opened and modified in a text editor that uses tabs by default, thus corrupting the file.

If you know what YAML file RobotBuilder is trying to open, I would suggest opening that file in a text editor and deleting any tab characters, fixing the indentation of the lines on which those characters appeared if necessary, and then attempting to open RobotBuilder again.

If you believe that the RobotBuilder JAR file itself is corrupted, you can prompt reinstallation of RobotBuilder and the accompanying WPILib tools by renaming your wpilib directory (typically found at C:\Users\[username]\wpilib on Windows) to wpilib.old or deleting that directory. Then, open Eclipse. If the WPILib plugins for Eclipse are installed, the wpilib directory will automatically be reinstalled on startup.

If you do not have Eclipse or the WPILib plugins for Eclipse, follow this guide at wpilib.screenstepslive.com to get them.

Good luck!
Reply With Quote