[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1691) NPE in PersistenceUnitDeployer

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sat Jan 17 20:12:04 EST 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger resolved EJBTHREE-1691.
-------------------------------------------

    Fix Version/s: 1.0.0-Beta12
                       (was: 1.0.0-CR1)
       Resolution: Done


> NPE in PersistenceUnitDeployer
> ------------------------------
>
>                 Key: EJBTHREE-1691
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1691
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: jpa-deployers
>    Affects Versions: 1.0.0-Beta12
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>             Fix For: 1.0.0-Beta12
>
>         Attachments: EJBTHREE-1691.patch
>
>
> PersistenceUnitDeployer.addDependencies assumes that the default persistence properties are always specified:
>       Map<String, String> metadataProps = metaData.getProperties();
>       props.putAll(metadataProps);
> Change to:
>       Map<String, String> metadataProps = metaData.getProperties() != null
>             ? metaData.getProperties()
>             : new HashMap<String, String>();
>       props.putAll(metadataProps);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list