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.
Pages opened when the IDE starts (i.e. the pages left open when the IDE was closed) sometimes do not display correctly and stay on the 'Loading, please wait...' screen indefinitely. A stack dump does not appear to show any visualweb modules doing processing during this time. To reproduce: 1) Create a new visual web project 2) Create 3+ pages 3) Close the IDE with all the pages open and in the design view 4) Reopen the IDE Result: Sometimes a page (in my case the second page) has the design view selected but the page never loads.
One workaround is to close the page and open it again. Doing this causes the page to open correctly.
Unable to reproduce after repeated attempts. Reducing the priority as there is a workaround.
This is affecting automated tests. Roughly 1 in 5 tests fail with this error. The messages.log has only this error: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at org.netbeans.modules.visualweb.project.jsf.api.JsfProjectUtils.readResource(JsfProjectUtils.java:591) at org.netbeans.modules.visualweb.project.jsf.framework.JSFFrameworkProvider$CreateFacesConfig.run (JSFFrameworkProvider.java:516) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.visualweb.project.jsf.framework.JSFFrameworkProvider.extendImpl (JSFFrameworkProvider.java:173) at org.netbeans.modules.visualweb.project.jsf.framework.JSFConfigurationPanel.extend (JSFConfigurationPanel.java:93) at org.netbeans.modules.web.project.ui.wizards.NewWebProjectWizardIterator.instantiate (NewWebProjectWizardIterator.java:153) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1023) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:595) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:416) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1373) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1330) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:119) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1899) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Tested using: Product Version: NetBeans 6 IDE Dev (Build beta1: 200710011200) System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 Glassfish: 58g
The exception seems related to VW Framework. Assigning to Po-ting.
Note: The automated tests do not re-open projects. What it does is: 1. Create a project 2. Do stuff 3. Deploy the project 4. Closes the project 5. Undeploy the project 6. shuts down the IDE Then it goes to the next test and repeats the above steps.
Two things. First, this seems to be fixed in build 20071002000 for the automation. It fails for 200710010000. So someone, somewhere must have fixed something :) Second. The issue I was having (according to quy) is probably not the same issue he was seeing. So I will leave this open but downgrade it back to P4.
From the exception, it's reading file from org/netbeans/modules/web/jsf/resources/faces-config.xml. I guess it was broken (from web/jsf module) and is fixed now.