openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00951
[Bug 273707] Re: ExceptionInInitializerError in org.apache.commons.ssl.SSL.<init>(SSL.java:196)
this works for me in intrepid:
$ sh bin/soapui.sh
================================
=
= SOAPUI_HOME = /home/doko/soapui-2.0.2
=
================================
Configuring log4j from [jar:file:/home/doko/soapui-2.0.2/bin/soapui-2.0.2.jar!/soapui-log4j.xml]
12:05:09,321 WARN [DefaultSoapUICore] Missing folder [/home/doko/soapui-2.0.2/ext] for external libraries
12:05:09,740 INFO [DefaultSoapUICore] Creating new settings at [/home/doko/soapui-2.0.2/soapui-settings.xml]
12:06:43,508 DEBUG [WsdlLoader] Getting wsdl component from [https://www.reebok.com/wsClient/services/webservices.wsdl]
12:06:44,123 INFO [HttpClientSupport$Helper] Initializing SSL
org.apache.xmlbeans.XmlException: error: The document is not a soapui-project@http://eviware.com/soapui/config: document element mismatch got definitions@http://schemas.xmlsoap.org/wsdl/
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:457)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:362)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1278)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1262)
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.WsdlProject.loadProject(WsdlProject.java:221)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:145)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:126)
at com.eviware.soapui.impl.WorkspaceImpl.importRemoteProject(WorkspaceImpl.java:513)
at com.eviware.soapui.impl.actions.ImportRemoteWsdlProjectAction.perform(ImportRemoteWsdlProjectAction.java:46)
at com.eviware.soapui.impl.actions.ImportRemoteWsdlProjectAction.perform(ImportRemoteWsdlProjectAction.java:27)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:92)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
12:06:45,733 ERROR [SoapUI] An error occured [Failed to load project from file [https://www.reebok.com/wsClient/services/webservices.wsdl]], see error log for details
12:06:46,004 INFO [WorkspaceImpl] Saved workspace to [/home/doko/default-soapui-workspace.xml]
** Changed in: openjdk-6 (Ubuntu)
Status: New => Incomplete
--
ExceptionInInitializerError in org.apache.commons.ssl.SSL.<init>(SSL.java:196)
https://bugs.launchpad.net/bugs/273707
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” source package in Ubuntu: Incomplete
Bug description:
This bug is pretty easy to reproduce.
Download SoapUI from soapui.org: http://downloads.sourceforge.net/soapui/soapui-2.0.2-bin.zip?modtime=1201558769&big_mirror=0 (note that source code is available, if that is helpful for OpenJDK in their debugging efforts).
Run SoapUI (I used the bin/soapui.sh script).
Right click on Projects, and click "Add Project." Enter anything you want for the name, and enter "https://www.reebok.com/wsClient/services/webservices.wsdl" as the URL.
A dialog will come up, and never go away.
Check the log (soapui-errors.log) and you'll see:
2008-09-23 14:35:57,730 ERROR [errorlog] java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
at org.apache.commons.ssl.SSL.<init>(SSL.java:196)
at org.apache.commons.ssl.SSLClient.<init>(SSLClient.java:60)
at org.apache.commons.ssl.HttpSecureProtocol.<init>(HttpSecureProtocol.java:55)
at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.<init>(EasySSLProtocolSocketFactory.java:94)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.<init>(HttpClientSupport.java:69)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.<clinit>(HttpClientSupport.java:52)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.createGetMethod(UrlWsdlLoader.java:162)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:96)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:81)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:221)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:145)
at com.eviware.soapui.impl.WorkspaceImpl.loadWorkspace(WorkspaceImpl.java:143)
at com.eviware.soapui.impl.WorkspaceImpl.<init>(WorkspaceImpl.java:66)
at com.eviware.soapui.impl.WorkspaceFactoryImpl.openWorkspace(WorkspaceFactoryImpl.java:31)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:512)
at com.eviware.soapui.SoapUI.main(SoapUI.java:488)
Caused by: java.lang.NullPointerException
at org.apache.commons.ssl.TrustMaterial.<init>(TrustMaterial.java:127)
at org.apache.commons.ssl.TrustMaterial.<init>(TrustMaterial.java:118)
at org.apache.commons.ssl.TrustMaterial.<clinit>(TrustMaterial.java:108)
... 16 more
This application was working on b10, and does work on Sun's JDK 6.
I'm on Intrepid, with:
OpenJDK Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
References