Forum Discussion

jorgew's avatar
jorgew
New Contributor
15 years ago

Another WADL import error, parameter types

Here's another issue with 3.6-Beta 2 when importing WADLs. If a parameter type is not in the XSD: namespace, I get an NPE. So for example:

<param name="type" style="query"
required="false" type="mine:SomeType"
default="TYPE1" />

SomeType is defined as a simple type in my Schema. It's an enumeration.
....

Sun Sep 05 22:08:40 CDT 2010:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.isAnyType(SchemaUtils.java:736)
at com.eviware.soapui.support.editor.views.xml.form2.components.SingleContentEditorComponent.a(SourceFile:72)
at com.eviware.soapui.support.editor.views.xml.form2.components.SingleContentEditorComponent.getComponent(SourceFile:42)
at com.eviware.soapui.support.editor.views.xml.form2.components.AbstractEditorComponent.addEditorToForm(SourceFile:221)
at com.eviware.soapui.support.editor.views.xml.form2.components.SequenceEditorComponent.a(SourceFile:48)
at com.eviware.soapui.support.editor.views.xml.form2.components.SequenceEditorComponent.<init>(SourceFile:29)
at com.eviware.soapui.support.editor.views.xml.form2.EditorComponentFactory.a(SourceFile:49)
at com.eviware.soapui.support.editor.views.xml.form2.EditorComponentFactory.buildEditorComponent(SourceFile:34)
at com.eviware.soapui.support.editor.views.xml.form2.EditorComponentFactory.buildEditorComponent(SourceFile:14)
at com.eviware.soapui.support.editor.views.xml.form2.FormEditorView.a(SourceFile:173)
at com.eviware.soapui.support.editor.views.xml.form2.FormEditorView.activate(SourceFile:138)
at com.eviware.soapui.support.editor.Editor$InputTabsChangeListener.stateChanged(Editor.java:220)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
at com.eviware.soapui.support.editor.Editor.selectView(Editor.java:96)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestPanelBuilder.buildDesktopPanel(SourceFile:19)
at com.eviware.soapui.impl.rest.panels.request.ProRestRequestPanelBuilder.buildDesktopPanel(SourceFile:11)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:181)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:571)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:559)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:104)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:408)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
No RepliesBe the first to reply