Serial Monitor Java Error

aedile

Member
Greetings,

I've been having an issue with my Serial Monitor for a while now. Every once in a while, it will stop working and spit out the java error below. Sometimes, switching between Serial and a different USB type will correct the issue, but usually the only way to fix it is to reboot. I was having this problem in Arduino 1.04 and Teensyduino 1.14 so today I upgraded to Arduino 1.05 and Teensyduino 1.15 and the same issue is occurring. This is leading me to believe it's likely environmental. I found a thread here that reported the same issue but there didn't seem to be any resolution:
http://forum.pjrc.com/threads/14143-Serial-Monitor-Issue?highlight=serial+monitor+java+error

Output from a compile/upload/turn on serial monitor with a simple sketch is shown below to help debugging.

Arduino: 1.0.5 (Windows 7), Board: "Teensy++ 2.0"
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 23
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 24
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 25
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 26
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 27
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 28
send: status - at Thu Aug 22 16:01:44 2013
sent: status - at Thu Aug 22 16:01:44 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 29
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 30
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 31
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 32
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 33
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 34
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 35
send: status - at Thu Aug 22 16:01:45 2013
sent: status - at Thu Aug 22 16:01:45 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 36
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 37
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 38
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 39
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 40
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 41
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 42
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 43
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 44
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 45
send: status - at Thu Aug 22 16:01:46 2013
sent: status - at Thu Aug 22 16:01:46 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 46
send: status - at Thu Aug 22 16:01:47 2013
sent: status - at Thu Aug 22 16:01:47 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 47
send: status - at Thu Aug 22 16:01:47 2013
sent: status - at Thu Aug 22 16:01:47 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 48
send: status - at Thu Aug 22 16:01:47 2013
sent: status - at Thu Aug 22 16:01:47 2013
get_line: "dir:C:\Users\[redacted]\AppData\Local\Temp\build5035019908716603133.tmp\"
get_line: "file:cord.cpp.hex"
get_line: "readable:1"
readable = 1
get_line: "auto:1"
auto = 1
get_line: "online:0"
online = 0
get_line: "online_count:3"
online_count = 0
get_line: "offline_count:0"
offline_count = 0
get_line: "state:0"
state = 0
get_line: "code_size:130048"
get_line: "EOT"
status read, retry 49
Please press the RESET BUTTON on your Teensy to upload your sketch. Auto-reboot only works if the Teensy is running a previous sketch.
processing.app.SerialNotFoundException: Serial port 'COM3' not found. Did you select the right one from the Tools > Serial Port menu?

at processing.app.Serial.<init>(Serial.java:193)

at processing.app.Serial.<init>(Serial.java:92)

at processing.app.SerialMonitor.openSerialPort(SerialMonitor.java:224)

at processing.app.Editor.handleSerial(Editor.java:2593)

at processing.app.Editor$17.actionPerformed(Editor.java:681)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

at javax.swing.AbstractButton.doClick(AbstractButton.java:357)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)

at java.awt.Component.processMouseEvent(Component.java:6263)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

at java.awt.Component.processEvent(Component.java:6028)

at java.awt.Container.processEvent(Container.java:2041)

at java.awt.Component.dispatchEventImpl(Component.java:4630)

at java.awt.Container.dispatchEventImpl(Container.java:2099)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

at java.awt.Container.dispatchEventImpl(Container.java:2085)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
 
Further information on this. After a late-night session fiddling around with my IDE, I came into work this morning without rebooting and I noticed I was having some slowdowns. I looked in my process list to see what was going haywire and I noticed that I had teeny_gateway running at nearly 50% of cpu, which seems strange since I shut down the IDE last night and haven't opened it since. Furthermore, I did an alphabetic sort on my task list and noticed that I have a large number of teensy_gateway processes that are doing seemingly nothing. I hesitate to call them zombie processes because I am not sure what the mechanism of teensy_gateway is. Not sure if this is related or not. Here is a screengrab detailing the processes.

Untitled-2.jpg
 
Back
Top