java.lang.IllegalArgumentException: bad position: -1

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 628#135981021
    via GitHub by gary-rowe
    ,
    • java.lang.IllegalArgumentException: bad position: -1 at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)[na:1.7.0_80] at javax.swing.text.DefaultEditorKit$BeginLineAction.actionPerformed(Unknown Source)[na:1.7.0_80] at javax.swing.text.DefaultEditorKit$SelectLineAction.actionPerformed(Unknown Source)[na:1.7.0_80] at javax.swing.text.DefaultCaret.mouseClicked(Unknown Source)[na:1.7.0_80] at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)[na:1.7.0_80] at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)[na:1.7.0_80] at java.awt.Component.processMouseEvent(Unknown Source)[na:1.7.0_80] at javax.swing.JComponent.processMouseEvent(Unknown Source)[na:1.7.0_80] at java.awt.Component.processEvent(Unknown Source)[na:1.7.0_80] at java.awt.Container.processEvent(Unknown Source)[na:1.7.0_80] at java.awt.Component.dispatchEventImpl(Unknown Source)[na:1.7.0_80] at java.awt.Container.dispatchEventImpl(Unknown Source)[na:1.7.0_80] at java.awt.Component.dispatchEvent(Unknown Source)[na:1.7.0_80] at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)[na:1.7.0_80] at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)[na:1.7.0_80] at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)[na:1.7.0_80] at java.awt.Container.dispatchEventImpl(Unknown Source)[na:1.7.0_80] at java.awt.Window.dispatchEventImpl(Unknown Source)[na:1.7.0_80] at java.awt.Component.dispatchEvent(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue.access$300(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue$3.run(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue$3.run(Unknown Source)[na:1.7.0_80] at java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_80] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)[na:1.7.0_80] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue$4.run(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue$4.run(Unknown Source)[na:1.7.0_80] at java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_80] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)[na:1.7.0_80] at java.awt.EventQueue.dispatchEvent(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)[na:1.7.0_80] at java.awt.EventDispatchThread.run(Unknown Source)[na:1.7.0_80]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates