View Single Post
  #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