[jira] Created: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

View: New views
11 Messages — Rating Filter:   Alert me  

[jira] Created: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Asankha C. Perera commented on HTTPCORE-206:
--------------------------------------------

I've tried both with Synapse 1.2 original JARs and a private maintenance branch, and I cannot re-create this exception. Could you attach the very fist log file where this error will be reported after the startup? If the log file contains sensitive information, you may zip it and send it to me directly

> 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Asankha C. Perera commented on HTTPCORE-206:
--------------------------------------------

I can reproduce this after the socket times out! Will investigate further

> 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@...
For additional commands, e-mail: dev-help@...


[jira] Assigned: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Asankha C. Perera reassigned HTTPCORE-206:
------------------------------------------

    Assignee: Asankha C. Perera

> 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@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Ralph Henze commented on HTTPCORE-206:
--------------------------------------

I sent the log file to Asankha directly.

> 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@...
For additional commands, e-mail: dev-help@...


[jira] Updated: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Ralph Henze updated HTTPCORE-206:
---------------------------------

    Attachment: synapse.zip

Hi Asankha,

I send the log file directly, because I don't want to disclose our service
names and installation paths.

Thank you.

Mit freundlichen Grüßen

i. A. Ralph Henze
Dipl.-Informatiker (Univ.)
Sparda-Datenverarbeitung eG
AE-ABS/Softwarearchitektur
Tel +49 911 5486 - 519
Fax +49 911 5486 - 331 ralph.henze@...
Sitz der Genossenschaft: Nürnberg Amtsgericht Nürnberg, GnR 271
Vorstand: Ludwig Oberhammer (Vorsitzender), Reinhard Mailänder, Konrad
Burk
Aufsichtsratsvorsitzender: Hans-Jürgen Lüchtenborg
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese E-Mail. Das unerlaubte Kopieren und die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient or have received this e-mail in error,
please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



Von:
"Asankha C. Perera (JIRA)" <jira@...>
An:
Ralph.Henze@...
Datum:
23.09.2009 16:36
Betreff:
[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch




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

Asankha C. Perera commented on HTTPCORE-206:
--------------------------------------------

I've tried both with Synapse 1.2 original JARs and a private maintenance
branch, and I cannot re-create this exception. Could you attach the very
fist log file where this error will be reported after the startup? If the
log file contains sensitive information, you may zip it and send it to me
directly

HttpCore 4.1-alpha1
occurs that shows a NPE with the following stack trace.
[org.apache.synapse.transport.nhttp.HttpCoreNIOSender] System may be
unstable: IOReactor encountered a runtime exception : null
org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:148)
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:319)
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:528)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.





> 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
>
>         Attachments: synapse.zip
>
>
> 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@...
For additional commands, e-mail: dev-help@...


[jira] Updated: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Asankha C. Perera updated HTTPCORE-206:
---------------------------------------

    Attachment:     (was: synapse.zip)

> 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@...
For additional commands, e-mail: dev-help@...


[jira] Updated: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Asankha C. Perera updated HTTPCORE-206:
---------------------------------------

    Comment: was deleted

(was: Hi Asankha,

I send the log file directly, because I don't want to disclose our service
names and installation paths.

Thank you.

Mit freundlichen Grüßen

i. A. Ralph Henze
Dipl.-Informatiker (Univ.)
Sparda-Datenverarbeitung eG
AE-ABS/Softwarearchitektur
Tel +49 911 5486 - 519
Fax +49 911 5486 - 331 ralph.henze@...
Sitz der Genossenschaft: Nürnberg Amtsgericht Nürnberg, GnR 271
Vorstand: Ludwig Oberhammer (Vorsitzender), Reinhard Mailänder, Konrad
Burk
Aufsichtsratsvorsitzender: Hans-Jürgen Lüchtenborg
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese E-Mail. Das unerlaubte Kopieren und die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient or have received this e-mail in error,
please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



Von:
"Asankha C. Perera (JIRA)" <jira@...>
An:
Ralph.Henze@...
Datum:
23.09.2009 16:36
Betreff:
[jira] Commented: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch




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

Asankha C. Perera commented on HTTPCORE-206:
--------------------------------------------

I've tried both with Synapse 1.2 original JARs and a private maintenance
branch, and I cannot re-create this exception. Could you attach the very
fist log file where this error will be reported after the startup? If the
log file contains sensitive information, you may zip it and send it to me
directly

HttpCore 4.1-alpha1
occurs that shows a NPE with the following stack trace.
[org.apache.synapse.transport.nhttp.HttpCoreNIOSender] System may be
unstable: IOReactor encountered a runtime exception : null
org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:148)
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:319)
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:528)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



)

> 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@...
For additional commands, e-mail: dev-help@...


[jira] Resolved: (HTTPCORE-206) NPE in DefaultClientIOEventDispatch

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: dev-help@...