View Single Post
  #4   Spotlight this post!  
Unread 18-02-2010, 16:28
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Watchdog programming error

Thanks for the support. I tried the code as you posted it, but no dice. I did see an initial watchdog error, but then it ran with the statement teleop enabled for all of .1 seconds. After that, it showed the same watchdog not fed error, and I had to restart the robot to get any control again. However, I was running developer at the time with the driver station application as a popup, and Netbeans recorded the following output when the error occurred:
[cRIO] Default RobotIterativeBase:isabledInit() method running
[cRIO] Disabled_Init() completed
[cRIO] java.lang.NullPointerException
[cRIO] at java.lang.Throwable.<init>(Throwable.java:88)
[cRIO] at java.lang.Exception.<init>(Exception.java:44)
[cRIO] at java.lang.RuntimeException.<init>(RuntimeException .java:48)
[cRIO] at java.lang.NullPointerException.<init>(NullPointerE xception.java:54)
[cRIO] at com.sun.squawk.VM.nullPointerException(VM.java:391 )
[cRIO] at edu.wpi.first.wpilibj.templates.RobotTemplate.tele opInit(RobotTemplate.java:119)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:171)
[cRIO] at edu.wpi.first.wpilibj.RobotBase.startApp(RobotBase .java:132)
[cRIO] at javax.microedition.midlet.MIDletTunnelImpl.callSta rtApp(MIDletTunnelImpl.java:60)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(MIDletMa inWrapper.java:110)
[cRIO] at com.sun.squawk.Klass.main(Klass.java:2997)
[cRIO] at com.sun.squawk.Isolate.run(Isolate.java:1554)
[cRIO] at java.lang.Thread.run(Thread.java:231)
[cRIO] at com.sun.squawk.VMThread.callRun(VMThread.java:1499 )
[cRIO] at com.sun.squawk.VM.callRun(VM.java:305)
Reply With Quote