Ask a Question

3 NullPointerExceptions when working with a Project with no Project File

SLuong
Contributor

3 NullPointerExceptions when working with a Project with no Project File

Seems like these Nullpointers occurs when I'm opening up operations' requests while I have a Project with no Project File created.

Thu Oct 18 09:22:17 PDT 2007:ERROR:java.lang.NullPointerException
  java.lang.NullPointerException
  at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSystem(WsdlContext.java:303)
  at com.eviware.soapui.impl.wsdl.panels.request.components.RequestXmlDocument.getTypeSystem(RequestXmlDocument.java:66)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.outline.XmlOutlineEditorView.setXml(SourceFile:266)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.AbstractEditorView.setXmlDocument(AbstractEditorView.java:141)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEditor.addEditorView(XmlEditor.java:76)
  at com.eviware.soapui.impl.wsdl.panels.request.components.RequestMessageXmlEditor.(RequestMessageXmlEditor.java:46)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel$WsdlRequestMessageEditor.(AbstractWsdlRequestDesktopPanel.java:362)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildRequestEditor(AbstractWsdlRequestDesktopPanel.java:273)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestDesktopPanel.buildRequestEditor(SourceFile:39)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildContent(AbstractWsdlRequestDesktopPanel.java:221)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.init(AbstractWsdlRequestDesktopPanel.java:134)
  at com.eviware.soapui.impl.wsdl.panels.request.WsdlRequestDesktopPanel.(WsdlRequestDesktopPanel.java:36)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestDesktopPanel.(SourceFile:25)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:12)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:7)
  at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:211)
  at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:467)
  at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:461)
  at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
  at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:85)
  at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:98)
  at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Navigator.java:308)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.Component.processMouseEvent(Unknown Source)
  at javax.swing.JComponent.processMouseEvent(Unknown Source)
  at java.awt.Component.processEvent(Unknown Source)
  at java.awt.Container.processEvent(Unknown Source)
  at java.awt.Component.dispatchEventImpl(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Window.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.EventQueue.dispatchEvent(Unknown Source)
  at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.run(Unknown Source)
Thu Oct 18 09:22:17 PDT 2007:ERROR:java.lang.NullPointerException
  java.lang.NullPointerException
  at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSystem(WsdlContext.java:303)
  at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDocument.getTypeSystem(ResponseXmlDocument.java:88)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.outline.XmlOutlineEditorView.setXml(SourceFile:266)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.AbstractEditorView.setXmlDocument(AbstractEditorView.java:141)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEditor.addEditorView(XmlEditor.java:76)
  at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseMessageXmlEditor.(ResponseMessageXmlEditor.java:46)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel$WsdlResponseMessageEditor.(AbstractWsdlRequestDesktopPanel.java:391)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildResponseEditor(AbstractWsdlRequestDesktopPanel.java:268)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildContent(AbstractWsdlRequestDesktopPanel.java:222)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.init(AbstractWsdlRequestDesktopPanel.java:134)
  at com.eviware.soapui.impl.wsdl.panels.request.WsdlRequestDesktopPanel.(WsdlRequestDesktopPanel.java:36)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestDesktopPanel.(SourceFile:25)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:12)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:7)
  at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:211)
  at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:467)
  at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:461)
  at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
  at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:85)
  at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:98)
  at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Navigator.java:308)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.Component.processMouseEvent(Unknown Source)
  at javax.swing.JComponent.processMouseEvent(Unknown Source)
  at java.awt.Component.processEvent(Unknown Source)
  at java.awt.Container.processEvent(Unknown Source)
  at java.awt.Component.dispatchEventImpl(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Window.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.EventQueue.dispatchEvent(Unknown Source)
  at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.run(Unknown Source)
Thu Oct 18 09:22:17 PDT 2007:ERROR:java.lang.NullPointerException
  java.lang.NullPointerException
  at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getSchemaTypeSystem(WsdlContext.java:303)
  at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseXmlDocument.getTypeSystem(ResponseXmlDocument.java:88)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.form.AbstractXmlOverviewEditorView.setXml(SourceFile:103)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.AbstractEditorView.setXmlDocument(AbstractEditorView.java:141)
  at com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEditor.addEditorView(XmlEditor.java:76)
  at com.eviware.soapui.impl.wsdl.panels.request.components.ResponseMessageXmlEditor.(ResponseMessageXmlEditor.java:46)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel$WsdlResponseMessageEditor.(AbstractWsdlRequestDesktopPanel.java:391)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildResponseEditor(AbstractWsdlRequestDesktopPanel.java:268)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.buildContent(AbstractWsdlRequestDesktopPanel.java:222)
  at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.init(AbstractWsdlRequestDesktopPanel.java:134)
  at com.eviware.soapui.impl.wsdl.panels.request.WsdlRequestDesktopPanel.(WsdlRequestDesktopPanel.java:36)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestDesktopPanel.(SourceFile:25)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:12)
  at com.eviware.soapui.impl.wsdl.panels.request.ProWsdlRequestPanelBuilder.buildDesktopPanel(SourceFile:7)
  at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:211)
  at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:467)
  at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:461)
  at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
  at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:85)
  at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:98)
  at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Navigator.java:308)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
  at java.awt.Component.processMouseEvent(Unknown Source)
  at javax.swing.JComponent.processMouseEvent(Unknown Source)
  at java.awt.Component.processEvent(Unknown Source)
  at java.awt.Container.processEvent(Unknown Source)
  at java.awt.Component.dispatchEventImpl(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Window.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.EventQueue.dispatchEvent(Unknown Source)
  at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.run(Unknown Source)
5 REPLIES 5
omatzura
Super Contributor

Re: 3 NullPointerExceptions when working with a Project with no Project File

Hi!

could it be that you are running the webstart version which could explain this!?

regards!

/Ole
eviware.com
SLuong
Contributor

Re: 3 NullPointerExceptions when working with a Project with no Project File

Hi. 

I don't believe I'm running the webstart version.

Shiang
omatzura
Super Contributor

Re: 3 NullPointerExceptions when working with a Project with no Project File

ok.. hmm..

could you please attach or post the contents of the Help\System Properties dialog?

regards!

/Ole
eviware.com
SLuong
Contributor

Re: 3 NullPointerExceptions when working with a Project with no Project File

Per you request.  Thanks.
omatzura
Super Contributor

Re: 3 NullPointerExceptions when working with a Project with no Project File

Hi,

thanks.. ok.. I tracked this down, it's a bug related to internal SOAP Version handling and will occur when you import a WSDL that only contains a SOAP 1.2 binding (even if you do create a project file). You need to save / reload the project to get it initialized correctly.. either by restarting soapUI or just closing/opening it in the workspace (from the project popup menu, select "Close Project" and then "Open") 

Sorry for the inconvenience.. we'll have this fixed in the upcoming snapshot..

and thanks for reporting!

regards,

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: