View Single Post
  #15   Spotlight this post!  
Unread 02-02-2012, 17:33
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
Re: We got Sockets working

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)

Last edited by ProgrammerMatt : 02-02-2012 at 17:46.
Reply With Quote