Community
Participate
Working Groups
Occurs during testing of org.eclipse.jetty.servlets.ProxyServletTest.testBigDownloadWithSlowReader Error Message expected:<6291456> but was:<98304> Stacktrace junit.framework.AssertionFailedError: expected:<6291456> but was:<98304> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:130) at junit.framework.Assert.assertEquals(Assert.java:136) at org.eclipse.jetty.servlets.ProxyServletTest.testBigDownloadWithSlowReader(ProxyServletTest.java:141) ---- CONSOLE ---- Running org.eclipse.jetty.servlets.ProxyServletTest 2012-01-20 13:09:17.658:INFO:oejs.Server:jetty-7.6.0-SNAPSHOT 2012-01-20 13:09:17.658:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/proxy,null} 2012-01-20 13:09:17.683:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null} 2012-01-20 13:09:17.685:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:45565 2012-01-20 13:09:17.741:WARN:oejsoejs.ProxyServletTest$1-21422977: java.lang.NullPointerException at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:217) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:167) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101) at org.eclipse.jetty.io.AbstractBuffer.writeTo(AbstractBuffer.java:672) at org.eclipse.jetty.servlets.ProxyServlet$1.onResponseContent(ProxyServlet.java:453) at org.eclipse.jetty.client.HttpExchange$Listener.onResponseContent(HttpExchange.java:1172) at org.eclipse.jetty.client.AbstractHttpConnection$Handler.content(AbstractHttpConnection.java:330) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:952) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.client.AsyncHttpConnection.handle(AsyncHttpConnection.java:126) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:611) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Thread.java:662) 2012-01-20 13:09:18.023:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,null} 2012-01-20 13:09:18.085:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/proxy,null} Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.559 sec <<< FAILURE!
*** This bug has been marked as a duplicate of bug 369291 ***