[
https://issues.apache.org/jira/browse/HTTPCORE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758716#action_12758716
]
Asankha C. Perera commented on HTTPCORE-206:
--------------------------------------------
The infinite loop could be due to Synapse ignoring exceptions and trying to
keep itself alive. A possible better approach would be for it to shutdown and
auto restart the reactors.
However, this does not convey the original cause of the first runtime
exception. I will try Synapse 1.2 with the 4.1-alpha1 and see if this can be
re-created
> NPE in DefaultClientIOEventDispatch
> -----------------------------------
>
> Key: HTTPCORE-206
> URL: https://issues.apache.org/jira/browse/HTTPCORE-206
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 4.1-alpha1
> Environment: CentOS 5.2, x86-32, Sun JVM 1.5.0, Synapse 1.2, HttpCore
> 4.1-alpha1
> Reporter: Ralph Henze
> Fix For: 4.1
>
>
> When used inside Synapse 1.2, after outgoing http requests, a problem occurs
> that shows a NPE with the following stack trace.
> The NPE occurs as infinite loop (that may have its origin in Synapse).
> 2009-09-23 13:18:25,466 WARN
> [org.apache.synapse.transport.nhttp.HttpCoreNIOSender] System may be
> unstable: IOReactor encountered a runtime exception : null
> java.lang.NullPointerException
> at
> org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:148)
> at
> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:319)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)
> at
> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
> at
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:528)
> at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]