Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tannewt
, 1 year ago
JTermios call returned -1 at class jtermios.JTermios$JTermiosLogging line 489
via GitHub by tannewt
, 1 year ago
JTermios call returned -1 at class jtermios.JTermios$JTermiosLogging line 489
via GitHub by maheshsutariya
, 1 year ago
JTermios call returned -1 at class jtermios.JTermios$JTermiosLogging line 489
via GitHub by stefanct
, 1 year ago
JTermios call returned -1 at class purejavacomm.PureJavaSerialPort line 514
via GitHub by russm
, 1 year ago
JTermios call returned -1 at class purejavacomm.PureJavaSerialPort line 514
via GitHub by russm
, 1 year ago
JTermios call returned -1 at class purejavacomm.PureJavaSerialPort line 514
java.lang.IllegalStateException: JTermios call returned -1 at class jtermios.JTermios$JTermiosLogging line 489	at purejavacomm.PureJavaSerialPort.checkReturnCode(PureJavaSerialPort.java:908)	at purejavacomm.PureJavaSerialPort.setSerialPortParams(PureJavaSerialPort.java:478)	at purejavacomm.PureJavaSerialPort.(PureJavaSerialPort.java:722)	at purejavacomm.CommPortIdentifier.open(CommPortIdentifier.java:138)	at nl.lxtreme.ols.io.serial.CommConnectionFactory.getSerialPort(CommConnectionFactory.java:141)	at nl.lxtreme.ols.io.serial.CommConnectionFactory.obtainSerialPort(CommConnectionFactory.java:177)	at nl.lxtreme.ols.io.serial.CommConnectionFactory.createConnection(CommConnectionFactory.java:72)	at nl.lxtreme.ols.io.ConnectorServiceImpl.open(ConnectorServiceImpl.java:160)	at org.sump.device.logicsniffer.LogicSnifferDevice.createStreamConnection(LogicSnifferDevice.java:159)	at org.sump.device.logicsniffer.LogicSnifferDetectionTask.call(LogicSnifferDetectionTask.java:82)	at org.sump.device.logicsniffer.LogicSnifferDeviceProfilePanel.obtainDeviceMetadata(LogicSnifferDeviceProfilePanel.java:353)	at org.sump.device.logicsniffer.LogicSnifferDeviceProfilePanel$ShowDeviceMetadataAction.actionPerformed(LogicSnifferDeviceProfilePanel.java:243)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)	at java.awt.Component.processMouseEvent(Component.java:6505)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)	at java.awt.Component.processEvent(Component.java:6270)	at java.awt.Container.processEvent(Container.java:2229)	at java.awt.Component.dispatchEventImpl(Component.java:4861)	at java.awt.Container.dispatchEventImpl(Container.java:2287)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)	at java.awt.Container.dispatchEventImpl(Container.java:2273)	at java.awt.Window.dispatchEventImpl(Window.java:2719)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)	at java.awt.EventQueue.access$200(EventQueue.java:103)	at java.awt.EventQueue$3.run(EventQueue.java:682)	at java.awt.EventQueue$3.run(EventQueue.java:680)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)	at java.awt.EventQueue$4.run(EventQueue.java:696)	at java.awt.EventQueue$4.run(EventQueue.java:694)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:155)	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)	at java.security.AccessController.doPrivileged(Native Method)	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)	at java.awt.Dialog.show(Dialog.java:1077)	at java.awt.Component.show(Component.java:1651)	at java.awt.Component.setVisible(Component.java:1603)	at java.awt.Window.setVisible(Window.java:1014)	at java.awt.Dialog.setVisible(Dialog.java:1003)	at org.sump.device.logicsniffer.LogicSnifferConfigDialog.showDialog(LogicSnifferConfigDialog.java:586)	at org.sump.device.logicsniffer.LogicSnifferDevice.setupCapture(LogicSnifferDevice.java:138)	at nl.lxtreme.ols.client.ClientController.captureData(ClientController.java:535)	at nl.lxtreme.ols.client.action.CaptureAction.actionPerformed(CaptureAction.java:97)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)	at java.awt.Component.processMouseEvent(Component.java:6505)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)	at java.awt.Component.processEvent(Component.java:6270)	at java.awt.Container.processEvent(Container.java:2229)	at java.awt.Component.dispatchEventImpl(Component.java:4861)	at java.awt.Container.dispatchEventImpl(Container.java:2287)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)	at java.awt.Container.dispatchEventImpl(Container.java:2273)	at java.awt.Window.dispatchEventImpl(Window.java:2719)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)	at java.awt.EventQueue.access$200(EventQueue.java:103)	at java.awt.EventQueue$3.run(EventQueue.java:682)	at java.awt.EventQueue$3.run(EventQueue.java:680)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)	at java.awt.EventQueue$4.run(EventQueue.java:696)	at java.awt.EventQueue$4.run(EventQueue.java:694)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)