Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

Top patterns

  1. HttpURLConnection.getInputStream() has thrown an IOException
    No solution
  2. HttpURLConnection.getInputStream0() has thrown an IOException

    401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

  3. HttpURLConnection.getInputStream() has thrown an IOException
    No solution

DescriptionException TypeEntry MethodWeb pages

HttpURLConnection.getInputStream() has thrown an IOException

java.io.IOException
sun.net.www.protocol.http.HttpURLConnection.getInputStream
1034Web pages
IOExceptionHttpURLConnection.getInputStream1034

HttpURLConnection.getInputStream0() has thrown an IOException

java.io.IOException
sun.net.www.protocol.http.HttpURLConnection.getInputStream0
902Web pages
1Solution
IOExceptionHttpURLConnection.getInputStream0902

HttpURLConnection.getInputStream() has thrown an IOException

java.io.IOException
1 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
868Web pages
IOExceptionHttpURLConnection.getInputStream868

HttpURLConnection.getInputStream() has thrown a FileNotFoundException

java.io.FileNotFoundException
sun.net.www.protocol.http.HttpURLConnection.getInputStream
545Web pages
FileNotFoundExceptionHttpURLConnection.getInputStream545

HttpURLConnection$9.run() has thrown an IOException

java.io.IOException
2 frames hidden
sun.net.www.protocol.http.HttpURLConnection$9.run
318Web pages
IOExceptionHttpURLConnection$9.run318

HttpURLConnection$9.run() has thrown an IOException

java.io.IOException
3 frames hidden
sun.net.www.protocol.http.HttpURLConnection$9.run
318Web pages
IOExceptionHttpURLConnection$9.run318

HttpURLConnection.getInputStream() has thrown an IOException

java.io.IOException
6 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
314Web pages
IOExceptionHttpURLConnection.getInputStream314

HttpURLConnection.getInputStream0() has thrown a FileNotFoundException

java.io.FileNotFoundException
sun.net.www.protocol.http.HttpURLConnection.getInputStream0
211Web pages
FileNotFoundExceptionHttpURLConnection.getInputStream0211

HttpURLConnection.getNewHttpClient() has thrown a ConnectException

java.net.ConnectException
13 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
190Web pages
ConnectExceptionHttpURLConnection.getNewHttpClient190

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
15 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
189Web pages
ConnectExceptionHttpURLConnection.connect189

HttpURLConnection.getInputStream() has thrown a FileNotFoundException

java.io.FileNotFoundException
1 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
183Web pages
FileNotFoundExceptionHttpURLConnection.getInputStream183

HttpURLConnection.getNewHttpClient() has thrown a ConnectException

java.net.ConnectException
13 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
183Web pages
ConnectExceptionHttpURLConnection.getNewHttpClient183

HttpURLConnection.getNewHttpClient() has thrown a ConnectException

java.net.ConnectException
12 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
145Web pages
ConnectExceptionHttpURLConnection.getNewHttpClient145

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
14 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
142Web pages
ConnectExceptionHttpURLConnection.connect142

HttpURLConnection.getInputStream() has thrown a SocketException

java.net.SocketException
4 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
137Web pages
SocketExceptionHttpURLConnection.getInputStream137

HttpURLConnection.getNewHttpClient() has thrown a ConnectException

java.net.ConnectException
15 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
130Web pages
ConnectExceptionHttpURLConnection.getNewHttpClient130

HttpURLConnection.getInputStream() has thrown a ConnectException

java.net.ConnectException
16 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
119Web pages
ConnectExceptionHttpURLConnection.getInputStream119

HttpURLConnection.plainConnect0() has thrown a ConnectException

java.net.ConnectException
14 frames hidden
sun.net.www.protocol.http.HttpURLConnection.plainConnect0
94Web pages
ConnectExceptionHttpURLConnection.plainConnect094

HttpURLConnection.getInputStream() has thrown a ConnectException

java.net.ConnectException
15 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
93Web pages
ConnectExceptionHttpURLConnection.getInputStream93

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
16 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
91Web pages
ConnectExceptionHttpURLConnection.connect91

HttpURLConnection.doTunneling() has thrown an IOException

java.io.IOException
sun.net.www.protocol.http.HttpURLConnection.doTunneling
89Web pages
IOExceptionHttpURLConnection.doTunneling89

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
15 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
89Web pages
ConnectExceptionHttpURLConnection.connect89

HttpURLConnection$StreamingOutputStream.checkError() has thrown an IOException

