Forum Discussion

baalowy's avatar
baalowy
New Contributor
13 years ago

Error on loading or creating project

Hi
I'm running SOAP plugin for Eclipse on Win 7 Enterprise 32bit.
got installed latest Java 7 sdk.

Got following error when trying to load or create new project:
Thu Jan 12 10:43:23 GMT 2012:ERROR:An error occured [Failed to load project from file [file:/C:/Users/luw07/Desktop/Test-soapui-project.xml]], see error log for details
Thu Jan 12 10:43:23 GMT 2012:ERROR:An error occured [com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig], see error log for details
Thu Jan 12 10:43:23 GMT 2012:ERROR:An error occured [Invalid thread access], see error log for details

and error log:
Thu Jan 12 10:43:23 GMT 2012:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Users/luw07/Desktop/Test-soapui-project.xml]
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Users/luw07/Desktop/Test-soapui-project.xml]
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:404)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:234)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:203)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:51)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:24)
at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:371)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:65)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:32)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
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$000(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.lang.ClassCastException: com.eviware.soapui.config.impl.InterfaceConfigImpl cannot be cast to com.eviware.soapui.config.WsdlInterfaceConfig
at com.eviware.soapui.impl.WsdlInterfaceFactory.build(WsdlInterfaceFactory.java:42)
at com.eviware.soapui.impl.WsdlInterfaceFactory.build(WsdlInterfaceFactory.java:35)
at com.eviware.soapui.impl.wsdl.InterfaceFactoryRegistry.build(InterfaceFactoryRegistry.java:49)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:349)
... 47 more
Thu Jan 12 10:43:23 GMT 2012:ERROR:java.lang.ClassCastException: com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig
java.lang.ClassCastException: com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig
at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.initConfig(DefaultEndpointStrategy.java:95)
at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.init(DefaultEndpointStrategy.java:68)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:290)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:203)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:51)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:24)
at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:371)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:65)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:32)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
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$000(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)
Thu Jan 12 10:43:23 GMT 2012:ERROR:org.eclipse.swt.SWTException: Invalid thread access
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.widgets.Display.error(Display.java:1258)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:764)
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java:1467)
at com.eviware.x.impl.swt.SwtDialogs.getShell(SwtDialogs.java:46)
at com.eviware.x.impl.swt.SwtDialogs.showExtendedInfo(SwtDialogs.java:255)
at com.eviware.soapui.support.UISupport.showErrorMessage(UISupport.java:628)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:71)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:32)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89)
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$000(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)


Any clues ?

2 Replies

  • Hi,

    I was not able to reproduce this error.
    In which location do the WSDL files are located with which this soapUI project is created?

    Try placing the WSDL files in the same location were this soapUI project points to for the WSDL files.

    Regards,
    Rohit Shingalapur
  • baalowy's avatar
    baalowy
    New Contributor
    Unfortunately didn't help.

    I created new project using Windows Client from WSDL and try to import this project into Eclipse plugin and still got same error.