Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hibernate.org by Unknown author, 1 year ago
[PersistenceUnit: etalab_enquete] Unable to build EntityManagerFactory
via Stack Overflow by gymcode
, 1 year ago
Aborting, Failed to start container com.sun.enterprise.security.SecurityContainer
via codedmi.com by Unknown author, 1 year ago
Aborting, Failed to start container com.sun.enterprise.security.SecurityContainer
via nabble.com by Unknown author, 2 years ago
Exception [EclipseLink-28017] (Eclipse Persistence Services - 2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Unable to predeploy PersistenceUnit [factory-ejbPU] in invalid state [DeployFailed]
via Eclipse Bugzilla by yiping.zhao, 1 year ago
Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.1.0.qualifier): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [DISABLE_SELECTIVE] failed. Internal Exception
via 4programmers.net by Unknown author, 2 years ago
Could not resolve a persistence unit corresponding to the persistence-context-ref-name [session.connection/em] in the scope of the module called [PSI#PSI-ejb.jar]. Please verify your application.
java.lang.NullPointerException: 	at org.hibernate.ogm.datastore.infinispan.impl.InfinispanDatastoreProvider.putInLocalCache(InfinispanDatastoreProvider.java:129)	at org.hibernate.ogm.datastore.infinispan.impl.InfinispanDatastoreProvider.eagerlyInitializeCaches(InfinispanDatastoreProvider.java:123)	at org.hibernate.ogm.datastore.infinispan.impl.InfinispanDatastoreProvider.start(InfinispanDatastoreProvider.java:108)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.startService(AbstractServiceRegistryImpl.java:255)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:162)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)	at org.hibernate.ogm.datastore.impl.DatastoreServicesImpl.configure(DatastoreServicesImpl.java:53)	at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)	at org.hibernate.ogm.persister.OgmEntityPersister.(OgmEntityPersister.java:116)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)	at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:158)	at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:131)	at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:346)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)	at org.hibernate.ejb.EntityManagerFactoryImpl.(EntityManagerFactoryImpl.java:76)	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)	at org.hibernate.ogm.jpa.HibernateOgmPersistence.createContainerEntityManagerFactory(HibernateOgmPersistence.java:125)	at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:205)	at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:119)	at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214)	at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483)	at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221)	at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167)	at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)	at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290)	at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250)	at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)	at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:722)