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 originally marked as duplicate of issue 163564, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 090811) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.8, i386 User Comments: tslota: creating a new PHP project on a fresh user dir, it happened when the PHP feature was activating. Before I interrupted activating the Java feature Stacktrace: java.lang.NullPointerException: Send us the messages.log please! at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:266) at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$200(DescriptionStep.java:86) at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1$1.call(DescriptionStep.java:174) at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1$1.call(DescriptionStep.java:170) at org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run(ConfigurationPanel.java:198) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 86106 [details] stacktrace
Finally I think we can understand the problem. There is a thread dump at the bottom of the log file: http://statistics.netbeans.org/exceptions/messageslog?id=241721 and it shows that FoD Processor is in "deadlock" with AWT thread. As a result the php modules are not enabled until the AWT thread throws the NPE: FoD Processor java.lang.Object.wait:-2 java.lang.Object.wait:474 java.awt.EventQueue.invokeAndWait:848 javax.swing.SwingUtilities.invokeAndWait:1257 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForEnable:167 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForActivation:152 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$100:86 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$PresentModules.run:146 org.openide.util.RequestProcessor$Task.run:602 org.openide.util.RequestProcessor$Processor.run:1070 AWT-EventQueue-1 java.lang.Thread.dumpThreads:-2 java.lang.Thread.getAllStackTraces:1460 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.threadDump:372 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard:262 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$200:86 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1$1.call:174 org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1$1.call:170 org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run:198 Probably the code DescriptionStep needs to be modified to not block and wait for its piece being executed in AWT.
Fixed a5e113c18545. Thank Jarda for his tremendous help.
Integrated into 'main-golden', will be available in build *200908130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a5e113c18545 User: Pavel Flaska <pflaska@netbeans.org> Log: #170209: No iterator found due to AWT being occupied
*** Issue 164208 has been marked as a duplicate of this issue. ***