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.checkInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.setServerMode(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

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.checkInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.setServerMode(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

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.checkInit(NetworkTable.java:45)
[cRIO] at edu.wpi.first.wpilibj.networktables.NetworkTable.setServerMode(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

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