Forum Discussion

swati19yadav's avatar
swati19yadav
New Member
2 years ago

Unable to Import ReadyAPI project to SoapUI

getting below error when Importing Ready API xml in Soap UI.

java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null

  • Mon Mar 27 15:39:42 IST 2023:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [fileproject xml path]
  • com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/project xml path]
  • at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:334)
  • at com.eviware.soapui.impl.wsdl.WsdlProject.(WsdlProject.java:220)
  • at com.eviware.soapui.impl.wsdl.WsdlProject.(WsdlProject.java:201)
  • at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:49)
  • at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:28)
  • at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:386)
  • at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:66)
  • at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:38)
  • at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
  • at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
  • at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
  • at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
  • at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
  • at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
  • at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1022)
  • at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1066)
  • at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
  • at java.desktop/java.awt.Component.processMouseEvent(Component.java:6617)
  • at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
  • at java.desktop/java.awt.Component.processEvent(Component.java:6382)
  • at java.desktop/java.awt.Container.processEvent(Container.java:2264)
  • at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993)
  • at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322)
  • at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
  • at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4934)
  • at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4563)
  • at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4504)
  • at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2308)
  • at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
  • at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
  • at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
  • at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
  • at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
  • at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
  • at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
  • at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
  • at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
  • at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
  • Caused by: java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.InterfaceFactory.build(com.eviware.soapui.impl.wsdl.WsdlProject, com.eviware.soapui.config.InterfaceConfig)" because the return value of "java.util.Map.get(Object)" is null
  • at com.eviware.soapui.impl.wsdl.InterfaceFactoryRegistry.build(InterfaceFactoryRegistry.java:51)
  • at com.eviware.soapui.impl.wsdl.WsdlProject.loadProjectFromInputStream(WsdlProject.java:389)
  • at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:317)
  • ... 46 more
  • Mon Mar 27 15:39:43 IST 2023:ERROR:java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null
  • java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null
  • at com.eviware.soapui.impl.wsdl.WsdlProject.resolve(WsdlProject.java:1571)
  • at com.eviware.soapui.support.resolver.ResolveDialog.resolve(ResolveDialog.java:197)
  • at com.eviware.soapui.impl.WorkspaceImpl.resolveProject(WorkspaceImpl.java:413)
  • at com.eviware.soapui.impl.WorkspaceImpl.afterProjectImport(WorkspaceImpl.java:474)
  • at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:391)
  • at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:66)
  • at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:38)
  • at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
  • at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
  • at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
  • at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
  • at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
  • at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
  • at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1022)
  • at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1066)
  • at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
  • at java.desktop/java.awt.Component.processMouseEvent(Component.java:6617)
  • at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
  • at java.desktop/java.awt.Component.processEvent(Component.java:6382)
  • at java.desktop/java.awt.Container.processEvent(Container.java:2264)
  • at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993)
  • at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322)
  • at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
  • at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4934)
  • at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4563)
  • at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4504)
  • at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2308)
  • at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
  • at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
  • at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
  • at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
  • at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
  • at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
  • at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
  • at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
  • at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
  • at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

1 Reply

  • mukeshbijalwan's avatar
    mukeshbijalwan
    Occasional Contributor

    I am also facing same issue. Could smartbear team have a look on this.
    Below error thrown when importing readyAPI project into SOAP-UI

     

    java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null