Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Network Tables Error (http://www.chiefdelphi.com/forums/showthread.php?t=138155)

Howard Wang 12-09-2015 18:03

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

Howard Wang 12-09-2015 18:04

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

Howard Wang 12-09-2015 18:05

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

BenGuy 12-09-2015 18:36

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

BenGuy 12-09-2015 19:55

Re: Network Tables Error
 
http://www.chiefdelphi.com/forums/sh...hreadid=138155

BenGuy 12-09-2015 19:55

Re: Network Tables Error
 
http://www.chiefdelphi.com/forums/sh...hreadid=138155


All times are GMT -5. The time now is 02:59.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi