hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch
Date Wed, 23 Sep 2009 14:46:16 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758722#action_12758722
] 

Oleg Kalnichevski commented on HTTPCORE-206:
--------------------------------------------

Very bizarre. The NPE is thrown because there was no HTTP connection object associated with
the I/O session at the time when IOEventDispatch#inputReady() event was called. I cannot think
of a valid execution path that could lead to such a condition.

Oleg

> 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