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.
This happened several times on multiprocessor Sparks. It's hard to tell whether it's connected with multiple processor presence or not. Warning: Cannot process more work than scheduled. Progress handle with name "Parsing clucene ..." has requested progress to workunit no.1 but the total number of workunits is 0. That means the progress bar UI will not display real progress and will stay at 100%. java.lang.IllegalArgumentException at org.netbeans.progress.module.InternalHandle.progress(InternalHandle.java:224) at org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:131) at org.netbeans.modules.cnd.modelimpl.platform.ParsingProgress.nextCsmFile(ParsingProgress.java:105) at org.netbeans.modules.cnd.modelimpl.platform.ProgressListenerImpl.fileParsingStarted(ProgressListenerImpl.java:65) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.fireFileParsingStarted(ParserQueue.java:385) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.poll(ParserQueue.java:263) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:34) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:50) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
I've got this in a single parser thread situation.
It is reproducable when more then 1 thread is created. If set up -J-Dcnd.modelimpl.parser.threads=1 exception disappeared. This bug blcoks QA's functinal testing on any muti-cpu machine.
-work around redundant progress incrementation -synchronize progress access CVS log: Checking in ParsingProgress.java; /shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/platform/ParsingProgress.java,v <-- ParsingProgress.java new revision: 1.2.2.2; previous revision: 1.2.2.1 done Checking in ParserQueue.java; /shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/ParserQueue.java,v <-- ParserQueue.java new revision: 1.2.2.6; previous revision: 1.2.2.5 done