[opencms-dev] ver. 5 -- NEWS RSS module, exceptions when I open the admin pages

Xavier Ottolini xavier.ottolini at adelis.com
Thu Feb 24 18:24:54 CET 2005


I found the origin of the exceptions

There was something curious.
The classes of the package com.opencms.modules.homepage.news are present 
in two directories. In  $CATALINA_HOME/webapps/opencms/WEB-INF/lib/rss4j.jar
and in
 /home/adelis_tomcat/devtomcat/webapps/opencms/WEB-INF/classes/

Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
France
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com




Xavier Ottolini a écrit :

> Hi all,
>
>
> I try to set up the RSS module. My environement is the following :
> Tomcat 4.10
> JRE 1.4.2_05
> MySql 3.23
> Apache 1.3 (to avoid the 8080)
> OpenCms 5.01 Fat binary
>
> The OpenCms fat binary already contains the 
> org.opencms.website-demo_1.0.zip and the org.opencms.templates_1.0.zip 
> packages.
> .
> I first tryied to install the News module alone. But there was 
> exceptions in the news module. So I removed it.
> I installed the News with RSS module
> I ran the SQL script in the "opencms" database.
> I restarted Tomcat.
>
> - When I click on the "NewsChannel" icon there is the following message :
>
> "Filtre Show all:                com.opencms.core.CmsException: Column 
> Index out of range ( 5 > 4). "
>
> In catalina.out, there is the message : Exception in 
> NewsChannelContentDefinition.getChannelList()!
>
> - When I click on the "News" icon, the message is :
> "com.opencms.core.CmsException: 0 Unknown exception. Detailed error: 
> CmsException ID: 0.
> root cause was java.lang.NullPointerException
>    at 
> com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:194) 
>
>    at 
> com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>    at 
> com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149) 
>
>    at 
> com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285) 
>
>    at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
>    at 
> com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
>    at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
>    at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"
>
> Can someone help me to fix this problem ? I would really appreciate that!
>
> Regards,
>



More information about the opencms-dev mailing list