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 issue was reported manually by jtulach. It already has 1 duplicates Build: NetBeans IDE Dev (Build 20111020-6168d34d7f8c) VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07 OS: Windows 7 User Comments: psomol: After total clean (deletion of all userdirs including testuserdir etc.) I compiled NB from trunk with cluster.config=basic. Then I run the compiled NB, and quite quickly created in it a new JavaFX project. Apparently the NB IDE start-up had not finished yet at the time of new project creation. The new project seems to be created correctly. The exception appeared roughly at the moment when the project creation finished. Stacktrace: java.lang.ClassNotFoundException: org.netbeans.modules.java.hints.bugs.UnusedAssignmentOrBranch$JavaFactoryImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Created attachment 113814 [details] stacktrace
INFO [org.netbeans.modules.progress.spi.InternalHandle]: Cannot process more work than scheduled. Progress handle with name "Please wait." has requested progress to workunit no.5 but the total number of workunits is 4. That means the progress bar UI will not display real progress and will stay at 100%. java.lang.IllegalArgumentException at org.netbeans.modules.progress.spi.InternalHandle.progress(InternalHandle.java:265) at org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:174) at org.netbeans.modules.javafx2.project.JavaFXProjectWizardIterator.instantiate(JavaFXProjectWizardIterator.java:312) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1046) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:617) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:426) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:252) at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1565) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1520) at org.openide.WizardDescriptor.access$1800(WizardDescriptor.java:139) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2133) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
fixed http://hg.netbeans.org/jet-main/rev/a506e788f06e
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a506e788f06e User: Anton Chechel <manowar@netbeans.org> Log: #205918: wrong progress usage