[opencms-dev] Error in Comments-Module

Tobias Herrmann t.herrmann at alkacon.com
Thu Apr 9 15:55:37 CEST 2009


Dear Frank,

you have all the classes you need, otherwise you get a 
java.lang.ClassNotFoundException.

The exception you get hints me to a missing request parameter. Which 
steps have you taken to integrate the comments-module in your page? Can 
you show me the source code of your test page?


Regards,

Tobias

-- 
Tobias Herrmann

-------------------

Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann

http://www.alkacon.com
http://www.opencms.org

Visit OpenCms Days 2009 Conference and Expo
June 15 to June 16 2009 in Cologne, Germany
http://www.opencms-days.org





Frank Pertack schrieb:
>
> Hello,
>
> I know, there are already several entries about this in the list, but 
> none come up with a sound solution.
> I like to use the Comments Module in our site. But in any case (in the 
> site-section as well as in the system-section) I get the following error:
>
>
> 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.sites.default_.start.test_jsp._jspService(test_jsp.java:105)
> 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.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)
>
> Does anybody have an idea, what has to be changed, so I can set up a 
> comment-page which is usable either in the site or the system.
> By the way, there is no "CmsCommentsAccess"-class in the 
> "com.alkacon.opencms.comments."-directory, So I guess, the module 
> cannot work correctly. So is the module incomplete? Do I have to 
> download it again?
> I really like to use the comments-module, but I don't know a way, how 
> to integrate it into our site.
>
> Thank you in advance for your kind support, best regards
>
> Frank
>
> Frank Pertack
>
>
> Vater Solution GmbH
> Liebigstraße 26
> 24145 Kiel
>
> Telefon: +49 431 20084-210
> Telefax: +49 431 20084-222
> Mobil: +49 151 16353519
> mailto: fpertack at vater-gruppe.de
> http://www.vater-gruppe.de
>
> Amtsgericht Kiel, HRB 6403
> Geschäftsführer:
> Klaus-Hinrich Vater
> Michael Wiese
> -----
> Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
> Email irrtümlich erhalten haben, informieren Sie bitte sofort den 
> Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie 
> die unbefugte Weitergabe dieser Email sind nicht gestattet.
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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



More information about the opencms-dev mailing list