java.io.IOException
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError
78Web pages
IOExceptionHttpURLConnection$StreamingOutputStream.checkError78

HttpURLConnection.getInputStream() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
8 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
77Web pages
SocketTimeoutExceptionHttpURLConnection.getInputStream77

HttpURLConnection.getNewHttpClient() has thrown an UnknownHostException

java.net.UnknownHostException
9 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
76Web pages
UnknownHostExceptionHttpURLConnection.getNewHttpClient76

HttpURLConnection$StreamingOutputStream.write() has thrown an IOException

java.io.IOException
1 frames hidden
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write
76Web pages
IOExceptionHttpURLConnection$StreamingOutputStream.write76

HttpURLConnection.connect() has thrown an UnknownHostException

java.net.UnknownHostException
11 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
76Web pages
UnknownHostExceptionHttpURLConnection.connect76

HttpURLConnection.getNewHttpClient() has thrown a ConnectException

java.net.ConnectException
12 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
75Web pages
ConnectExceptionHttpURLConnection.getNewHttpClient75

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
17 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
72Web pages
ConnectExceptionHttpURLConnection.connect72

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
14 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
72Web pages
ConnectExceptionHttpURLConnection.connect72

HttpURLConnection.getNewHttpClient() has thrown an UnknownHostException

java.net.UnknownHostException
10 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
68Web pages
UnknownHostExceptionHttpURLConnection.getNewHttpClient68

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
15 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
68Web pages
ConnectExceptionHttpURLConnection.connect68

HttpURLConnection.plainConnect() has thrown a ConnectException

java.net.ConnectException
14 frames hidden
sun.net.www.protocol.http.HttpURLConnection.plainConnect
68Web pages
ConnectExceptionHttpURLConnection.plainConnect68

HttpURLConnection.connect() has thrown an UnknownHostException

java.net.UnknownHostException
12 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
68Web pages
UnknownHostExceptionHttpURLConnection.connect68

HttpURLConnection.getNewHttpClient() has thrown an UnknownHostException

java.net.UnknownHostException
10 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
66Web pages
UnknownHostExceptionHttpURLConnection.getNewHttpClient66

HttpURLConnection.getInputStream() has thrown an UnknownHostException

java.net.UnknownHostException
12 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
63Web pages
UnknownHostExceptionHttpURLConnection.getInputStream63

HttpURLConnection.getInputStream() has thrown a ProtocolException

java.net.ProtocolException
sun.net.www.protocol.http.HttpURLConnection.getInputStream
63Web pages
ProtocolExceptionHttpURLConnection.getInputStream63

HttpURLConnection.writeRequests() has thrown an IOException

java.io.IOException
sun.net.www.protocol.http.HttpURLConnection.writeRequests
63Web pages
IOExceptionHttpURLConnection.writeRequests63

HttpURLConnection.writeRequests() has thrown an IOException

java.io.IOException
1 frames hidden
sun.net.www.protocol.http.HttpURLConnection.writeRequests
62Web pages
IOExceptionHttpURLConnection.writeRequests62

HttpURLConnection.getNewHttpClient() has thrown an UnknownHostException

java.net.UnknownHostException
11 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
62Web pages
UnknownHostExceptionHttpURLConnection.getNewHttpClient62

HttpURLConnection.plainConnect0() has thrown a ConnectException

java.net.ConnectException
16 frames hidden
sun.net.www.protocol.http.HttpURLConnection.plainConnect0
58Web pages
ConnectExceptionHttpURLConnection.plainConnect058

HttpURLConnection.getInputStream() has thrown an UnknownHostException

java.net.UnknownHostException
13 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
55Web pages
UnknownHostExceptionHttpURLConnection.getInputStream55

HttpURLConnection.getInputStream0() has thrown a SSLHandshakeException

sun.security.provider.certpath.SunCertPathBuilderException
25 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream0
55Web pages
SSLHandshakeExceptionHttpURLConnection.getInputStream055

HttpURLConnection$HttpInputStream.read() has thrown an IOException

java.io.IOException
4 frames hidden
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read
54Web pages
IOExceptionHttpURLConnection$HttpInputStream.read54

HttpURLConnection.connect() has thrown a ConnectException

java.net.ConnectException
18 frames hidden
sun.net.www.protocol.http.HttpURLConnection.connect
54Web pages
ConnectExceptionHttpURLConnection.connect54

HttpURLConnection.getInputStream0() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
9 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream0
54Web pages
SocketTimeoutExceptionHttpURLConnection.getInputStream054

