Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153829

javax/net/ssl/Stapling/HttpsUrlConnClient.java fails intermittently with NullPointerException

XMLWordPrintable

      javax/net/ssl/Stapling/HttpsUrlConnClient.java fails intermittently with NullPointerException.

      #section:main
      ----------messages:(3/131)----------
      command: main HttpsUrlConnClient
      reason: User specified action: run main/othervm HttpsUrlConnClient
      elapsed time (seconds): 2.265
      ----------System.out:(9/255)----------
      Generated Root CA KeyPair
      Generated Intermediate CA KeyPair
      Generated SSL Cert KeyPair
      Root CA Created:
      Issuer: CN=Root CA Cert, O=SomeCompany
      Subject: CN=Root CA Cert, O=SomeCompany
      Serial: 1

      [MainThread]: nextUpdate set to Mon Apr 04 14:45:16 PDT 2016
      ----------System.err:(15/900)----------
      java.lang.NullPointerException
      at sun.security.testlibrary.SimpleOCSPServer.getPort(SimpleOCSPServer.java:474)
      at HttpsUrlConnClient.createPKI(HttpsUrlConnClient.java:536)
      at HttpsUrlConnClient.main(HttpsUrlConnClient.java:136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException

            rhalade Rajan Halade
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: