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

Knut Anders Hatlen updated DERBY-3695:
--------------------------------------

    Attachment: d3695.stat
                d3695.diff

The attached patch adds a null check in 
Client{XA,Pooled}Connection40.addStatementEventListener() and makes the test 
case in repro.diff pass.

> NullPointerException when invoking statement event listeners if one of the 
> listeners is null
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3695
>                 URL: https://issues.apache.org/jira/browse/DERBY-3695
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Network Client
>    Affects Versions: 10.4.1.3
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d3695.diff, d3695.stat, repro.diff
>
>
> If PooledConnection.addStatementEventListener() is called with a null 
> argument, the client driver throws a NullPointerException when the listeners 
> are invoked. Embedded does not throw an exception.

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

Reply via email to