HttpURLConnection.getInputStream() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
7 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
53Web pages
SocketTimeoutExceptionHttpURLConnection.getInputStream53

HttpURLConnection.getInputStream() has thrown a SSLHandshakeException

sun.security.provider.certpath.SunCertPathBuilderException
26 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
53Web pages
SSLHandshakeExceptionHttpURLConnection.getInputStream53

HttpURLConnection.getNewHttpClient() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
12 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
52Web pages
SocketTimeoutExceptionHttpURLConnection.getNewHttpClient52

HttpURLConnection.getInputStream() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
10 frames hidden
sun.net.www.protocol.http.HttpURLConnection.getInputStream
51Web pages
SocketTimeoutExceptionHttpURLConnection.getInputStream51
Package namePatterns foundSolution coverageSummary coverage
java.lang7927
java.util.concurrent4667
java.io4419
java.lang.reflect4019
java.awt2397
java.net2282
sun.reflect2209
java.util1921
javax.swing1636
java.security1033
javax.naming1017
java.sql803
sun.net.www.protocol.http740
sun.net.www.protocol.https718
sun.nio.ch466
sun.rmi.server381
sun.rmi.transport.tcp326
java.util.zip322
com.sun.jndi.ldap289
java.util.regex285
com.sun.org.apache.xerces.internal.impl269
sun.net.www.http261
java.nio.file257
com.sun.org.apache.xerces.internal.parsers247
javax.swing.plaf.basic240
sun.misc236
java.util.logging172
com.sun.org.apache.xerces.internal.jaxp168
java.util.jar162
java.beans160
javax.swing.text158
java.nio157
sun.rmi.registry151
java.util.stream143
javax.security.auth.login143
java.text143
javax.management.remote.rmi142
java.rmi137
javax.imageio135
sun.rmi.transport134
sun.nio.cs131
javax.net.ssl129
java.awt.event124
com.sun.org.apache.xalan.internal.xsltc.trax117
java.awt.image115
javax.security.auth115
java.nio.channels110
java.rmi.server92
java.util.concurrent.locks90
javax.naming.directory88
Package nameClass namePatterns foundSolution coverageSummary coverage
sun.net.www.protocol.httpHttpURLConnection635
sun.net.www.protocol.httpHttpURLConnection$HttpInputStream63
sun.net.www.protocol.httpHttpURLConnection$625
sun.net.www.protocol.httpHttpURLConnection$StreamingOutputStream6
sun.net.www.protocol.httpHttpURLConnection$94
sun.net.www.protocol.httpHttpURLConnection$103
sun.net.www.protocol.httpAuthenticationHeader2
sun.net.www.protocol.httpHttpURLConnection$81
sun.net.www.protocol.httpAuthenticationInfo1
Package nameClass nameMethod namePatterns foundSolution coverage
sun.net.www.protocol.httpHttpURLConnectiongetInputStream291
sun.net.www.protocol.httpHttpURLConnectionconnect102
sun.net.www.protocol.httpHttpURLConnectiongetOutputStream63
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamread55
sun.net.www.protocol.httpHttpURLConnectiongetNewHttpClient39
sun.net.www.protocol.httpHttpURLConnectiongetInputStream028
sun.net.www.protocol.httpHttpURLConnectionplainConnect026
sun.net.www.protocol.httpHttpURLConnection$6run25
sun.net.www.protocol.httpHttpURLConnectiongetHeaderField25
sun.net.www.protocol.httpHttpURLConnectionplainConnect14
sun.net.www.protocol.httpHttpURLConnectiondoTunneling6
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamclose6
sun.net.www.protocol.httpHttpURLConnectionsetRequestProperty5
sun.net.www.protocol.httpHttpURLConnectionwriteRequests5
sun.net.www.protocol.httpHttpURLConnection$StreamingOutputStreamwrite4
sun.net.www.protocol.httpHttpURLConnectiongetOutputStream04
sun.net.www.protocol.httpHttpURLConnectiongetHeaderFields4
sun.net.www.protocol.httpHttpURLConnection$9run4
sun.net.www.protocol.httpHttpURLConnection$10run3
sun.net.www.protocol.httpHttpURLConnectiongetResponseCode3
sun.net.www.protocol.httpHttpURLConnectiongetChainedException3
sun.net.www.protocol.httpHttpURLConnectiongetHeaderFieldKey3
sun.net.www.protocol.httpHttpURLConnectionURLtoSocketPermission2
sun.net.www.protocol.httpHttpURLConnectionaccess$2002
sun.net.www.protocol.httpHttpURLConnectionsetRequestMethod2
sun.net.www.protocol.httpHttpURLConnection$8run1
sun.net.www.protocol.httpHttpURLConnectionresetProxyAuthentication1
sun.net.www.protocol.httpHttpURLConnection$StreamingOutputStreamcheckError1
sun.net.www.protocol.httpAuthenticationInfogetAuth1
sun.net.www.protocol.httpHttpURLConnectioncheckMessageHeader1
sun.net.www.protocol.httpHttpURLConnectionaddRequestProperty1
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamensureOpen1
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamreset1
sun.net.www.protocol.httpHttpURLConnectionsetCookieHeader1
sun.net.www.protocol.httpHttpURLConnection$StreamingOutputStreamclose1
sun.net.www.protocol.httpHttpURLConnectionfollowRedirect1
sun.net.www.protocol.httpHttpURLConnectionexpect100Continue1
sun.net.www.protocol.httpHttpURLConnectionopenConnectionCheckRedirects1
sun.net.www.protocol.httpAuthenticationHeader<init>1
sun.net.www.protocol.httpAuthenticationHeaderparse1
sun.net.www.protocol.httpHttpURLConnectionisExternalMessageHeaderAllowed1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamConnectException45
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamSSLHandshakeException42
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamSocketException39
sun.net.www.protocol.httpHttpURLConnectionconnectConnectException28
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamUnknownHostException28
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamSocketTimeoutException23
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamIOException21
sun.net.www.protocol.httpHttpURLConnectionconnectSocketException19
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamConnectException17
sun.net.www.protocol.httpHttpURLConnectionconnectUnknownHostException16
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamSSLException16
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamreadSocketTimeoutException15
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamreadIOException15
sun.net.www.protocol.httpHttpURLConnection$6runIOException14
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamreadSocketException14
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamIllegalArgumentException13
sun.net.www.protocol.httpHttpURLConnectionplainConnect0ConnectException12
sun.net.www.protocol.httpHttpURLConnectiongetNewHttpClientConnectException11
sun.net.www.protocol.httpHttpURLConnectiongetNewHttpClientSocketException10
sun.net.www.protocol.httpHttpURLConnectionconnectSocketTimeoutException10
sun.net.www.protocol.httpHttpURLConnectionconnectNoRouteToHostException9
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamSSLHandshakeException9
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamNoRouteToHostException9
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamUnknownHostException9
sun.net.www.protocol.httpHttpURLConnection$HttpInputStreamreadSSLException8
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamFileNotFoundException8
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamNullPointerException7
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamAccessControlException7
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamSocketException7
sun.net.www.protocol.httpHttpURLConnectiongetNewHttpClientUnknownHostException6
sun.net.www.protocol.httpHttpURLConnectiongetInputStream0SocketTimeoutException6
sun.net.www.protocol.httpHttpURLConnection$6runFileNotFoundException6
sun.net.www.protocol.httpHttpURLConnectionconnectAccessControlException6
sun.net.www.protocol.httpHttpURLConnectionplainConnectConnectException5
sun.net.www.protocol.httpHttpURLConnectionconnectIllegalArgumentException5
sun.net.www.protocol.httpHttpURLConnectionplainConnect0UnknownHostException5
sun.net.www.protocol.httpHttpURLConnectiongetInputStream0SocketException5
sun.net.www.protocol.httpHttpURLConnectiongetNewHttpClientSocketTimeoutException5
sun.net.www.protocol.httpHttpURLConnectiongetInputStream0SSLHandshakeException5
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamSocketTimeoutException5
sun.net.www.protocol.httpHttpURLConnectiongetInputStream0IOException4
sun.net.www.protocol.httpHttpURLConnectiongetHeaderFieldConnectException4
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamAccessControlException4
sun.net.www.protocol.httpHttpURLConnectionconnectBindException3
sun.net.www.protocol.httpHttpURLConnectionconnectNullPointerException3
sun.net.www.protocol.httpHttpURLConnection$StreamingOutputStreamwriteIOException3
sun.net.www.protocol.httpHttpURLConnectiongetInputStreamMalformedURLException3
sun.net.www.protocol.httpHttpURLConnectiongetOutputStreamIOException3
sun.net.www.protocol.httpHttpURLConnectiongetOutputStream0SSLHandshakeException3
sun.net.www.protocol.httpHttpURLConnectionplainConnectIllegalArgumentException3