]
Carlo de Wolf updated JBJPA-1:
------------------------------
Fix Version/s: 1.0.0-Beta6
(was: 1.0.0-Beta5)
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-Beta6
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: