|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I am the programmer from Team 5259 and we have spent the past few days completely stumped by and error code on the driver station. I have searched around and i cant seem to find what is causing the error. I tried uninstalling and re-installing everything. I even tried somethings that I found throughout the forum but I can't seem to find the exact error that we are experiencing.
Here is error code: ERROR Unhandled exception instantiating robot org.usfirst.frc.team5259.robot.Robot java.lang.ClassNotFoundException: org.usfirst.frc.team5259.robot.Robot at [java.net.URLClassLoader$1.run(URLClassLoader.java: 372), java.net.URLClassLoader$1.run(URLClassLoader.java: 361), java.security.AccessController.doPrivileged(Native Method), java.net.URLClassLoader.findClass(URLClassLoader.j ava:360), java.lang.ClassLoader.loadClass(ClassLoader.java:4 24), sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:308), java.lang.ClassLoader.loadClass(ClassLoader.java:3 57), java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:259), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:197)] |
|
#2
|
||||
|
||||
|
Re: No Robot Code - Driver Station Error Code
Is your RSL plugged in? We had a similar issue, and plugging it in fixed it.
|
|
#3
|
||||
|
||||
|
Re: No Robot Code - Driver Station Error Code
Quote:
It appears that the roboRIO is attempting to load your main robot class but can't find it. Make sure that in your build.properties, package equals the the correct class to load. This happens when you change the name of your robot's main class because it doesn't know where to find it any more. |
|
#4
|
||||
|
||||
|
Re: No Robot Code - Driver Station Error Code
Is this correct, this is what I found in the build.properties file:
# Project specific information package=org.usfirst.frc.team5259.robot robot.class=${package}.Robot simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world I have been messing with the code for a while trying different things but i can not find the problem. I tried deleting the program and re-writing it but I am still getting the same error Last edited by TeamMagicSmoke : 29-01-2015 at 17:27. Reason: Update |
|
#5
|
||||
|
||||
|
Re: No Robot Code - Driver Station Error Code
Thank you so much it took me a while but I found that it needed to be ".frc5259." not "frc.team5259".
|
|
#6
|
|||
|
|||
|
Actually, if none of these work, I found out tonight that there was a really dumb error. It was that I had instantiated a command in the robot class, which is made for only instantiating subsystems. Make sure that that is not your issue.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|