Unexpected token END OF FILE at position 0 Error

I was trying to program with pathplanner as I have before, and I ran into this error,

ERROR  1  Unhandled exception: org.json.simple.parser.ParseException: Unexpected token END OF FILE at position 0.  org.json.simple.parser.JSONParser.parse(JSONParser.java:215) 
 Error at org.json.simple.parser.JSONParser.parse(JSONParser.java:215): Unhandled exception: org.json.simple.parser.ParseException: Unexpected token END OF FILE at position 0. 
 	at org.json.simple.parser.JSONParser.parse(JSONParser.java:215) 
Warning  1  The robot program quit unexpectedly. This is usually due to a code error.
  The above stacktrace can help determine where the error occurred.
  See https://wpilib.org/stacktrace for more information.  edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:379) 
 	at org.json.simple.parser.JSONParser.parse(JSONParser.java:59) 
 	at org.json.simple.parser.JSONParser.parse(JSONParser.java:53) 
 	at com.pathplanner.lib.auto.AutoBuilder.buildAuto(AutoBuilder.java:756) 
 	at com.pathplanner.lib.commands.PathPlannerAuto.<init>(PathPlannerAuto.java:39) 
 	at com.pathplanner.lib.auto.AutoBuilder.buildAutoChooser(AutoBuilder.java:682) 
 	at frc.robot.RobotContainer.<init>(RobotContainer.java:66) 
 	at frc.robot.Robot.robotInit(Robot.java:28) 
 	at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:107) 
 	at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:365) 
 	at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:453) 
 	at frc.robot.Main.main(Main.java:17)

I then went into debug mode and found where the autos were being called (its a directory path from a previous version of code) and they were autos that I had before and then deleted. Then my mentor suggested that we look for any files matching that name on the computer and there were none.
Here is the reposotory GitHub - Gemini4575/2025-preseason-pratice: Preseason pratice
Here is my question: Pathplanner is getting the paths from System.getProperty(“user.dir”) how is that getting set to the old one?

You need to delete the old files off the robot; they are located in the folder /home/lvuser/deploy. This can be done in a few different ways, including SFTP and FTP (login as user lvuser with no password). Windows Explorer can be used with FTP, or you can use FileZilla for SFTP.

1 Like

I did do this though Total Commander but when I went to connect It did ask me for a password and I used the password that I set for the radio and just left it blank but neither worked. I’m using the new 2025 radio with a password on it if that has any impact to what this prosses is.

You need to connect to the roboRIO, not the radio. E.g. roborio-TEAM-frc.local (where TEAM is your team number). Username lvuser or admin, no password for either one. See roboRIO FTP — FIRST Robotics Competition documentation

Turns out that we had to login anonymously instead of just using the public way