]
Andrew Lee Rubinger reopened EJBTHREE-1691:
-------------------------------------------
Only resolve after the jboss-jpa-deployers:1.0.0-Beta6 has been integrated w/ all active
AS branches.
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: