Log in

View Full Version : Network Tables Error


Howard Wang
12-09-2015, 18:03
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.java:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(IterativeRobot.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
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.java:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(IterativeRobot.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
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.java:69)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.<init>(IterativeRobot.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
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/archive/index.php/t-111048.html

http://www.chiefdelphi.com/forums/showthread.php?t=111048

BenGuy
12-09-2015, 19:55
http://www.chiefdelphi.com/forums/showthread.php?threadid=138155

BenGuy
12-09-2015, 19:55
http://www.chiefdelphi.com/forums/showthread.php?threadid=138155