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.

Bug 147816 - NPE at getProjectReferences() at New WSDL wizard on PHP project
Summary: NPE at getProjectReferences() at New WSDL wizard on PHP project
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-21 23:28 UTC by Masaki Katakai
Modified: 2008-10-14 23:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-09-21 23:28:41 UTC
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)
Comment 1 Shivanand Kini 2008-09-23 22:28:03 UTC
Fixed:
Changeset :
http://hg.netbeans.org/main/rev/fb529d57cc86
Comment 2 Shivanand Kini 2008-09-23 23:20:11 UTC
Fixed in soa-dev
Changeset : http://hg.netbeans.org/soa-dev/rev/4c757b59eede
Comment 3 ggenipudi 2008-10-14 23:30:04 UTC
Tested using Build 200810130101 and created BPEL project since there is no PHP project in GFESB.

Did not see nullpointer exception