java.lang.NullPointerException

Google Groups | Unknown author | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cant run dotCMS

    Stack Overflow | 5 months ago | J.Doe
    java.lang.NullPointerException
  2. 0

    Can't start dotcms

    Google Groups | 5 months ago | Unknown author
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.liferay.portal.util.HibernateConfiguration.init()
    2. Liferay Portal Service
      HibernateConfiguration.init
      1. com.liferay.portal.util.HibernateConfiguration.init(HibernateConfiguration.java:75)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    3. com.liferay.util
      SessionConfiguration.<init>
      1. com.liferay.util.dao.hibernate.SessionConfiguration.<init>(SessionConfiguration.java:44)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    4. Liferay Portal Service
      HibernateConfiguration.<init>
      1. com.liferay.portal.util.HibernateConfiguration.<init>(HibernateConfiguration.java:44)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_73]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73]
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)[?:1.8.0_73]
      5. java.lang.Class.newInstance(Unknown Source)[?:1.8.0_73]
      5 frames
    6. Liferay Util Java
      InstancePool.get
      1. com.liferay.util.InstancePool._get(InstancePool.java:69)[dotcms_3.6.0_3876030.jar:?]
      2. com.liferay.util.InstancePool.get(InstancePool.java:39)[dotcms_3.6.0_3876030.jar:?]
      2 frames
    7. Liferay Portal Service
      HibernateUtil.openSession
      1. com.liferay.portal.util.HibernateUtil._getSessionConfigurationInstance(HibernateUtil.java:86)[dotcms_3.6.0_3876030.jar:?]
      2. com.liferay.portal.util.HibernateUtil.openSession(HibernateUtil.java:68)[dotcms_3.6.0_3876030.jar:?]
      2 frames
    8. com.liferay.portal
      CompanyUtil.findByPrimaryKey
      1. com.liferay.portal.ejb.BasePersistence.openSession(BasePersistence.java:43)[dotcms_3.6.0_3876030.jar:?]
      2. com.liferay.portal.ejb.CompanyPersistence.findByPrimaryKey(CompanyPersistence.java:165)[dotcms_3.6.0_3876030.jar:?]
      3. com.liferay.portal.ejb.CompanyUtil.findByPrimaryKey(CompanyUtil.java:128)[dotcms_3.6.0_3876030.jar:?]
      3 frames
    9. com.dotmarketing.cms
      PublicCompanyFactory.getDefaultCompany
      1. com.dotmarketing.cms.factories.PublicCompanyFactory.getDefaultCompany(PublicCompanyFactory.java:55)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    10. com.dotmarketing.servlets
      InitServlet.init
      1. com.dotmarketing.servlets.InitServlet.init(InitServlet.java:99)[dotcms_3.6.0_3876030.jar:?]
      1 frame
    11. Glassfish Core
      HostConfig$DeployDescriptor.run
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)[catalina.jar:8.0.18]
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)[catalina.jar:8.0.18]
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4901)[catalina.jar:8.0.18]
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)[catalina.jar:8.0.18]
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.18]
      7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.18]
      8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.18]
      9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)[catalina.jar:8.0.18]
      10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)[catalina.jar:8.0.18]
      11. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)[catalina.jar:8.0.18]
      11 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_73]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_73]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_73]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_73]
      5. java.lang.Thread.run(Unknown Source)[?:1.8.0_73]
      5 frames