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 20120917-236291c75541) VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10 OS: Linux User Comments: tmysik: Using WizardDescriptor.AsynchronousValidatingPanel for wizard panel validation Stacktrace: java.lang.AssertionError at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:745) at org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:71) at org.openide.WizardDescriptor$10.run(WizardDescriptor.java:1445) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Created attachment 124458 [details] stacktrace
Discovered while fixing issue #217759.
It seems to me that now the WizardDescriptor.AsynchronousValidatingPanel does not work properly since TemplateWizard.updateState() is not called in EDT so it is rescheduled. This causes that this method is usually called _after_ error message from WizardValidationException is set [1] (but it should be called _before_ so possible error from the WizardValidationException can be shown). I am afraid but I think that this issue is P2 (since no error message is displayed to the user), sorry. Thanks. [1] WizardDescriptor:1448
tmysik: do I read your report correctly that the problem is not in projects, but in generic wizard infrastructure? reassigning..
updateState() is indeed rescheduled but so is setMessage() as it must be called from EDT as well. Please re-evaluate and reopen, thanks.
OK, I see. Well, frankly, I don't want to spend more time with this issue (at least now), I am sure that you know the code better ;) However the assertion error is still valid so reopening.
*** Bug 218635 has been marked as a duplicate of this bug. ***
Showstopper for usability study. Seriously guys, if you can't successfully create an HTML5 project how is this marked as a P3? Are there others such P3s in our backlog?
What are the exact steps to reproduce? I am not able to reproduce.
(In reply to comment #9) > What are the exact steps to reproduce? I am not able to reproduce. My report in issue 218635 (comment #4) is reproducible this way: - create a new HTML/JS project, select some online template - add some JS library and press Finish (now it fails with issue 218677) - press Finish again => AE
seems that if you either select: - template and no JS library or - no template and some JS library then it works
It is an assertion so only dev builds are affected (that is the reason why I left P3 priority).
Created attachment 124677 [details] stacktrace Downloading "angular.js" (not "AngularJS") and version "1.0.0rc6 minified" in New Project dialog
Since issue 218677 is fixed, the reproducible way (at least now) is: - invoke New Project dialog, select HTML/JavaScript - all default values - in JavaScript Files step, select "angular.js" library (MUST BE the one with lower case) and left version as it is - press Finish The reason for that particular library is that it is not available (404 Not Found) so the process fails. I'm really not sure if this is a stopper for beta. Fixing 218677 made it less urgent
(or easier way is to disconnect from internet and try to create project from online template and/or add JS library)
If this issue is reproducible 'only' if the URL is broken (or library not available) and we will not face the issue during our J1 demo, I do not think it's a stopper for Beta.
core-main 067effe42306
Standa says the fix is quite risky, and since it is possible to avoid this, I recommend not putting this into beta. Please speak up if you feel strongly this is a beta stopper.
(In reply to comment #18) > Standa says the fix is quite risky, and since it is possible to avoid this, I > recommend not putting this into beta. Please speak up if you feel strongly this > is a beta stopper. +1
Integrated into 'main-golden', will be available in build *201209220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/067effe42306 User: S. Aubrecht <saubrecht@netbeans.org> Log: #218475 - make sure we call updateState from EDT only
*** Bug 219028 has been marked as a duplicate of this bug. ***
*** Bug 219220 has been marked as a duplicate of this bug. ***
*** Bug 219170 has been marked as a duplicate of this bug. ***
*** Bug 219311 has been marked as a duplicate of this bug. ***
*** Bug 219312 has been marked as a duplicate of this bug. ***
*** Bug 219412 has been marked as a duplicate of this bug. ***
*** Bug 219550 has been marked as a duplicate of this bug. ***
*** Bug 219599 has been marked as a duplicate of this bug. ***
*** Bug 219630 has been marked as a duplicate of this bug. ***
*** Bug 219866 has been marked as a duplicate of this bug. ***
*** Bug 220238 has been marked as a duplicate of this bug. ***
*** Bug 220353 has been marked as a duplicate of this bug. ***
*** Bug 220358 has been marked as a duplicate of this bug. ***
*** Bug 220379 has been marked as a duplicate of this bug. ***
*** Bug 220384 has been marked as a duplicate of this bug. ***
*** Bug 220416 has been marked as a duplicate of this bug. ***
*** Bug 220432 has been marked as a duplicate of this bug. ***
*** Bug 220452 has been marked as a duplicate of this bug. ***
*** Bug 220465 has been marked as a duplicate of this bug. ***
*** Bug 220472 has been marked as a duplicate of this bug. ***
*** Bug 220497 has been marked as a duplicate of this bug. ***
*** Bug 220553 has been marked as a duplicate of this bug. ***
*** Bug 220554 has been marked as a duplicate of this bug. ***
*** Bug 220618 has been marked as a duplicate of this bug. ***
*** Bug 220647 has been marked as a duplicate of this bug. ***
*** Bug 220653 has been marked as a duplicate of this bug. ***
*** Bug 220648 has been marked as a duplicate of this bug. ***
*** Bug 220692 has been marked as a duplicate of this bug. ***
*** Bug 220987 has been marked as a duplicate of this bug. ***
*** Bug 220948 has been marked as a duplicate of this bug. ***
*** Bug 221021 has been marked as a duplicate of this bug. ***
*** Bug 221121 has been marked as a duplicate of this bug. ***
*** Bug 221138 has been marked as a duplicate of this bug. ***
*** Bug 221186 has been marked as a duplicate of this bug. ***
*** Bug 221291 has been marked as a duplicate of this bug. ***
*** Bug 221404 has been marked as a duplicate of this bug. ***
*** Bug 222052 has been marked as a duplicate of this bug. ***
*** Bug 222141 has been marked as a duplicate of this bug. ***
*** Bug 222306 has been marked as a duplicate of this bug. ***
*** Bug 224049 has been marked as a duplicate of this bug. ***
*** Bug 224070 has been marked as a duplicate of this bug. ***
*** Bug 224218 has been marked as a duplicate of this bug. ***
*** Bug 224376 has been marked as a duplicate of this bug. ***
*** Bug 224412 has been marked as a duplicate of this bug. ***
*** Bug 224686 has been marked as a duplicate of this bug. ***
*** Bug 224797 has been marked as a duplicate of this bug. ***
*** Bug 225378 has been marked as a duplicate of this bug. ***
*** Bug 225660 has been marked as a duplicate of this bug. ***
*** Bug 226374 has been marked as a duplicate of this bug. ***
*** Bug 226405 has been marked as a duplicate of this bug. ***
*** Bug 226947 has been marked as a duplicate of this bug. ***
*** Bug 227122 has been marked as a duplicate of this bug. ***
*** Bug 229492 has been marked as a duplicate of this bug. ***
*** Bug 226961 has been marked as a duplicate of this bug. ***