[opencms-dev] Problems with Alkacon OAMP Comments Module Version 1.0.3
Ilya S. Ahimov
cms at isu.ru
Tue Mar 29 19:13:58 CEST 2011
Hello!
Problems with module Alkacon_OAMP_Comments_1.0.3.
System configuration:
jdk1.6.0_20
Tomcat-5.5.31
OpenCMS 7.5.4 (tried 7.5.3) - integrated with Apache webserver with
mod_proxy, multisite configuration.
Configuration of moudule:
Module parametrs:
config:sample=/system/modules/com.alkacon.opencms.comments/docs/comments.xml
Property "comments" of page (article) set to "sample".
StackTrace:
30 Mar 2011 01:25:41,190 ERROR [ina.core.ApplicationDispatcher: 691]
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at
com.alkacon.opencms.comments.CmsCommentsAccess.getCommentFilter(CmsCommentsAccess.java:914)
at
com.alkacon.opencms.comments.CmsCommentsAccess.getCountStateComments(CmsCommentsAccess.java:532)
at
com.alkacon.opencms.comments.CmsCommentsAccess.getPages(CmsCommentsAccess.java:573)
at
com.alkacon.opencms.comments.CmsCommentsAccess.init(CmsCommentsAccess.java:684)
at org.opencms.jsp.CmsJspLoginBean.<init>(CmsJspLoginBean.java:95)
at
com.alkacon.opencms.comments.CmsCommentsAccess.<init>(CmsCommentsAccess.java:184)
at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.com_alkacon_opencms_comments.elements.comment_005fmain_jsp._jspService(comment_005fmain_jsp.java:104)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:565)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:493)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
at
org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:364)
at
org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)
at
org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:473)
at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.ru_isu.templates.article_jsp._jspx_meth_cms_005finclude_005f0(article_jsp.java:440)
at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.ru_isu.templates.article_jsp._jspx_meth_c_005fif_005f0(article_jsp.java:392)
at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.ru_isu.templates.article_jsp._jspService(article_jsp.java:119)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:565)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:493)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:829)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:512)
at
org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:232)
at
org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:52)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1052)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1492)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
How can this be solved?
Thanks,
Ilya
More information about the opencms-dev
mailing list