java.lang.NullPointerException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by J.Doe
, 1 year ago
This exception has no message.
via Google Groups by Unknown author, 11 months ago
This exception has no message.
java.lang.NullPointerException:
at com.liferay.portal.util.HibernateConfiguration.init(HibernateConfiguration.java:75)
at com.liferay.util.dao.hibernate.SessionConfiguration.(SessionConfiguration.java:44)
at com.liferay.portal.util.HibernateConfiguration.(HibernateConfiguration.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.liferay.util.InstancePool._get(InstancePool.java:69)
at com.liferay.util.InstancePool.get(InstancePool.java:39)
at com.liferay.portal.util.HibernateUtil._getSessionConfigurationInstance(HibernateUtil.java:86)
at com.liferay.portal.ejb.BasePersistence.openSession(BasePersistence.java:43)
at com.liferay.portal.ejb.CompanyPersistence.findByPrimaryKey(CompanyPersistence.java:165)
at com.liferay.portal.ejb.CompanyUtil.findByPrimaryKey(CompanyUtil.java:128)
at com.dotmarketing.cms.factories.PublicCompanyFactory.getDefaultCompany(PublicCompanyFactory.java:55)
at com.dotmarketing.servlets.InitServlet.init(InitServlet.java:99)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4901)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.