I got the following stacktrace
[15/12/11 05:52:01:001 EET] WARN EXCEPTION @7361b0bc=POST//xxx.xxx.xxx.xxx:xxxx/service/receiveMessage?nodeType=server&messageType=generatePoster&callerId=null&messageId=21c1f0e4-8ffe-4c4e-ade0-2b475c029203#WAITING(31811ms)->EXCEPTED(1ms)sent=31813ms
java.lang.NullPointerException
at org.eclipse.jetty.http.HttpGenerator.prepareBuffers(HttpGenerator.java:1045)
at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:921)
at org.eclipse.jetty.client.AsyncHttpConnection.handle(AsyncHttpConnection.java:86)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Thread.java:636)
(Unfortunately it is the whole stacktrace, which does not refer any of my classes).
It happens a some seconds after I call
client.send(exchange);
where
client = new org.eclipse.jetty.client.HttpClient(...)
exchange = new org.eclipse.jetty.client.ContentExchange(...)
The version of Jetty jars is 8.1.0.RC0.
My question is : Are the Jetty sources public, and where I can view the sources of HttpGenerator.java?
All of the jetty sources can be found online.
Jetty 6 can be found at codehaus.org
Jetty 7:
Jetty 8:
Jetty 9:
Note: The jetty project is not allowed to access github pull requests due to Eclipse Foundation policy.
There are sources.jars available at http://repo1.maven.org/maven2/org/eclipse/jetty/ Yours should be there somewhere, probably jetty-http...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With