Ask a Question

invalid project file

SOLVED
senthil1
Occasional Contributor

invalid project file

Hi 

 

I am using readyAPI. All was working fine, may be I imported few test cases from a different project, And now I am unable to open the workspace / project, I get invalid project file error. If I am given an option I would delete few test cases, which require a different Rest_Service. Thanks. Senthil

 

 

Below is the error log

 

Fri Jan 22 17:40:32 GMT 2016:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/home/xxx/data/soapUIdata/yyy/atsSoapUITests/]
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/home/xxx/data/soapUIdata/yyy/atsSoapUITests/]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:420)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:241)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:222)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:168)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:36)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:367)
at com.eviware.soapui.impl.actions.ProImportWsdlProjectAction.perform(ProImportWsdlProjectAction.java:44)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:1)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:129)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$300(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)
Caused by: org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
at com.eviware.soapui.config.impl.AssertionEntryConfigImpl.getSourceId(Unknown Source)
at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getSourceId(AssertionEntry.java:182)
at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getSource(AssertionEntry.java:190)
at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getPropertyName(AssertionEntry.java:224)
at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.propertyRemoved(AssertionEntry.java:584)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.firePropertyRemoved(XmlBeansPropertiesTestPropertyHolder.java:121)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.removeProperty(XmlBeansPropertiesTestPropertyHolder.java:199)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.syncProperties(WsdlRunTestCaseTestStep.java:119)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.setTargetTestCase(WsdlRunTestCaseTestStep.java:322)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.afterLoad(WsdlRunTestCaseTestStep.java:111)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.afterLoad(WsdlTestCase.java:1206)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237)
at com.eviware.soapui.impl.wsdl.WsdlTestSuite.afterLoad(WsdlTestSuite.java:372)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237)
at com.eviware.soapui.impl.wsdl.WsdlProject.afterLoad(WsdlProject.java:674)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:404)
... 48 more

2 REPLIES 2
TanyaYatskovska
SmartBear Alumni (Retired)

Hi Senthil1,

 

I recommend that you contact our Ready! API Support Team to troubleshoot this error. Please provide them with the problematic project. You can contact them here:

http://support.smartbear.com/product-list/

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cata12
Contributor

In my case the issue was that somehow the project xml details were duplicated in the "settings" file. I just deleted the duplicate and was able to import the project again

cancel
Showing results for 
Search instead for 
Did you mean: