← Back to team overview

openjdk team mailing list archive

[Bug 273707] Re: ExceptionInInitializerError in org.apache.commons.ssl.SSL.<init>(SSL.java:196)

 

** Description changed:

  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).
  
- The application won't start. Check the log (soapui-errors.log) and you'll see:
+ 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)

-- 
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: New

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