Go to Post Our robot will use sensors to collect information about its environment, then discard that information and drive into a wall. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 01-07-2013, 01:07 AM
IBeMad IBeMad is offline
Registered User
FRC #3968
 
Join Date: Jan 2013
Location: Washington
Posts: 4
IBeMad is an unknown quantity at this point
NetworkTable crash in unmodified SimpleRobot template

I'm getting a null pointer exeption in
Code:
NetworkTable::Initialize()
on the following line:

Code:
staticProvider = new NetworkTableProvider(*(mode->CreateNode(ipAddress.c_str(), port, threadManager)));
This crash occurs in unmodified SimpleRobotTemplate code. How does something like this even get through QA, or is there even any QA to begin with? Sure seems like there isn't any...

Earlier on in the call stack, the crash stems from
Code:
SimpleRobot::StartCompetition()
when it calls

Code:
LiveWindow *lw = LiveWindow::GetInstance();
which creates a new instance of LiveWindow since it's the first time GetInstance() is called, which results in it calling
Code:
NetworkTable::GetTable("LiveWindow")
.

When will this be fixed in WPILib, and how can I work around it in the meantime?

Last edited by IBeMad : 01-07-2013 at 01:12 AM.
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 09:44 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