hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch
Date Wed, 23 Sep 2009 17:08:15 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Asankha C. Perera resolved HTTPCORE-206.
----------------------------------------

    Resolution: Invalid

This is not an issue with HttpCore, although previous versions (i.e. prior to 1.4-alpha1)
did not have a problem with a ctx.removeAttribute(ExecutionContext.HTTP_CONNECTION) done by
Synapse in clearing a keepalive connection for re-use, which I believe is a defect on Synapse
1.2 codebase. However Synapse 1.2 will not be using this later version of HttpCore unless
via a custom maintenance release, in which case the issue can be fixed where required

> 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
>            Assignee: Asankha C. Perera
>             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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message