|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
Unresponsive Code... Help Please?
Hello,
This year we've switched to Java. We decided to go nuts and try out the new command based template. I depoloyed our first crack at drive code onto last year's robot with cRio has been re-imaged to the latest. The driver station indicates it has code but the joysticks are unresponsive. Can someone take a look to see if there are any obvious problems? Here is a link to our Google code repository http://code.google.com/p/2012-first-...iloctopirates/ The last few lines in Netbeans output window show this: [cRIO] Default IterativeRobot.disabledInit() method... Overload me! [cRIO] Default IterativeRobot.disabledContinuous() method... Overload me! [cRIO] Default IterativeRobot.disabledPeriodic() method... Overload me! [cRIO] java.lang.NullPointerException [cRIO] at edu.wpi.first.wpilibj.templates.pleasework.teleopI nit(pleasework.java:55) [cRIO] at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:137) [cRIO] at edu.wpi.first.wpilibj.RobotBase.startApp(RobotBase .java:156) [cRIO] in virtual method #10 of javax.microedition.midlet.MIDlet(bci=17) [cRIO] at javax.microedition.midlet.MIDletTunnelImpl.callSta rtApp(64) [cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(110) [cRIO] in virtual method #95 of com.sun.squawk.Klass(bci=25) [cRIO] at com.sun.squawk.Isolate.run(1506) [cRIO] at java.lang.Thread.run(231) [cRIO] in virtual method #47 of com.sun.squawk.VMThread(bci=42) [cRIO] in static method #3 of com.sun.squawk.VM(bci=6) [cRIO] WARNING: Robots don't quit! [cRIO] ---> The startCompetition() method (or methods called by it) should have handled the exception above. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|