Skip to content

Regression

org.glassfish.jersey.tests.e2e.container.ResponseWriterOutputStreamTest.testAll[org.glassfish.jersey.test.jdkhttp.JdkHttpServerTestContainerFactory@2d554825]

Failing for the past 1 build (Since Unstable #9 )
Took 3.1 sec.

Error Message

Expected: is "RESOURCE"
     but: was ""

Stacktrace

java.lang.AssertionError: 
Expected: is "RESOURCE"
     but: was ""
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at org.glassfish.jersey.tests.e2e.container.ResponseWriterOutputStreamTest.testPost(ResponseWriterOutputStreamTest.java:89)
	at org.glassfish.jersey.tests.e2e.container.ResponseWriterOutputStreamTest.testAll(ResponseWriterOutputStreamTest.java:95)

Standard Error

Sep 26, 2018 4:23:34 PM org.glassfish.jersey.test.jdkhttp.JdkHttpServerTestContainerFactory$JdkHttpServerTestContainer <init>
INFO: Creating JdkHttpServerTestContainer configured at the base URI http://localhost:9998/
Sep 26, 2018 4:23:34 PM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: A HTTP GET method, public void org.glassfish.jersey.tests.e2e.container.ResponseWriterOutputStreamTest$Resource.get(org.glassfish.jersey.server.ContainerRequest) throws java.io.IOException, should not consume any entity.

Sep 26, 2018 4:23:34 PM org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer$ResponseWriter failure
WARNING: Unable to send a failure response.
java.io.IOException: headers already sent
	at sun.net.httpserver.ExchangeImpl.sendResponseHeaders(ExchangeImpl.java:204)
	at sun.net.httpserver.HttpExchangeImpl.sendResponseHeaders(HttpExchangeImpl.java:86)
	at org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer$ResponseWriter.failure(JdkHttpHandlerContainer.java:304)
	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:436)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:261)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
	at org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer.handle(JdkHttpHandlerContainer.java:135)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
	at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
	at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
	at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Sep 26, 2018 4:23:34 PM org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer$ResponseWriter failure
WARNING: Unable to send a failure response.
java.io.IOException: headers already sent
	at sun.net.httpserver.ExchangeImpl.sendResponseHeaders(ExchangeImpl.java:204)
	at sun.net.httpserver.HttpExchangeImpl.sendResponseHeaders(HttpExchangeImpl.java:86)
	at org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer$ResponseWriter.failure(JdkHttpHandlerContainer.java:304)
	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:436)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:261)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
	at org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer.handle(JdkHttpHandlerContainer.java:135)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
	at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
	at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
	at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)