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 176483 - [GFESB v2.2] WSDL Editor Issue - Unable to import external WSDL correctly
Summary: [GFESB v2.2] WSDL Editor Issue - Unable to import external WSDL correctly
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 01:39 UTC by raghuvirkamath
Modified: 2009-11-11 03:18 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 raghuvirkamath 2009-11-11 01:39:05 UTC
I wanted to log this under WSDL Editor but did not find the appropriate category.

1. Create a Comp app.

2. Create a 2 wsdls under process files.

3. Try to import one wsdl into another. it imports but incorrectly.

validate the wsdl , notice the error.

XML validation started.

XML validation started.

C:/Documents and Settings/Raghuvir/Desktop/CompositeApp1/src/jbiasa/CompositeApp1.wsdl:13,4
ERROR: cvc-complex-type.4: Attribute 'location' must appear on element 'import'.

C:/Documents and Settings/Raghuvir/Desktop/CompositeApp1/src/jbiasa/CompositeApp1.wsdl:13,4
ERROR: Missing imported document reference in import with location "null" and namespace "http://j2ee.netbeans.org/wsdl/CompositeApp1/SOAPWSDL". : Check if import location is correct.

2 Error(s),  0 Warning(s).
XML validation finished.


the location is not updated.

User can edit it in the editor too . while trying to update the location property

I get NPE .

java.lang.NullPointerException
	at org.netbeans.modules.xml.xam.ui.customizer.ExternalReferenceCustomizer.createRootNode(ExternalReferenceCustomizer.java:360)
	at org.netbeans.modules.xml.xam.ui.customizer.ExternalReferenceCustomizer.<init>(ExternalReferenceCustomizer.java:119)
	at org.netbeans.modules.xml.wsdl.ui.view.ImportWSDLCustomizer.<init>(ImportWSDLCustomizer.java:71)
	at org.netbeans.modules.xml.wsdl.ui.view.property.ImportLocationPropertyEditor.getCustomEditor(ImportLocationPropertyEditor.java:78)
	at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:129)
	at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:217)
	at org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:722)
	at java.awt.Component.processEvent(Component.java:6028)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4460)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 raghuvirkamath 2009-11-11 03:16:56 UTC
Import the wsdl as "by File" option in the Add Import window
Comment 2 raghuvirkamath 2009-11-11 03:18:32 UTC
Import the wsdl as "by Namespace" option in the Add Import window also give the same NPE