Go to Post Is this where I get to say "Mama I made it on TV?" - Pauline Tasci [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-14-2015, 10:33 AM
Jtbillick Jtbillick is offline
Registered User
FRC #4780
 
Join Date: Jan 2015
Location: Ohio
Posts: 18
Jtbillick is an unknown quantity at this point
Problem uploading code

When I upload my program to the practice bot, I am getting an error and I'm not sure how to fix it. This is my first year programming so any tips would be appreciated. This is the error in the Riolog:
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
ERROR Unhandled exception: java.lang.IllegalArgumentException: Subsystem must not be null. at [edu.wpi.first.wpilibj.command.Command.requires(Com mand.java:173), org.usfirst.frc.team4780.robot.commands.Elevate.<i nit>(Elevate.java:28), org.usfirst.frc.team4780.robot.commands.ElevateUp. <init>(ElevateUp.java:15), org.usfirst.frc.team4780.robot.OI.<init>(OI.java:5 9), org.usfirst.frc.team4780.robot.Robot.robotInit(Rob ot.java:38), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:76), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]ERROR Unhandled exception: java.lang.IllegalArgumentException: Subsystem must not be null. at [edu.wpi.first.wpilibj.command.Command.requires(Com mand.java:173), org.usfirst.frc.team4780.robot.commands.Elevate.<i nit>(Elevate.java:28), org.usfirst.frc.team4780.robot.commands.ElevateUp. <init>(ElevateUp.java:15), org.usfirst.frc.team4780.robot.OI.<init>(OI.java:5 9), org.usfirst.frc.team4780.robot.Robot.robotInit(Rob ot.java:38), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:76), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]

WARNING: Robots don't quit!
---> The startCompetition() method (or methods called by it) should have handled the exception above.
WARNING: Robots don't quit!
---> The startCompetition() method (or methods called by it) should have handled the exception above.
Reply With Quote
 


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 08:04 AM.

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