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.
Product Version: NetBeans IDE Dev (Build 200809201401) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.5 running on i386; UTF8; en (nb) NullPointerException happens on org.netbeans.modules.xml.catalogsupport.DefaultProjectCatalogSupport.getProjectReferences() by the following operations. I'm not sure if this is PHP project issue. 1. Start NetBeans 2. Create a PHP project 3. Open new file dialog, try to new WSDL Document here, select "XML" as category, "WSDL Document" as type 4. Click "Next", Click "Next" and go to "Abstract Configuration" page 5. Click "..." on "Element Or Type" field of "Input", "Output" and "Fault" list The following NPE happens always. I didn't see this issue when I tried it on Java and Web project. I'm seeing this on PHP project. java.lang.NullPointerException at org.netbeans.modules.xml.catalogsupport.DefaultProjectCatalogSupport.getProjectReferences(DefaultProjectCatalogSupport.java:233) at org.netbeans.modules.xml.wsdl.ui.api.property.ElementOrTypeChooserHelper.populateNodes(ElementOrTypeChooserHelper.java:126) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserPanel.populateRootNode(ElementOrTypeChooserPanel.java:144) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserPanel.initGUI(ElementOrTypeChooserPanel.java:138) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserPanel.<init>(ElementOrTypeChooserPanel.java:96) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserEditorPanel.openSchemaComponentChooser(ElementOrTypeChooserEditorPanel.java:147) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserEditorPanel.browseBtnActionPerformed(ElementOrTypeChooserEditorPanel.java:135) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserEditorPanel.access$000(ElementOrTypeChooserEditorPanel.java:76) at org.netbeans.modules.xml.wsdl.ui.view.ElementOrTypeChooserEditorPanel$1.actionPerformed(ElementOrTypeChooserEditorPanel.java:128)
Fixed: Changeset : http://hg.netbeans.org/main/rev/fb529d57cc86
Fixed in soa-dev Changeset : http://hg.netbeans.org/soa-dev/rev/4c757b59eede
Tested using Build 200810130101 and created BPEL project since there is no PHP project in GFESB. Did not see nullpointer exception