javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [pu1] failed. Internal Exception: java.lang.NullPointerException

Oracle Community | trouby | 10 years ago
  1. 0

    Toplink Exception (TOPLINK-28018) - deploy time - B36

    Oracle Community | 10 years ago | trouby
    javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [pu1] failed. Internal Exception: java.lang.NullPointerException
  2. 0

    Problem with OneToMany bidirectional relation

    Oracle Community | 9 years ago | anishpissac
    javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [MessageBroker] failed. Internal Exception: Exception [TOPLINK-7154] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.ValidationException Exception Description: The attribute [mbMsgCollections] in entity class [class com.path.messageBroker.entities.MbFormula] has a mappedBy value of [mbFormula] which does not exist in its owning entity class [class com.path.messageBroker.entities.MbMsgCollection]. If the owning entity class is a @MappedSuperclass, this is invalid, and your attribute should reference the correct subclass.
  3. 0

    Create Data Control does not work?!

    Oracle Community | 9 years ago | 442847
    com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:OyaisPrototypeJSFEJB_EJBModel_0] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit Prototype.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App fails to start when I place model jar file into WEB-INF/lib.

    Oracle Community | 9 years ago | 621034
    oracle.oc4j.persistence.PersistenceException: [current-workspace-app:CMS2-ViewController-webapp] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit default.
  6. 0

    J2EE 5 (SJSAS 9) - possible bug in Linux dist.

    Oracle Community | 1 decade ago | 843833
    javax.persistence.PersistenceException: Exception [TOPLINK-28009] (Oracle TopLink Essentials - 2006.4 (Build 060412)): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: Attempted to redeploy a session named file:/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/Sklad/WEB-INF/classes/-Sklad without closing it.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      Exception [TOPLINK-28018] (Oracle TopLink Essentials - 9.1 (Build b36-rc)): oracle.toplink.essentials.exceptions.EntityManagerSetupException Exception Description: predeploy for PersistenceUnit [pu1] failed. Internal Exception: java.lang.NullPointerException

      at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy()
    2. oracle.toplink.essentials
      EntityManagerFactoryProvider.createContainerEntityManagerFactory
      1. oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:607)
      2. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:178)
      2 frames
    3. com.sun.enterprise
      ApplicationManager.applicationDeployed
      1. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:136)
      2. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:71)
      3. com.sun.enterprise.server.AbstractLoader.loadPersistenceUnits(AbstractLoader.java:847)
      4. com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:171)
      5. com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
      6. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:323)
      7. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:197)
      8. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:632)
      8 frames
    4. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:905)
      2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:889)
      3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
      4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
      4 frames
    5. com.sun.enterprise
      ApplicationsConfigMBean.start
      1. com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:295)
      2. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:210)
      3. com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
      4. com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
      5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
      6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:564)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:608)
      9. com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:731)
      9 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
      2 frames
    8. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
      1 frame
    9. Java RT
      Method.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      5. sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      7. java.lang.reflect.Method.invoke(Method.java:585)
      7 frames
    10. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
      1 frame
    11. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    12. com.sun.enterprise
      DeployAction.run
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
      2. com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:132)
      3. com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:524)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame