In PersistenceRefProcessor the getPersistenceUnitBindingSource method calls PersistenceUnitSearch.resolvePersistenceUnitSupplier to retrieve a PersistenceUnitMetadata object. It then without checking for null, dereferences that object to get the scoped persistent unit name. However, resolvePersistenceUnitSupplier through its call to findPersistenceUnitSupplier can return a null value. When this happens NullPointerException is thrown rather than DeploymentUnitProcessingException as would be expected.
This is fixed upstream at https://github.com/wildfly/wildfly/blob/master/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceRefProcessor.java#L211 (also see WFLY-1994).
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Verified with EAP 6.4.11.CP.CR1
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.