Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipseLink to Hibernate migration
    primarykey
    data
    text
    <p>I'm trying to migrate enterprise application which was built for Glassfish3 + EclipseLink to JBoss7 + Hibernate. </p> <p>When I'm trying to enable my application, the persistence unit does not start, throwing this exception</p> <pre><code>ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.persistenceunit."app-logic.ear/domain-jpa-ejb.jar#dataspace-PU": org.jboss.msc.service.StartException in service jboss.persistenceunit."app-logic.ear/domain-jpa-ejb.jar#dataspace-PU": Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] Caused by: java.lang.NullPointerException at org.hibernate.annotations.CacheConcurrencyStrategy.fromAccessType(CacheConcurrencyStrategy.java:52) at org.hibernate.cfg.AnnotationBinder.determineCacheConcurrencyStrategy(AnnotationBinder.java:1038) at org.hibernate.cfg.AnnotationBinder.buildCacheMock(AnnotationBinder.java:1005) at org.hibernate.cfg.AnnotationBinder.determineCacheSettings(AnnotationBinder.java:962) </code></pre> <p>Did anything similar happened to you? Seems weird to me, that NullPointerException is thrown. I tried to inspect whats' on the line 52 in CacheConcurrencyStrategy, but it doesn't seem able to throw such exception.</p> <p>Note that I'm not using any persistence-provider specific annotations.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload