java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: http://XXXXXXXXXXXXXXXXXXXXX/api/v3/repos/awxgx/jira-git-demo-01/pulls?state=open

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via ibm.com by Unknown author

Adjust the timeout barrier so that its more flexible on network delays. It is very important to consider doing that especially when your server application will run in a remote machine. Other than that, avoid whatever causes delays in network.

,
via javacodegeeks.com by Unknown author

This exception emerges when a blocking operation of the two, an accept or a read, is blocked for a certain amount of time, called the timeout.

Solutions on the web

via GitHub by McFoggy
, 1 year ago
org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: http://XXXXXXXXXXXXXXXXXXXXX/api/v3/repos/awxgx/jira-git-demo-01/pulls?state=open
via GitHub by nMustaki
, 11 months ago
java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
via GitHub by richard1122
, 11 months ago
java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
via GitHub by AudriusButkevicius
, 11 months ago
java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
via Google Groups by pjbe...@gmail.com (JIRA), 9 months ago
org.jenkinsci.plugins.github_branch_source.RateLimitExceededException: GitHub API rate limit exceeded
via GitHub by Rahamathulla
, 2 months ago
org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/search/issues?q=ArithmeticException+language%3AJava
java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: http://XXXXXXXXXXXXXXXXXXXXX/api/v3/repos/awxgx/jira-git-demo-01/pulls?state=open
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at org.kohsuke.github.Requester.parse(Requester.java:486)
at org.kohsuke.github.Requester.access$200(Requester.java:69)
at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:416)
at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:392)
at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
at org.kohsuke.github.PagedIterable.asList(PagedIterable.java:42)
at org.kohsuke.github.GHRepository.getPullRequests(GHRepository.java:627)
at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:138)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:291)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:273)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:222)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)

Users with the same issue

Once, 2 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
32 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.