This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191171

Summary: IndexOutOfBoundsException: bitIndex < 0: -1
Product: platform Reporter: Exceptions Reporter <exceptions_reporter>
Component: Action ItemsAssignee: Tomas Stupka <tstupka>
Status: VERIFIED FIXED    
Severity: normal CC: azizur, deresh, jflyer, mmirilovic, sanantone
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 166017
Attachments: stacktrace

Description Exceptions Reporter 2010-10-20 11:37:35 UTC
Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
azizur: Just created a new project based on a existing source code.

Project was scanned and now I am ready to work... clicked on the Tasks (pane) for the project.... and I got this message.

GUEST: create project

GUEST: OPen a project




Stacktrace: 
java.lang.IndexOutOfBoundsException: bitIndex < 0: -1
   at java.util.BitSet.get(BitSet.java:441)
   at javax.swing.DefaultListSelectionModel.clear(DefaultListSelectionModel.java:257)
   at javax.swing.DefaultListSelectionModel.setState(DefaultListSelectionModel.java:567)
   at javax.swing.DefaultListSelectionModel.removeIndexInterval(DefaultListSelectionModel.java:635)
   at javax.swing.JTable.tableRowsDeleted(JTable.java:4497)
   at javax.swing.JTable.tableChanged(JTable.java:4400)
Comment 1 Exceptions Reporter 2010-10-20 11:37:41 UTC
Created attachment 102512 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-17 04:04:05 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=166017
Comment 3 Tomas Stupka 2011-03-21 10:09:35 UTC
fixed in http://hg.netbeans.org/core-main/rev/d747dc5f7c65
Comment 4 Quality Engineering 2011-03-22 09:57:47 UTC
Integrated into 'main-golden', will be available in build *201103220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d747dc5f7c65
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #191171 - IndexOutOfBoundsException: bitIndex < 0: -1
Comment 5 Marian Mirilovic 2011-03-22 11:29:53 UTC
We agreed with Tomas to do not backport current fix into release70, it doesn't cover all cases and very probably will cause regression. The target milestone stays Dev = 7.0.1 .
Comment 6 Tomas Stupka 2011-03-22 15:18:06 UTC
one more fix  http://hg.netbeans.org/core-main/rev/32478b14e95e
Comment 7 Quality Engineering 2011-03-23 10:01:46 UTC
Integrated into 'main-golden', will be available in build *201103230400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/32478b14e95e
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #191171 - IndexOutOfBoundsException: bitIndex < 0: -1
Comment 8 Stepan Zebra 2011-08-01 14:53:46 UTC
verified in release 701 build 201107282000