[
https://jira.jboss.org/jira/browse/JBJPA-1?page=com.atlassian.jira.plugin...
]
Carlo de Wolf moved EJBTHREE-1691 to JBJPA-1:
---------------------------------------------
Project: JBoss JPA (was: EJB 3.0)
Key: JBJPA-1 (was: EJBTHREE-1691)
Component/s: (was: jpa-deployers)
Fix Version/s: 1.0.0-Beta5
(was: 1.0.0-Beta12)
Affects Version/s: (was: 1.0.0-Beta12)
NPE in PersistenceUnitDeployer
------------------------------
Key: JBJPA-1
URL:
https://jira.jboss.org/jira/browse/JBJPA-1
Project: JBoss JPA
Issue Type: Bug
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0-Beta5
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