[ 
https://issues.apache.org/jira/browse/OPENJPA-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754000#action_12754000
 ] 

Tim McConnell edited comment on OPENJPA-1292 at 9/10/09 9:58 PM:
-----------------------------------------------------------------

This patch will prevent NullPointerExceptions when 
WriteBehindConfigurationExceptions are thrown. I haven't provided a testcase as 
the failure can easily be demonstrated by running only the existing 
WriteBehindConfiguration(s) testcases......

      was (Author: mcconne):
    This patch will prevent NullPointerExceptions when 
WriteBehindConfigurationExceptions are throw. I haven't provided a testcase as 
the failure can easily be demonstrated by running only the existing 
WriteBehindConfiguration(s) testcases......
  
> NullPointerException when handling WriteBehindConfigurationException
> --------------------------------------------------------------------
>
>                 Key: OPENJPA-1292
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1292
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: writebehind
>    Affects Versions: 2.0.0
>            Reporter: Tim McConnell
>            Assignee: Tim McConnell
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1292.patch
>
>
> There is a small window in PersistenceProviderImpl where an exception can be 
> caught such that the _log instance variable is used prior to it being 
> initialized, resulting in a NullPointerException getting thrown and masking 
> the real exception (e.g., WriteBehindConfigurationException).

-- 
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