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.
BuildImplTest.testJavadocPackagesDocumented failed due to an uncaught runtime exception manipulating progress handles: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:70) at org.netbeans.modules.progress.spi.TaskModel.getSelectedHandle(TaskModel.java:154) at org.netbeans.modules.progress.spi.TaskModel.updateSelection(TaskModel.java:91) at org.netbeans.modules.progress.spi.Controller.toIndeterminate(Controller.java:158) at org.netbeans.modules.progress.spi.InternalHandle.toIndeterminate(InternalHandle.java:182) at org.netbeans.api.progress.ProgressHandle.switchToIndeterminate(ProgressHandle.java:106) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.checkForStop(NbBuildLogger.java:204) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.messageLogged(NbBuildLogger.java:583) ... Looks to me like TaskModel reads & writes the 'model' field without apparent synchronization. Not sure if the InternalHandle lock is supposed to control all accesses.
*** Bug 196129 has been marked as a duplicate of this bug. ***
*** Bug 190798 has been marked as a duplicate of this bug. ***
*** Bug 205082 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 192420 ***