posted 15 years ago
Can anyone see why I would be getting a NullPointerException from the write command I'm making in the sendCommand method? I have checked the byte array to see that the values are truly there. I can't see why I would be getting a NullPointerException at run time from this line. Perhaps there is something I didn't initialize in the constructor? Does anyone have any suggestions. Thank you.