Open the following page in WebView: http://abcnews.go.com/US/injured-bridge-collapse-sends-cars-water/story?id=19246839
Observe the following in stderr:
May 24, 2013 9:17:13 PM com.sun.webkit.network.URLLoader doRun
WARNING: Unexpected error
java.io.IOException: Server returned HTTP response code: 418 for URL: http://realtime.services.disqus.com/api/2/thread/1312521068?bust=2
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:414)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1679)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1673)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1246)
at com.sun.webkit.network.URLLoader.receiveResponse(URLLoader.java:472)
at com.sun.webkit.network.URLLoader.doRun(URLLoader.java:143)
at com.sun.webkit.network.URLLoader.access$000(URLLoader.java:43)
at com.sun.webkit.network.URLLoader$1.run(URLLoader.java:107)
at com.sun.webkit.network.URLLoader$1.run(URLLoader.java:104)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.network.URLLoader.run(URLLoader.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: Server returned HTTP response code: 418 for URL: http://realtime.services.disqus.com/api/2/thread/1312521068?bust=2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1629)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at com.sun.webkit.network.URLLoader.receiveResponse(URLLoader.java:387)
... 11 more
Observe the following in stderr:
May 24, 2013 9:17:13 PM com.sun.webkit.network.URLLoader doRun
WARNING: Unexpected error
java.io.IOException: Server returned HTTP response code: 418 for URL: http://realtime.services.disqus.com/api/2/thread/1312521068?bust=2
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:414)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1679)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1673)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1246)
at com.sun.webkit.network.URLLoader.receiveResponse(URLLoader.java:472)
at com.sun.webkit.network.URLLoader.doRun(URLLoader.java:143)
at com.sun.webkit.network.URLLoader.access$000(URLLoader.java:43)
at com.sun.webkit.network.URLLoader$1.run(URLLoader.java:107)
at com.sun.webkit.network.URLLoader$1.run(URLLoader.java:104)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.network.URLLoader.run(URLLoader.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: Server returned HTTP response code: 418 for URL: http://realtime.services.disqus.com/api/2/thread/1312521068?bust=2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1629)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at com.sun.webkit.network.URLLoader.receiveResponse(URLLoader.java:387)
... 11 more
- duplicates
-
JDK-8116658 WebView throws IOException for HTTP response code 418
- Closed
- relates to
-
JDK-8087359 WebView throws Exceptions on some web pages
- Open