Go Down

Topic: Error inside Serial.serialEvent() (Read 340 times) previous topic - next topic

oaxacamatt1

Greetings All,

I was working on my Arduino Diecimila this evening and came across an error.  The reason why I am emailing you directly is because I did a search of the forum and found a similar error message from another user to which you started to reply.  

From  Arduino Forum ? Software ? Troubleshooting  
Error inside Serial.serialEvent()
27. Jan 2008 at 23:05  
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1201489509

The error message I am receiving is:
Error inside Serial.serialEvent()

java.io.IOException: Bad file descriptor in nativeavailable
    at gnu.io.RXTXPort.nativeavailable(Native Method)
    at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1532)
    at processing.app.Serial.serialEvent(Serial.java:206)
    at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
    at gnu.io.RXTXPort.eventLoop(Native Method)
    at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)

This message repeats.  

What I am doing is trying to measure capacitance.
See code:  
http://hmmtheresanidea.blogspot.com/2008/06/capacitance-measurer-v10.html

First I looked over the hardware and it seems fine.
Then I tried the simple stuff like unpluging and repluging the Arduino.
Then starting and stopping the Serial Monitor, which i can do
Then restarting the IDE software.

The first person who came across this error said they got it 'occasionally' I get it consistently.

Any thoughts,
Oaxacamatt

Go Up