java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

GitHub | kwhitehall | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Investigate why NetcdfDataset is returning SSL error

    GitHub | 8 months ago | kwhitehall
    java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V

      at ucar.httpservices.HTTPSession.setGlobalSSLAuth()
    2. ucar.httpservices
      HTTPFactory.Get
      1. ucar.httpservices.HTTPSession.setGlobalSSLAuth(HTTPSession.java:721)
      2. ucar.httpservices.HTTPSession.processDFlags(HTTPSession.java:442)
      3. ucar.httpservices.HTTPSession.<clinit>(HTTPSession.java:408)
      4. ucar.httpservices.HTTPFactory.newSession(HTTPFactory.java:57)
      5. ucar.httpservices.HTTPMethod.<init>(HTTPMethod.java:220)
      6. ucar.httpservices.HTTPMethod.<init>(HTTPMethod.java:194)
      7. ucar.httpservices.HTTPFactory.Get(HTTPFactory.java:127)
      7 frames
    3. NetCDF
      NetcdfDataset.openDataset
      1. ucar.nc2.dataset.NetcdfDataset.checkIfDods(NetcdfDataset.java:862)
      2. ucar.nc2.dataset.NetcdfDataset.disambiguateHttp(NetcdfDataset.java:820)
      3. ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:706)
      4. ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:427)
      5. ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:410)
      6. ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:395)
      7. ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:382)
      7 frames
    4. Unknown
      $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>
      1. $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.<init>(<console>:42)
      1 frame