Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006250 [Resin] minor always 05-22-19 00:08 06-18-19 14:18
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.61
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]
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-22-19 00:08 nam New Issue
06-18-19 14:18 ferg Assigned To  => ferg
06-18-19 14:18 ferg Status new => closed
06-18-19 14:18 ferg Resolution open => fixed
06-18-19 14:18 ferg Fixed in Version  => 4.0.62


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker