Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6250 | minor | always | 05-22-19 00:08 | 06-18-19 14:18 | |
|
|||||
Reporter: | nam | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.61 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.62 | ||
|
|||||
Summary: | 0006250: Hibernate validator throws NPE because AmberPersistenceProvider.getProviderUtil() returns null | ||||
Description: |
(rep by Oneshin) It is actually javax.persistence.Persistence.isLoaded() that is throwing the NPE: https://github.com/hibernate/hibernate-jpa-api/blob/2.1/src/main/java/javax/persistence/Persistence.java#L111 [^] Caused by: java.lang.NullPointerException: null at javax.persistence.Persistence$1.isLoaded(Persistence.java:111) ~[hibernate-jpa-2.1-api-1.0.0.Final.jar:1.0.0.Final] at org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:47) ~[hibernate-validator-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:128) ~[hibernate-validator-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.validator.internal.engine.resolver.CachingTraversableResolverForSingleValidation.isReachable(CachingTraversableResolverForSingleValidation.java:36) ~[hibernate-validator-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.isReachable(ValidatorImpl.java:1612) ~[hibernate-validator-5.4.2.Final.jar:5.4.2.Final] |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |