Go to Post pit visitor: "Why'd you use #35 chain?" team member "less links to CAD...." - Aren_Hill [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 02-12-2018, 03:00 PM
AnAccountForRob AnAccountForRob is offline
Registered User
FRC #1474
 
Join Date: Jan 2018
Location: Tewksbury
Posts: 6
AnAccountForRob is an unknown quantity at this point
Could not instantiate robot

I have a question about compiling. Whenever I compile, I always get this error.

ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

I'm guessing it has to do with the Robot.java, so here is its code.
package org.usfirst.frc1474.robot;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.wpi.first.wpilibj.smartdashboard.SendableChoos er;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboar d;
import org.usfirst.frc1474.robot.commands.*;
import org.usfirst.frc1474.robot.subsystems.*;

/**
* The VM is configured to automatically run this class, and to call the
* functions corresponding to each mode, as described in the TimedRobot
* documentation. If you change the name of this class or the package after
* creating this project, you must also update the build.properties file in
* the project.
*/
public class Robot extends IterativeRobot{

Command autonomousCommand;
SendableChooser<Command> chooser = new SendableChooser<>();

public static OI oi;
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
public static Drive1 drive1;
//public static Grabber grabber;

// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS

/**
* This function is run when the robot is first started up and should be
* used for any initialization code.
*/
@Override
public void robotInit() {
RobotMap.init();
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
drive1 = new Drive1();
//grabber = new Grabber();

// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
// OI must be constructed after subsystems. If the OI creates Commands
//(which it very likely will), subsystems are not guaranteed to be
// constructed yet. Thus, their requires() statements may grab null
// pointers. Bad news. Don't move it.
oi = new OI();

// Add commands to Autonomous Sendable Chooser
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS

chooser.addObject("IntakeCube", new IntakeCube());
chooser.addDefault("Autonomous Command", new AutonomousCommand());

// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS
SmartDashboard.putData("Auto mode", chooser);
}

/**
* This function is called when the disabled button is hit.
* You can use it to reset subsystems before shutting down.
*/
@Override
public void disabledInit(){

}

@Override
public void disabledPeriodic() {
Scheduler.getInstance().run();
}

@Override
public void autonomousInit() {
autonomousCommand = chooser.getSelected();
// schedule the autonomous command (example)
if (autonomousCommand != null) autonomousCommand.start();
}

/**
* This function is called periodically during autonomous
*/
@Override
public void autonomousPeriodic() {
Scheduler.getInstance().run();
}

@Override
public void teleopInit() {
// This makes sure that the autonomous stops running when
// teleop starts running. If you want the autonomous to
// continue until interrupted by another command, remove
// this line or comment it out.
if (autonomousCommand != null) autonomousCommand.cancel();
}

/**
* This function is called periodically during operator control
*/
@Override
public void teleopPeriodic() {
Scheduler.getInstance().run();
}
}
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2018, 03:15 PM
forbes's Avatar
forbes forbes is offline
NYC Googler
AKA: Evan Forbes
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 285
forbes has much to be proud offorbes has much to be proud offorbes has much to be proud offorbes has much to be proud offorbes has much to be proud offorbes has much to be proud offorbes has much to be proud offorbes has much to be proud of
Re: Could not instantiate robot

Can you post the entire output you get when compiling?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-12-2018, 04:19 PM
AnAccountForRob AnAccountForRob is offline
Registered User
FRC #1474
 
Join Date: Jan 2018
Location: Tewksbury
Posts: 6
AnAccountForRob is an unknown quantity at this point
Re: Could not instantiate robot

This is the robot console. Print statements and error messages will appear here.
Console output requires a Driver Station to be connected to the robot.

********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
********** Robot program starting **********
ERROR 1 Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Error at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381): Unhandled exception instantiating robot org.usfirst.frc1474.2018RobotBuild2.Robot java.lang.ClassNotFoundException: org.usfirst.frc1474.2018RobotBuild2.Robot
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
WARNING 1 Robots should not quit, but yours did! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:216)

Warning at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:224): Robots should not quit, but yours did!
ERROR 1 Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot! edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225)

Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:225): Could not instantiate robot org.usfirst.frc1474.2018RobotBuild2.Robot!
Reply With Quote
  #4   Spotlight this post!  
Unread 02-12-2018, 09:20 PM
Peter Johnson Peter Johnson is online now
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 425
Peter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant futurePeter Johnson has a brilliant future
Re: Could not instantiate robot

What are the contents of your build.properties file? Based on your code, it should be:

Code:
package=org.usfirst.frc1474.robot
robot.class=${package}.Robot
but based on the error message is likely:

Code:
package=org.usfirst.frc1474.2018RobotBuild2
robot.class=${package}.Robot
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
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 02:31 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi