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 81045

Summary: Cannot run any single query due to IllegalArgumentException
Product: contrib Reporter: Jan Becicka <jbecicka>
Component: JackpotAssignee: issues@contrib <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 78882    

Description Jan Becicka 2006-07-25 10:08:24 UTC
I tried to use Jackpot and run some single query. But it fails with

WARNING [null]: Cannot process more work than scheduled. Progress handle with na
me "ErrorManager.annotate() usages" has requested progress to workunit no.1 but
the total number of workunits is 0. That means the progress bar UI will not disp
lay real progress and will stay at 100%.
java.lang.IllegalArgumentException
        at
org.netbeans.progress.module.InternalHandle.progress(InternalHandle.java:222)
        at
org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:131)
        at
org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:114)
        at
org.netbeans.modules.jackpot.ui.QueryProgressMonitor.queryFinished(QueryProgressMonitor.java:60)
        at org.netbeans.jackpot.builder.Engine.runScript(Engine.java:219)
        at
org.netbeans.modules.jackpot.JackpotModule.runCommand(JackpotModule.java:158)
        at
org.netbeans.modules.jackpot.ui.QueryAndRefactorAction$CommandRunner.run(QueryAndRefactorAction.java:140)
        at java.lang.Thread.run(Thread.java:619)

I downloaded jackpot modules today from AU.
Comment 1 _ tball 2006-07-27 10:08:38 UTC
Fixed problem in progress reporting and pushed it to the daily builds for 6.0,
5.5, and 5.0.
Comment 2 _ tball 2006-07-27 10:09:03 UTC
Forgot to mark it as fixed.