This is more for derek but when i send data to my robot using this code
http://pastebin.com/x2KZepNR that i made i get a thread error and null pointer any ideas?
here is error
Code:
[cRIO] Default disabled() method running, consider providing your own
[cRIO] Uncaught exception in Thread.run():
[cRIO] on thread Thread-6
[cRIO] java.lang.NullPointerException
[cRIO] at edu.wpi.first.wpilibj.templates.Socket.run(Socket.java:40)
[cRIO] in virtual method #47 of com.sun.squawk.VMThread(bci=42)
[cRIO] in static method #3 of com.sun.squawk.VM(bci=6)