Forum Discussion

mkhan031486's avatar
mkhan031486
Contributor
7 years ago

Projects not being loaded correctly

Hi I have SoapUI Pro installed, and recently I had my laptop changed since the old one had hardware issues. So what I did was, I saved all my projects and scripts in a USB Drive and then I got my new laptop. I re-installed soapUI pro and then copied all the saved projects to the new hard drive. 

 

When I try to load those projects in SoapUi Pro or save a project... this is what I see in the logs. (D drive being the USB and C being my drive on the laptop)

 

12:32:24,237 INFO  [WsdlProject] Loaded project from [file:/C:/Users/ab24146/Documents/Regression-soapui-project.xml]
12:32:24,734 INFO  [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Users\ab24146\Documents\SoapUI-Pro-5.1.1\bin\scripts]
12:32:28,154 ERROR [WorkspaceImpl] Failed to save workspace: D:\Backup\SoapUI\Regression-soapui-project\default-soapui-workspace.xml (The system cannot find the path specified)
java.io.FileNotFoundException: D:\Backup\SoapUI\Regression-soapui-project\default-soapui-workspace.xml (The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:566)
        at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2526)
        at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:206)
        at com.eviware.soapui.impl.WorkspaceImpl.saveWorkspaceConfig(WorkspaceImpl.java:277)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:263)
        at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:231)
        at com.eviware.soapui.impl.WorkspaceImpl.afterProjectImport(WorkspaceImpl.java:426)
        at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:343)
        at com.eviware.soapui.impl.actions.ProImportWsdlProjectAction.perform(SourceFile:43)
        at com.eviware.soapui.impl.actions.ProImportWsdlProjectAction.perform(SourceFile:15)
        at com.eviware.soapui.SoapUI$ImportWsdlProjectActionDelegate.actionPerformed(SoapUI.java:1394)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(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.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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)

But whenever I insert that USB in and then load or save any projects. I don't see any issues in the logs. 

 

Can somebody please help me with this issue. Thanks!

 

 

  • Well it looks like SoapUI is trying to load a workspace from D: (your usb). You can try to create a new workspace on your C: drive (File -> Workspace -> New Workspace). Let me know if it works.

  • Lucian's avatar
    Lucian
    Community Hero

    Well it looks like SoapUI is trying to load a workspace from D: (your usb). You can try to create a new workspace on your C: drive (File -> Workspace -> New Workspace). Let me know if it works.

    • Olga_T's avatar
      Olga_T
      SmartBear Alumni (Retired)

      Hi all,

       

      Lucian, thank you for this suggestion.

      mkhan031486, have you had a chance to try this approach? 

       

      If it works, please accept it as a solution - our users will be able to find this suggestion easier.

      Thank you in advance,