Go to Post Math is FUN! - Cynette [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-09-2015, 18:03
Howard Wang Howard Wang is offline
Registered User
FRC #1671
 
Join Date: Jul 2015
Location: California
Posts: 7
Howard Wang is an unknown quantity at this point
Network Tables Error

Hi guys,

I have code for one of our offseason competitions but whenever I compile/run it, I keep getting this error:

java.lang.IllegalStateException: Network tables has already been initialized
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.c heckInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.s etServerMode(NetworkTable.java:68)
[cRIO] at edu.wpi.first.wpilibj.RobotBase.<init>(RobotBase.j ava:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(Iterat iveRobot.java:57)
[cRIO] at org.usfirst.frc.team1671.robot.Robot.<init>(Robot. java:9)
[cRIO] in virtual method #11 of com.sun.squawk.Klass(bci=53)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(99)
[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)





It was working fine yesterday at one of our team's outreach events; however it didn't work on anyone else's computer except mine... now today it isn't working at all.


Im sorta new to command based, so any help would be appreciated.


Thanks
  #2   Spotlight this post!  
Unread 12-09-2015, 18:04
Howard Wang Howard Wang is offline
Registered User
FRC #1671
 
Join Date: Jul 2015
Location: California
Posts: 7
Howard Wang is an unknown quantity at this point
Network Tables Error

Hi guys,

I have code for one of our offseason competitions but whenever I compile/run it, I keep getting this error:

java.lang.IllegalStateException: Network tables has already been initialized
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.c heckInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.s etServerMode(NetworkTable.java:68)
[cRIO] at edu.wpi.first.wpilibj.RobotBase.<init>(RobotBase.j ava:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(Iterat iveRobot.java:57)
[cRIO] at org.usfirst.frc.team1671.robot.Robot.<init>(Robot. java:9)
[cRIO] in virtual method #11 of com.sun.squawk.Klass(bci=53)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(99)
[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)





It was working fine yesterday at one of our team's outreach events; however it didn't work on anyone else's computer except mine... now today it isn't working at all.


Im sorta new to command based, so any help would be appreciated.


Thanks
  #3   Spotlight this post!  
Unread 12-09-2015, 18:05
Howard Wang Howard Wang is offline
Registered User
FRC #1671
 
Join Date: Jul 2015
Location: California
Posts: 7
Howard Wang is an unknown quantity at this point
Network Tables Error

Hi guys,

I have code for one of our offseason competitions but whenever I compile/run it, I keep getting this error:

java.lang.IllegalStateException: Network tables has already been initialized
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.c heckInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.s etServerMode(NetworkTable.java:68)
[cRIO] at edu.wpi.first.wpilibj.RobotBase.<init>(RobotBase.j ava:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(Iterat iveRobot.java:57)
[cRIO] at org.usfirst.frc.team1671.robot.Robot.<init>(Robot. java:9)
[cRIO] in virtual method #11 of com.sun.squawk.Klass(bci=53)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(99)
[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)





It was working fine yesterday at one of our team's outreach events; however it didn't work on anyone else's computer except mine... now today it isn't working at all.


Im sorta new to command based, so any help would be appreciated.


Thanks
  #4   Spotlight this post!  
Unread 12-09-2015, 18:36
BenGuy's Avatar
BenGuy BenGuy is offline
Co-Driver - 3641 - Flying Toasters
AKA: Ben
FRC #3641 (The Flying Toasters)
Team Role: Operator
 
Join Date: May 2014
Rookie Year: 2014
Location: South Lyon, Michigan
Posts: 219
BenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of light
Re: Network Tables Error

You're not the only one having problems with this, you should be able to find some answers at one of these forums...

http://www.chiefdelphi.com/forums/ar.../t-111048.html

http://www.chiefdelphi.com/forums/sh...d.php?t=111048
__________________



Ben Wolak
The Flying Toasters Website

Team YouTube
Team Twitter

The real problem with computers is that they do what you tell them to do, not what you want them to do.
  #5   Spotlight this post!  
Unread 12-09-2015, 19:55
BenGuy's Avatar
BenGuy BenGuy is offline
Co-Driver - 3641 - Flying Toasters
AKA: Ben
FRC #3641 (The Flying Toasters)
Team Role: Operator
 
Join Date: May 2014
Rookie Year: 2014
Location: South Lyon, Michigan
Posts: 219
BenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of light
Re: Network Tables Error

http://www.chiefdelphi.com/forums/sh...hreadid=138155
__________________



Ben Wolak
The Flying Toasters Website

Team YouTube
Team Twitter

The real problem with computers is that they do what you tell them to do, not what you want them to do.
  #6   Spotlight this post!  
Unread 12-09-2015, 19:55
BenGuy's Avatar
BenGuy BenGuy is offline
Co-Driver - 3641 - Flying Toasters
AKA: Ben
FRC #3641 (The Flying Toasters)
Team Role: Operator
 
Join Date: May 2014
Rookie Year: 2014
Location: South Lyon, Michigan
Posts: 219
BenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of light
Re: Network Tables Error

http://www.chiefdelphi.com/forums/sh...hreadid=138155
__________________



Ben Wolak
The Flying Toasters Website

Team YouTube
Team Twitter

The real problem with computers is that they do what you tell them to do, not what you want them to do.
Closed Thread


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 02:59.

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