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 239548 - Problem on executing Threads
Summary: Problem on executing Threads
Status: RESOLVED DUPLICATE of bug 193861
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 09:00 UTC by wsoufiane
Modified: 2013-12-18 07:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Demanded Log File message (48.31 KB, application/octet-stream)
2013-12-17 14:52 UTC, wsoufiane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wsoufiane 2013-12-17 09:00:42 UTC
Hi,

I have executed lot of threads, and I rarely have this error message when all thread are freezed :

java.lang.IndexOutOfBoundsException: bitIndex < 0: -2147483648
        at java.util.BitSet.get(BitSet.java:615)
        at javax.swing.DefaultListSelectionModel.clear(DefaultListSelectionModel.java:278)
        at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
        at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
        at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
        at org.netbeans.modules.progress.spi.TaskModel.updateSelection(TaskModel.java:106)
        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:203)
        at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.targetFinished(NbBuildLogger.java:487)
        at org.apache.tools.ant.Project.fireTargetFinished(Project.java:2164)
        at org.apache.tools.ant.Target.performTasks(Target.java:416)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)


I Hope this bug will be resolved,
Thanks,
Comment 1 Jan Peska 2013-12-17 12:16:27 UTC
Can you please specify the issue in more detail? Are you talking about Netbeans or some platform app?
Comment 2 wsoufiane 2013-12-17 12:26:29 UTC
I was working on Netbeans, I have multiple programs with the same code,  but connecting to different database (MySQL/Apache). 
These programs are all running in the same time, and each one run a multiple thread.

On a moment, all the threads freezed, and show me these error.
Comment 3 Jan Peska 2013-12-17 12:36:34 UTC
OK, now, can you please attach IDE log from after the issue occurs - if you don't know where to find IDE log please take a look at http://wiki.netbeans.org/FaqLogMessagesFile

Or just send an exception report using the netbeans (Click "Review and Report" in exception dialog).
Comment 4 wsoufiane 2013-12-17 14:52:48 UTC
Created attachment 143252 [details]
Demanded Log File message
Comment 5 Jan Peska 2013-12-18 07:59:35 UTC
You are using a way outdated version of netbeans, I suggest to download and install the newest 7.4 version - this issue is most likely already fixed.

*** This bug has been marked as a duplicate of bug 193861 ***