Skip to content

Instantly share code, notes, and snippets.

@Darkhax
Last active April 6, 2017 00:25
Show Gist options
  • Save Darkhax/32ecbf508d219041532bafc35562fa29 to your computer and use it in GitHub Desktop.
Save Darkhax/32ecbf508d219041532bafc35562fa29 to your computer and use it in GitHub Desktop.
18:17:01.352: [ERROR][RequestBuffer Retry Handler][sx.blah.discord.Discord4J] - Discord4J Internal Exception
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at sx.blah.discord.api.internal.Requests$Request.request(Requests.java:296)
at sx.blah.discord.api.internal.Requests$Request.request(Requests.java:262)
at sx.blah.discord.api.internal.Requests$Request.makeRequest(Requests.java:224)
at sx.blah.discord.api.internal.Requests$Request.makeRequest(Requests.java:169)
at sx.blah.discord.handle.impl.obj.Channel.requestHistory(Channel.java:190)
at sx.blah.discord.handle.impl.obj.Channel.lambda$getFullMessageHistory$15(Channel.java:482)
at sx.blah.discord.util.RequestBuffer$RequestFuture$RequestCallable.call(RequestBuffer.java:289)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at sx.blah.discord.util.RequestBuffer$RequestFuture.run(RequestBuffer.java:264)
at sx.blah.discord.util.RequestBuffer$RequestFuture.access$200(RequestBuffer.java:165)
at sx.blah.discord.util.RequestBuffer$RequestRunnable.lambda$run$0(RequestBuffer.java:331)
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890)
at sx.blah.discord.util.RequestBuffer$RequestRunnable.run(RequestBuffer.java:328)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
18:17:01.353: [WARN][RequestBuffer Retry Handler][sx.blah.discord.Discord4J] - RequestBuffer handled an uncaught exception!
java.lang.NullPointerException
at sx.blah.discord.handle.impl.obj.Channel.requestHistory(Channel.java:192)
at sx.blah.discord.handle.impl.obj.Channel.lambda$getFullMessageHistory$15(Channel.java:482)
at sx.blah.discord.util.RequestBuffer$RequestFuture$RequestCallable.call(RequestBuffer.java:289)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at sx.blah.discord.util.RequestBuffer$RequestFuture.run(RequestBuffer.java:264)
at sx.blah.discord.util.RequestBuffer$RequestFuture.access$200(RequestBuffer.java:165)
at sx.blah.discord.util.RequestBuffer$RequestRunnable.lambda$run$0(RequestBuffer.java:331)
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890)
at sx.blah.discord.util.RequestBuffer$RequestRunnable.run(RequestBuffer.java:328)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment