java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Jenkins JIRA | nhb | 7 years ago
  1. 0

    Update of Hudson ver. 1.322 fails. Hudson was started using java -jar hudson.war on java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing) Previous updates worked without problems: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1360) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1354) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:565) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:774) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1574) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1557) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1146) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1041) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2165) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579) at java.net.URLConnection.getContentLength(URLConnection.java:474) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:378) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:564) ... 7 more

    Jenkins JIRA | 7 years ago | nhb
    java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  2. 0

    db:: 2.94::javax.net.ssl.SSLException:Unrecognized SSL message, plaintext connection sd

    hivmr.com | 5 months ago
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  3. 0

    Flashlight issue with Java 6 and submitting to Loggly

    GitHub | 3 years ago | oxtoacart
    javax.net.ssl.SSLException: Received fatal alert: protocol_version
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Improve QOS wrt DNS round robin, esp. for user signup

    GitHub | 2 years ago | myleshorton
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
  6. 0

    Enterprise Github without HTTPS not supported

    GitHub | 4 years ago | next2you
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

    17 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1574)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1557)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1146)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
      6 frames
    3. Java RT
      HttpsURLConnectionImpl.getContentLength
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
      3. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1041)
      4. sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2165)
      5. java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579)
      6. java.net.URLConnection.getContentLength(URLConnection.java:474)
      7. sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:378)
      7 frames
    4. Hudson
      UpdateCenter$DownloadJob.run
      1. hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:564)
      2. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:774)
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames