[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1691) NPE in PersistenceUnitDeployer
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Sat Jan 17 21:18:04 EST 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12448415#action_12448415 ]
Andrew Lee Rubinger commented on EJBTHREE-1691:
-----------------------------------------------
Also update EJB3 Plugin, other EJB3 projects...
> 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