Go to Post Good luck, and may the FIRST be with you. - Leav [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 28-01-2017, 23:41
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 73
phurley67 is an unknown quantity at this point
CAN Talon / Test Mode Crash

Using robot builder, and the latest software from CTRE. If I create a project with a single subsystem, and in that subsystem a single CAN Talon. When the code is deployed, and the robot enabled in test mode we get the following error.

Any ideas on how to resolve this? We do not use test mode a lot, but it does come in very handy when, well testing robots...

Thanks :-)

Code:
<TagVersion>1 <time> 06.899 <count> 1 <flags> 1 <Code> 1 <details> ERROR Unhandled exception: java.lang.NullPointerException: value cannot be null at [edu.wpi.first.wpilibj.networktables.NetworkTablesJNI.putString(Native Method), edu.wpi.first.wpilibj.networktables.NetworkTable.putString(NetworkTable.java:588), edu.wpi.first.wpilibj.livewindow.LiveWindow.initializeLiveWindowComponents(LiveWindow.java:51), edu.wpi.first.wpilibj.livewindow.LiveWindow.setEnabled(LiveWindow.java:74), edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:93), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:247)] <location> edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:249) <stack> 
<TagVersion>1 <time> 06.900 <message> Starting live window mode. 
<TagVersion>1 <time> 06.901 <message> Initializing the components first time 
<TagVersion>1 <time> 06.901 <message> Initializing table for 'Subsystem 1' 'CAN Talon 1' 
<TagVersion>1 <time> 06.902 <message> Error at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:249): ERROR Unhandled exception: java.lang.NullPointerException: value cannot be null at [edu.wpi.first.wpilibj.networktables.NetworkTablesJNI.putString(Native Method), edu.wpi.first.wpilibj.networktables.NetworkTable.putString(NetworkTable.java:588), edu.wpi.first.wpilibj.livewindow.LiveWindow.initializeLiveWindowComponents(LiveWindow.java:51), edu.wpi.first.wpilibj.livewindow.LiveWindow.setEnabled(LiveWindow.java:74), edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:93), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:247)] 
<TagVersion>1 <time> 06.904 <message> WARNING: Robots don't quit! 
<TagVersion>1 <time> 06.905 <message> ---> 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 04:05.

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