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 205918 - JavaFXProjectWizardIterator wrong progress usage
Summary: JavaFXProjectWizardIterator wrong progress usage
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 10:27 UTC by Petr Somol
Modified: 2011-12-06 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 183438


Attachments
stacktrace (5.18 KB, text/plain)
2011-12-05 10:27 UTC, Petr Somol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2011-12-05 10:27:27 UTC
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)
Comment 1 Petr Somol 2011-12-05 10:27:30 UTC
Created attachment 113814 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-12-05 12:48:57 UTC
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)
Comment 3 Anton Chechel 2011-12-05 13:37:30 UTC
fixed
http://hg.netbeans.org/jet-main/rev/a506e788f06e
Comment 4 Quality Engineering 2011-12-06 12:13:02 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a506e788f06e
User: Anton Chechel <manowar@netbeans.org>
Log: #205918: wrong progress usage