[opencms-dev] Comments module:
dvenu99
dvenu99 at gmail.com
Mon Nov 23 11:46:18 CET 2009
HI
module 7.5.1
Alkacon OAMP Comments - 1.0.3
I am having the problem in cofiguring the module, where to set the property
? I am getting the following error ..
javax.servlet.ServletException: javax.servlet.jsp.JspException:
java.lang.NullPointerException
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.xx.templates.main_jsp._jspService(main_jsp.java:501)
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:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
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:1489)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
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:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at
com.alkacon.opencms.comments.CmsCommentsAccess.getPages(CmsCommentsAccess.java:574)
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_005fmain_jsp._jspService(comment_005fmain_jsp.java:93)
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:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
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.offline.system.modules.xx.templates.main_jsp._jspx_meth_cms_005finclude_005f3(main_jsp.java:1567)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.xx.templates.main_jsp._jspx_meth_c_005fif_005f1(main_jsp.java:1518)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.xx.templates.main_jsp._jspService(main_jsp.java:466)
... 37 more
Marc Schlegel-2 wrote:
>
> Thanks a lot for this module, I was really waiting for it.
>
> Anyway, I having a small problem with it.
> After installation, I created a configuration file without no problem.
> Then I added a jsp to my page (the guestbook) since I dont want to have
> directly in my template for now. I added the provided code, declared a
> "comments" property and pointed it to the configfile.
>
> When I try to display this page now, I get the message
> "/system/modules/com.alkacon.opencms.comments/elements/comme
> nt_main.jsp" cannot be read. So I checked if it is there and
> published...yes
>
> What could be the problem about this.
>
> best regards
> -- Marc
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
--
View this message in context: http://old.nabble.com/Alkacon-OAMP-Comments-module-available-tp19197079p26475047.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list