java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream

Oracle Community | 807594 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.ClassCastException by url.getContent()

    Oracle Community | 1 decade ago | 807594
    java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream

    Root Cause Analysis

    1. java.lang.ClassCastException

      sun.net.www.protocol.http.HttpURLConnection$HttpInputStream

      at Snatch.main()
    2. Unknown
      Snatch.main
      1. Snatch.main(Snatch.java:9)
      1 frame