[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1691) NPE in PersistenceUnitDeployer
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Sat Jan 17 11:08:04 EST 2009
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-CR1
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