java.lang.ClassCastException: com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection cannot be cast to javax.net.ssl.HttpsURLConnection

Google Groups | Ian via StackOverflow | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using HttpsURLConnection on Google App Engine to retrieve certificate details

    Google Groups | 7 months ago | Ian via StackOverflow
    java.lang.ClassCastException: com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection cannot be cast to javax.net.ssl.HttpsURLConnection
  2. 0

    Using HttpsURLConnection on Google App Engine to retrieve certificate details

    Stack Overflow | 7 months ago | Ian
    java.lang.ClassCastException: com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection cannot be cast to javax.net.ssl.HttpsURLConnection

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection cannot be cast to javax.net.ssl.HttpsURLConnection

      at com.bronzelabs.httpschecker.servlets.cron.HttpsChecker.doGet()
    2. com.bronzelabs.httpschecker
      HttpsChecker.doGet
      1. com.bronzelabs.httpschecker.servlets.cron.HttpsChecker.doGet(HttpsChecker.java:101)
      1 frame
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    4. Jetty Server
      ServletHolder.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      1 frame