com.dotmarketing.exception.DotHibernateException

Error setting Query

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Unknown author,
  • Stack trace

    • com.dotmarketing.exception.DotHibernateException: Error setting Query at com.dotmarketing.db.HibernateUtil.setQuery(HibernateUtil.java:199)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getLanguage(LanguageFactoryImpl.java:70)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getDefaultLanguage(LanguageFactoryImpl.java:234)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageAPIImpl.getDefaultLanguage(LanguageAPIImpl.java:92)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:104)[dotcms_3.6.0_3876030.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.18] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.18] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.18] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.18] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)[catalina.jar:8.0.18] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)[tomcat-coyote.jar:8.0.18] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)[tomcat-coyote.jar:8.0.18] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)[tomcat-coyote.jar:8.0.18] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)[tomcat-coyote.jar:8.0.18] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)[tomcat-coyote.jar:8.0.18] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_73] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.18] at java.lang.Thread.run(Unknown Source)[?:1.8.0_73] Caused by: com.dotmarketing.exception.DotHibernateException: Unable to get Hibernate Session at com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:676)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.db.HibernateUtil.setQuery(HibernateUtil.java:195)[dotcms_3.6.0_3876030.jar:?] ... 23 more Caused by: com.dotmarketing.exception.DotHibernateException: Unable to build Session Factory at com.dotmarketing.db.HibernateUtil.buildSessionFactory(HibernateUtil.java:581)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:636)[dotcms_3.6.0_3876030.jar:?] ... 24 more Caused by: com.dotcms.repackage.net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:886)[dot.hibernate-2.1.7_2.jar:?] at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:910)[dot.hibernate-2.1.7_2.jar:?] at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:897)[dot.hibernate-2.1.7_2.jar:?] at com.dotmarketing.db.HibernateUtil.buildSessionFactory(HibernateUtil.java:542)[dotcms_3.6.0_3876030.jar:?] ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.