Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR [GuiController] SoapUIException while loading WSDL: null #4

Open
pentester opened this issue Apr 7, 2016 · 12 comments
Open

ERROR [GuiController] SoapUIException while loading WSDL: null #4

pentester opened this issue Apr 7, 2016 · 12 comments

Comments

@pentester
Copy link

13:50:06,275 INFO [PluginManager] Successfuly loaded 16 of 16 plugins
13:50:06,341 INFO [Preferences] Could not load config '/home/ddos/Desktop/WS-Attacker/runnable/wsattacker_config.xml'. Reason: wsattacker.persistence.XmlPersistenceError: Could not load config from File '/home/ddos/Desktop/WS-Attacker/runnable/wsattacker_config.xml'
13:50:14,741 INFO [GuiController] Trying to load WSDL from 'http://localhost:8080/axis2/services/Version?wsdl'
13:50:16,859 ERROR [errorlog] com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
13:50:16,866 ERROR [GuiController] SoapUIException while loading WSDL: null
13:59:27,018 INFO [GuiController] Trying to load WSDL from 'http://localhost:8080/axis2/services/Version?wsdl'
13:59:29,026 ERROR [errorlog] com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
13:59:29,030 ERROR [GuiController] SoapUIException while loading WSDL: null
14:00:00,522 INFO [GuiController] Trying to load WSDL from 'http://localhost:8080/axis2/services/sample02?wsdl'
14:00:02,530 ERROR [errorlog] com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
14:00:02,534 ERROR [GuiController] SoapUIException while loading WSDL: null

@CheariX
Copy link
Member

CheariX commented Apr 8, 2016

Hm... I don't get this error when the service is running.
But it seems to be a problem, when you try to fetch a WSDL that is not available at the first time, e.g. due to startup delay of Axis2. Even if it is later on avaialble, you seem to get this error.
Dirty solution: restart WS-Attacker

@pentester
Copy link
Author

@CheariX Thanks. But i tried many times, but i got the same error.

@CheariX
Copy link
Member

CheariX commented Jul 19, 2016

I think that I can now replace this problem.
I also tried to load a WSDL using SoapUI (which is used by WS-Attacker in the Background), but it also fails:

screenshot_20160719_161628

This is maybe because of some proxy setting.

@FreelancePentester
Copy link

i change rampart service port to 9999 but i got other error:

Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isReadable(): expression is unresolvable
Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isWriteable(): expression is unresolvable
Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: updateCache(): expression is unresolvable
Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isReadable(): expression is unresolvable
Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isWriteable(): expression is unresolvable
Jul 24, 2016 1:13:09 AM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: updateCache(): expression is unresolvable
01:13:26,144 INFO [GuiController] Trying to load WSDL from 'http://localhost:9999/axis2/services/Version?wsdl'
Exception in thread "Load WSDL" java.lang.NoClassDefFoundError: junit/framework/ComparisonFailure
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(WsdlImporter.java:82)
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(WsdlInterfaceFactory.java:76)
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(WsdlInterfaceFactory.java:61)
at wsattacker.main.testsuite.TestSuite.importWsdl(TestSuite.java:141)
at wsattacker.main.testsuite.TestSuite.loadWsdl(TestSuite.java:132)
at wsattacker.gui.GuiController$WsdlLoadRunner.run(GuiController.java:436)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: junit.framework.ComparisonFailure
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 7 more

@CheariX
Copy link
Member

CheariX commented Jul 24, 2016

Can you try to use a proxy (e.g. Burpsuite) and start WS-Attacker as follows:

java -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8080 -jar -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8080 WS-Attacker-1.8-SNAPSHOT.jar

I have the feeling that there is some trouble with the proxy setting (even the GUI settings seems to make problems, but the commandline should work)

@FreelancePentester
Copy link

the same error. :( Can you share your WS-Attacker-1.8-SNAPSHOT.jar file? Thanks!

@CheariX
Copy link
Member

CheariX commented Jul 25, 2016

WS-Attacker-1.8-SNAPSHOT.jar.zip

The dependecies are missing due to file size limit (10 mb). You need to unzip the file.

@FreelancePentester
Copy link

thanks but i got this error.:(

21:51:12,536 INFO [PluginManager] Successfuly loaded 17 of 17 plugins
21:51:12,582 INFO [Preferences] Loaded successfully config from '/home/ddos/Desktop/WS-Attacker/runnable/wsattacker_config.xml'
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isReadable(): expression is unresolvable
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isWriteable(): expression is unresolvable
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: updateCache(): expression is unresolvable
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isReadable(): expression is unresolvable
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: isWriteable(): expression is unresolvable
Jul 25, 2016 9:51:12 PM org.jdesktop.beansbinding.util.logging.Logger log
WARNING: updateCache(): expression is unresolvable
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 6
at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(BasicTabbedPaneUI.java:834)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:797)
at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:842)
at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:724)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:306)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
21:51:23,554 INFO [GuiController] Trying to load WSDL from 'http://localhost:1234/axis2/services/sample02?wsdl'
Exception in thread "Load WSDL" java.lang.NoClassDefFoundError: junit/framework/ComparisonFailure
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(WsdlImporter.java:82)
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(WsdlInterfaceFactory.java:76)
at com.eviware.soapui.impl.WsdlInterfaceFactory.importWsdl(WsdlInterfaceFactory.java:61)
at wsattacker.main.testsuite.TestSuite.importWsdl(TestSuite.java:141)
at wsattacker.main.testsuite.TestSuite.loadWsdl(TestSuite.java:132)
at wsattacker.gui.GuiController$WsdlLoadRunner.run(GuiController.java:436)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: junit.framework.ComparisonFailure
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

@CheariX
Copy link
Member

CheariX commented Sep 7, 2016

I could finally detect, that SoapUI seems to have a Dependency to "junit-4.12.jar".
Once this file is copied to the "lib" folder, it worked for me.

@FreelancePentester
Copy link

:( it don't work for me...

@CheariX
Copy link
Member

CheariX commented Sep 9, 2016

hm... this is strange.

junit-4.12.jar should at least solve this issue:

Exception in thread "Load WSDL" java.lang.NoClassDefFoundError: junit/framework/ComparisonFailure

But in your second post, you got

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 6

Is this still the case?
I need to reproducde it somehow.

@david2tm
Copy link

I had the same issue... closing running SoapUI fixed it. Probably some kind of conflict is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants