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 198408 - ArrayIndexOutOfBoundsException: 0
Summary: ArrayIndexOutOfBoundsException: 0
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 02:03 UTC by adam_myatt
Modified: 2011-06-09 04:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178738


Attachments
stacktrace (1.78 KB, text/plain)
2011-05-07 02:03 UTC, adam_myatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adam_myatt 2011-05-07 02:03:28 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows XP

User Comments:
adam_myatt: closed project




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1351)
   at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1294)
   at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2611)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
Comment 1 adam_myatt 2011-05-07 02:03:32 UTC
Created attachment 108158 [details]
stacktrace
Comment 2 Tomas Hurka 2011-05-16 09:02:59 UTC
listModel.removeAllElements() is invoked outside of AWT thread in doInBackground() on line 1304
Comment 3 Tomas Hurka 2011-06-07 09:01:28 UTC
Fixed in main

changeset:   195381:0850e496b798
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Jun 07 10:48:39 2011 +0200
summary:     bugfix #198408, invoke listModel.removeAllElements() in AWT
Comment 4 Tomas Hurka 2011-06-08 07:34:17 UTC
Fixed in 7.0.1

changeset:   200343:4ed5b7c59eb0
branch:      release701
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Jun 07 10:48:39 2011 +0200
summary:     bugfix #198408, invoke listModel.removeAllElements() in AWT
Comment 5 Quality Engineering 2011-06-08 14:46:38 UTC
Integrated into 'main-golden', will be available in build *201106080600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0850e496b798
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #198408, invoke listModel.removeAllElements() in AWT
Comment 6 Quality Engineering 2011-06-09 04:35:26 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/4ed5b7c59eb0
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #198408, invoke listModel.removeAllElements() in AWT
(transplanted from 0850e496b79846138e292eb7514bb0f18ec1a418)