-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
Component: IDEThe Arduino IDEThe Arduino IDEComponent: IDE Serial monitorTools > Serial MonitorTools > Serial MonitorComponent: UploadingUploading programs to an Arduino boardUploading programs to an Arduino boardType: BugWaiting for feedbackMore information must be provided before we can proceedMore information must be provided before we can proceed
Description
Related partly to #3379 (actually discovered due to testing repeatability).
An exception error will occur if the serial monitor is opened, the arduino is unplugged, plugged back in, and then uploaded to. When you click upload a second time, it disables the serial monitor properly and uploads.
java.io.IOException: jssc.SerialPortException: Port name - COM6; Method name - setEventsMask(); Exception type - Can't set mask.
at processing.app.Serial.dispose(Serial.java:146)
at processing.app.SerialMonitor.close(SerialMonitor.java:108)
at processing.app.AbstractMonitor.suspend(AbstractMonitor.java:206)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2375)
at java.lang.Thread.run(Thread.java:745)
Caused by: jssc.SerialPortException: Port name - COM6; Method name - setEventsMask(); Exception type - Can't set mask.
at jssc.SerialPort.setEventsMask(SerialPort.java:279)
at jssc.SerialPort.removeEventListener(SerialPort.java:1064)
at jssc.SerialPort.closePort(SerialPort.java:1090)
at processing.app.Serial.dispose(Serial.java:143)
... 4 more
andkirby and simitenbiri
Metadata
Metadata
Assignees
Labels
Component: IDEThe Arduino IDEThe Arduino IDEComponent: IDE Serial monitorTools > Serial MonitorTools > Serial MonitorComponent: UploadingUploading programs to an Arduino boardUploading programs to an Arduino boardType: BugWaiting for feedbackMore information must be provided before we can proceedMore information must be provided before we can proceed