Forum Discussion

atdahl's avatar
atdahl
Occasional Visitor
6 years ago

Can't Open Some Projects in SoapUI Today. They were fine Yesterday.

Hi all.  Overnight (SOAPUI left open but network connection closed), some of my projects are no longer accessible.  They show up with a gray folder with an 'X' through them.  I can't import from the orginal xml files either.  Nothing changed from yesterday to today that I am aware of.  These project worked fine yesterday but seem to be corrupt today for some reason. Out of 6 projects, 4 are having this issue but the other two are fine.

 

I am using SoapUI 5.3.  I have attached some screen shots of the projects and what one of them looks like when I opened it in Notes++ (looks like garbage to me).

 

Below is the SoapUI Error log for one of the projects.   Does anyone know of any way to recover these projects?  I am happy to provide additional information if needed.

 

Thanks

 

Alan

 

Wed Jan 16 16:30:06 MST 2019:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Users/alanda/Documents/Projects/IVC/WSDLs/A-S-Functional-soapui-project.xml]
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Users/alanda/Documents/Projects/IVC/WSDLs/A-S-Functional-soapui-project.xml]
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:328)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:213)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:58)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:28)
at com.eviware.soapui.impl.WorkspaceImpl.reloadProject(WorkspaceImpl.java:488)
at com.eviware.soapui.impl.WorkspaceImpl.openProject(WorkspaceImpl.java:590)
at com.eviware.soapui.impl.wsdl.actions.project.OpenProjectAction.perform(OpenProjectAction.java:39)
at com.eviware.soapui.impl.wsdl.actions.project.OpenProjectAction.perform(OpenProjectAction.java:30)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
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$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)
Caused by: java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0x87 implies a length of more than 4 bytes
at org.apache.xmlbeans.impl.piccolo.xml.UTF8XMLDecoder.decode(UTF8XMLDecoder.java:162)
at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader$FastStreamDecoder.read(XMLStreamReader.java:762)
at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.read(XMLStreamReader.java:162)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yy_refill(PiccoloLexer.java:3474)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:3958)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454)
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(SoapuiProjectDocumentConfig.java:71)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProjectFromInputStream(WsdlProject.java:350)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:311)
... 47 more

  • nmrao's avatar
    nmrao
    Champion Level 3

    atdahl,

     

    First and foremost thing is to have the project artefacts available under a repository such as svn, cvs, or git. 

    At the end of the day, push it repository if any changes happened during the day. This way, projects are easy to manage, share with teams across locations and more importantly do not lose your work which might done over a period of time.

     

    Coming to the issue, below is from your log:

    Caused by: java.io.CharConversionException: Characters larger than 4 bytes are not supported: byte 0x87 implies a length of more than 4 bytes

     

    You might have added some data with multibyte characters Yesterday.

     

    Please try to open the project in a browser or in a text editor and see if you can correct so that it can be opened. Have a backup before making any edit.

     

    Make sure you have utf-8 as file.encoding (you can check from Menu -> Help -> System Properties)

    Please see

    https://stackoverflow.com/questions/44829276/need-to-remove-some-properties-from-junit-xml-report-generated-through-soapui-o