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.
Build: NetBeans IDE Dev (Build 20110912-c50ade4b58c7) VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Linux User Comments: marfous: 1, generated many Session Beans from Entity Beans Stacktrace: java.lang.IllegalStateException: Queue full at java.util.AbstractQueue.add(AbstractQueue.java:71) at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:437) 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:1550)
Created attachment 110653 [details] stacktrace
please provide exact steps to reproduce, thanks
1. WizardDescriptor.ProgressInstantiatingIterator<WizardDescriptor>.instantiate() throws IOException. 2. Wizard shows last step. Press Finish again. 3. If instantiate() throws IOException again the IllegalStateException is appeared.
Created attachment 113075 [details] stacktrace call Finish second time, because first time some data was incorrect and second data was incorrect too
I'm rising priority, because it's really impossible to do long validations in instantiate(...) of WizardDescriptor.ProgressInstantiatingIterator which throws IOException. If user entered twice incorrect info => 100% on the second Finish this bug occurs
jesse, you've introduced the blocking queue when fixing #191951. can you look at this one pls?
Not sure how to reproduce so would appreciate verification of fix.
core-main #efbeea4eae74
I can check when commit appears in cnd-main, but the easiest way for you could be: - find your own ProgressInstantiatingIterator implementation - throw IOException in instantiate method
efbeea4eae74 is not propagated into cnd-main, because core-main is not stable on deadlock http://deadlock.netbeans.org/hudson/job/NB-Core-Build
The only such class I can trivially find is JavacardPlatformWizardIterator, which I cannot run on Linux anyway. This is in main-silver, can you check it please?
it works, thanks!
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/efbeea4eae74 User: Jesse Glick <jglick@netbeans.org> Log: #201996: IllegalStateException: Queue full
*** Bug 202547 has been marked as a duplicate of this bug. ***