csierra commented on issue #398: [Draft] SSE implementation using AsyncContext
URL: https://github.com/apache/cxf/pull/398#issuecomment-380052012
 
 
   hey @andymc12 @reta,
   I was not very acquainted with the test infra. I made some debugging and I 
found Jackson ObjectWriter to generate this expection:
   ```java.lang.NullPointerException
        at 
org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer(InternalNioOutputBuffer.java:234)
        at 
org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:189)
        at 
org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:177)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:740)
        at org.apache.coyote.Response.action(Response.java:179)
        at org.apache.coyote.Response.sendHeaders(Response.java:350)
        at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:335)
        at 
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
        at 
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
        at 
com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1100)
        at 
com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:915)
        at 
com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:625)
        at 
org.apache.cxf.jaxrs.sse.OutboundSseEventBodyWriter.writePayloadTo(OutboundSseEventBodyWriter.java:139)
        at 
org.apache.cxf.jaxrs.sse.OutboundSseEventBodyWriter.writeTo(OutboundSseEventBodyWriter.java:112)
        at 
org.apache.cxf.jaxrs.sse.OutboundSseEventBodyWriter.writeTo(OutboundSseEventBodyWriter.java:40)
        at 
org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue(SseEventSinkImpl.java:124)
        at 
org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:571)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)```
   
   this seems to be what is preventing tests from passing 😕 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to