NullPointerException on initial database creation

Type: BugPriority: NormalStatus: ActiveReplies: 2

I'm getting the following exception on initial creation of a database.  There's no indication as to what's wrong and there's nothing in the log.


com.objectdb.o.InternalException: java.lang.NullPointerException: null
at com.objectdb.o.SCO.b(
at com.objectdb.o.NTS.z(
at com.objectdb.o.CLS.S(
at com.objectdb.o.CLS.Q(
at com.objectdb.o.CLS.O(
at com.objectdb.o.CST.Uz(
at com.objectdb.o.CSF.UM(
at com.objectdb.o.OMF.close(
at org.glassfish.persistence.jpa.JPADeployer.closeEMFs(
at org.glassfish.persistence.jpa.JPADeployer.event(
at org.glassfish.kernel.event.EventsImpl$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

According to the exception stack trace, there is an unexpected problem during closing of an EntityManager (apparently automatically by GlassFish).

Could you provide a test case that would demonstrate the exception?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

I'm having trouble creating a simple test case that reproduces it.  At this
point, I think it may be related to having a class annotated with @Startup
or @ApplicationScoped that references an entity class that hasn't been
created in the DB yet.  I will try to make a test project that reliably
reproduces the issue within a couple days.

Post Reply

To post a reply and/or subscribe to update notifications - please login