You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2012/11/01 13:39:12 UTC

[jira] [Created] (QPID-4408) Potential NullPointerException on connection close

Dejan Bosanac created QPID-4408:
-----------------------------------

             Summary: Potential NullPointerException on connection close
                 Key: QPID-4408
                 URL: https://issues.apache.org/jira/browse/QPID-4408
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Dejan Bosanac


connection close method only checks if the state is different then UNCONNECTED, so in some tests I encountered NPE as the actual _conn object was null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-4408) [AMQP 1-0 JMS Client] Potential NullPointerException on connection close

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-4408:
---------------------------------

    Summary: [AMQP 1-0 JMS Client] Potential NullPointerException on connection close  (was: Potential NullPointerException on connection close)
    
> [AMQP 1-0 JMS Client] Potential NullPointerException on connection close
> ------------------------------------------------------------------------
>
>                 Key: QPID-4408
>                 URL: https://issues.apache.org/jira/browse/QPID-4408
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Dejan Bosanac
>         Attachments: connection.patch
>
>
> connection close method only checks if the state is different then UNCONNECTED, so in some tests I encountered NPE as the actual _conn object was null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-4408) Potential NullPointerException on connection close

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac updated QPID-4408:
--------------------------------

    Attachment: connection.patch
    
> Potential NullPointerException on connection close
> --------------------------------------------------
>
>                 Key: QPID-4408
>                 URL: https://issues.apache.org/jira/browse/QPID-4408
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Dejan Bosanac
>         Attachments: connection.patch
>
>
> connection close method only checks if the state is different then UNCONNECTED, so in some tests I encountered NPE as the actual _conn object was null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-4408) Potential NullPointerException on connection close

Posted by "Rajith Attapattu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu resolved QPID-4408.
------------------------------------

    Resolution: Fixed

Committed patch http://svn.apache.org/viewvc?rev=1404586&view=rev
                
> Potential NullPointerException on connection close
> --------------------------------------------------
>
>                 Key: QPID-4408
>                 URL: https://issues.apache.org/jira/browse/QPID-4408
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Dejan Bosanac
>         Attachments: connection.patch
>
>
> connection close method only checks if the state is different then UNCONNECTED, so in some tests I encountered NPE as the actual _conn object was null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org