Forum Discussion

msmini2014's avatar
msmini2014
Occasional Contributor
10 years ago

failed to load project

Hi,


I am unable to open the project in Ready! API 1.3.0

It says Invalid Project file. Please try again. It was working all this time.

What could be the reason.

 

I see this in the error log...

 

=====================================================================================

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.XmlException: error: Unexpected end of file
 at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
 at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1276)
 at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263)
 at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
 at com.eviware.soapui.config.SoapuiProjectDocumentConfig$Factory.parse(Unknown Source)
 at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:484)
 at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:313)
 ... 48 more
Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 24558; columnNumber: 395115; Unexpected end of file
 at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
 at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
 at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454)
 ... 54 more

 

=====================================================================================

 

Can anyone please let me knwo how to restore my project..

 

Thank you

M

 

  • nmrao's avatar
    nmrao
    Champion Level 3

    See if there is any thing wrong in the mentioned line:

    -----------------

    Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 24558; columnNumber: 395115; Unexpected end of file

    --------------------------

    • Akhila's avatar
      Akhila
      New Member

      Hello SmartBear Team,

       

      I am unable to re-import a project that I had saved in my local folder. I see 'Invalid Project file <location of the project>. Please try again'  error pop up window is seen.

       

      Can you please help me on this. I had a lot of api's in that project and unfortunately I am seeing the error in the same project.

       

      Attached screenshot for reference.

       

      Thanks,

      Akhila

      • Swapna1's avatar
        Swapna1
        New Member

        Hi,

         

        I am having same issue and unable to re-import project and getting Invalid project file....error. Do you have any solution?

         

        Thanks in advance.

  • The solution should be in your "settings" file. Somehow the xml was altered. Open the settings file from the project folder with a text editor and try to save it. It will throw you an error stating the line were the issue is. Then try fixing the xml.

    In my case the issue was that somehow the project xml details were duplicated in the "settings" file (meaning I actually had the same project details twice). I just deleted the duplicate and was able to import the project again