[opencms-dev] Error while using comment module
Neeraj Kumar
n.kumar at webdirekt.com
Wed May 27 14:42:10 CEST 2009
Hi All,
I am new in opencms I tried to use comment module inside our
application but I am not able to do that.I am getting some problem which
mention below:-
java.lang.NullPointerException
at com.alkacon.opencms.comments.CmsCommentsAccess.getCommentFilter
(CmsCommentsAccess.java:911)
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.offline.system.modules.com_alkacon_opencms_
comments.elements.comment_005fform_jsp._jspService
(comment_005fform_jsp.java:58)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude
(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:472)
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:1193)
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:1227)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171)
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:964)
at org.opencms.main.OpenCmsCore.showResource
(OpenCmsCore.java:1498)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
can anybody tell me why i am getting this error and how i solve it.
Thanks and regards
Neeraj
More information about the opencms-dev
mailing list