I should add that we're using HttpCore 4.01. The issue sounds similar
to HTTPCORE-180.

We're using the following JVM:

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

Thanks,

Sam



On 11 June 2010 11:33, Sam Crawford <[email protected]> wrote:
> Morning,
>
> We've just put together our first HttpCore-based server and we're
> intermittently seeing an exception in our logs which is causing the
> entire server to shutdown.
>
> INFO com.acmecorp.proj.http.HttpSSLServer: Connection open:
> [rl143.1blu.de/82.98.78.94:40892]
> ERROR com.acmecorp.proj.http.HttpSSLServer: I/O error
> org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker
> terminated abnormally
>        at 
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:326)
>        at com.acmecorp.proj.http.HttpSSLServer$1.run(HttpSSLServer.java:162)
> Caused by: java.lang.NullPointerException
>        at 
> org.apache.http.nio.protocol.AsyncNHttpServiceHandler.inputReady(AsyncNHttpServiceHandler.java:317)
>        at 
> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:179)
>        at 
> org.apache.http.impl.nio.SSLServerIOEventDispatch.inputReady(SSLServerIOEventDispatch.java:225)
>        at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:153)
>        at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:314)
>        at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:294)
>        at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256)
>        at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:96)
>        at 
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:556)
>        at java.lang.Thread.run(Thread.java:619)
> INFO com.acmecorp.proj.http.HttpSSLServer: Shutdown HTTP server
>
> Can you advise if this is related to the item discussed in
> http://hc.apache.org/httpcomponents-core-4.0.1/tutorial/html/nio.html#d0e1240,
> or is it likely to be an unrelated issue with our code? The NPE
> suggests to me that it's more likely to be our code.
>
> Thanks,
>
> Sam
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to