Go to Post If I was making this I would want to not have to use anything smaller than a 3/16" end mill, but 1/8" would be acceptable. Anything smaller and I'd tell the designer to go play in traffic. - Cory [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 28-01-2015, 17:26
TeamMagicSmoke's Avatar
TeamMagicSmoke TeamMagicSmoke is offline
Registered User
AKA: The Entire Team
FRC #5259 (Magic Smoke)
Team Role: Leadership
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Arkansas
Posts: 11
TeamMagicSmoke is an unknown quantity at this point
Unhappy No Robot Code - Driver Station Error Code

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)]
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2015, 18:30
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 609
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: No Robot Code - Driver Station Error Code

Is your RSL plugged in? We had a similar issue, and plugging it in fixed it.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2015, 20:08
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 139
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: No Robot Code - Driver Station Error Code

Quote:
Originally Posted by thatprogrammer View Post
Is your RSL plugged in? We had a similar issue, and plugging it in fixed it.
This wouldn't fix any programming problem.

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2015, 07:58
TeamMagicSmoke's Avatar
TeamMagicSmoke TeamMagicSmoke is offline
Registered User
AKA: The Entire Team
FRC #5259 (Magic Smoke)
Team Role: Leadership
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Arkansas
Posts: 11
TeamMagicSmoke is an unknown quantity at this point
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
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2015, 15:33
TeamMagicSmoke's Avatar
TeamMagicSmoke TeamMagicSmoke is offline
Registered User
AKA: The Entire Team
FRC #5259 (Magic Smoke)
Team Role: Leadership
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Arkansas
Posts: 11
TeamMagicSmoke is an unknown quantity at this point
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".
Reply With Quote
  #6   Spotlight this post!  
Unread 03-02-2015, 21:46
Speckles04 Speckles04 is offline
Registered User
FRC #2977 (Sir LancerBots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2009
Location: La Crescent, MN
Posts: 4
Speckles04 is an unknown quantity at this point
Smile Re: No Robot Code - Driver Station Error Code

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.
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 11:33.

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