You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Simon Gormley (JIRA)" <ji...@apache.org> on 2013/05/28 18:42:21 UTC

[jira] [Updated] (ARIES-1075) NullPointerException in EntityManagerFactoryManager.providerRemoved

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

Simon Gormley updated ARIES-1075:
---------------------------------

    Attachment: EntityManagerFactoryManagerNPE.diff

Suggested code change to resolve NPE
                
> NullPointerException in EntityManagerFactoryManager.providerRemoved
> -------------------------------------------------------------------
>
>                 Key: ARIES-1075
>                 URL: https://issues.apache.org/jira/browse/ARIES-1075
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>            Reporter: Simon Gormley
>            Priority: Minor
>         Attachments: EntityManagerFactoryManagerNPE.diff
>
>
> The EntityManagerFactoryManager.providerRemoved(ServiceReference) method assumes that the provider field is non-null, when it can be null. This leads to a NullPointerException.
> Suggested solution will be attached

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