java.lang.IndexOutOfBoundsException

bitIndex < 0: -1

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5021

  • via JFrog JIRA by Andreas Karajannis, 10 months ago
    bitIndex < 0: -1
  • bitIndex < 0: -1<br/>
  • via Coderanch by Sharon whipple, 11 months ago
    bitIndex < 0: -1
  • Stack trace

    • java.lang.IndexOutOfBoundsException: bitIndex < 0: -1 at java.util.BitSet.get(BitSet.java:623) at javax.swing.DefaultListSelectionModel.clear(DefaultListSelectionModel.java:278) at javax.swing.DefaultListSelectionModel.setState(DefaultListSelectionModel.java:584) at javax.swing.DefaultListSelectionModel.removeIndexInterval(DefaultListSelectionModel.java:652) at javax.swing.plaf.basic.BasicListUI$Handler.intervalRemoved(BasicListUI.java:2601) at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:179) at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:174) at javax.swing.JComboBox.removeAllItems(JComboBox.java:771) at view.MainFrame.lambda$startPortsUpdate$3(MainFrame.java:188) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.