[opencms-dev] website_for_oc_4.4.0.

Jürgen Schmidt scjuonline at web.de
Thu Oct 4 09:11:52 CEST 2001


I turned off the element cache.
Reimported the News Module successfully.
And tried to import the website.
following exceptions:

[CmsException]: 28 Error while launching template class. Detailed Error:
Received error while calling canonical root for requested file module_new. .
Caught Exception: >java.lang.NullPointerException<
 at
com.opencms.launcher.A_CmsLauncher.handleException(A_CmsLauncher.java:217)
 at
com.opencms.launcher.A_CmsLauncher.callCanonicalRoot(A_CmsLauncher.java:99)
...

I would like to test opencms in any way. (Doesn't have to be the
website).But there is no "up to date" docu yet.
If your modified version of News Module would help, please let me know where
to get it and how to install it.

Further more I've had the following problems as well:

- netscape doesn't give me a right explorer view (4.5 and 6)
- if I try to edit "source" of a template nothing will show up in the editor
- same problem (I guess) if I switch within the editor to texteditor

thx J

----- Original Message -----
From: "Daniel Regenass" <Daniel.Regenass at blue-logic.com>
To: <opencms-dev at www.opencms.com>
Sent: Thursday, October 04, 2001 12:13 AM
Subject: RE: [opencms-dev] website_for_oc_4.4.0.


> It seems to me that you have the same problem I got a few weeks ago.
> Actually,
> it's a combination of two problems:
>
> - openCMS's element cache does not work with templates that use more than
>   one body element (mentioned somewhere earlier in this mailing list).
It's
>   a known bug (in v4.4.0), and maybe, it will disappear in future
releases.
>   The solution for the time being is to switch the element cache off in
the
>   opencms.properties file. Of course, this has a performance impact on
your
>   website!
>
> - However, the current NewsModule release cannot handle a disabled element
> cache
>   causing the exception you mentioned. The solution would be, to switch
the
> element
>   cache on ;-)
>
> - As you may probably want to use more than one body element per page, and

> also
>   use the NewsModule, then you definately have a problem. I solved the
> problem
>   in that way that I got the NewsModule sourcecode and changed it so it
will
> work
>   for the time being with the element cache disabled. Ask me for the
> modified version
>   if you can confirm these effects.
>
> Regards
>
> Daniel
>
> > Hi,
> >
> > I just started to use opencms.
> > I succesfully imported the NEWS Module "NewsModule4.zip" and now
> > I am trying
> > to import the website website_for_oc_4.4.0.zip as well.
> > But the following error msg appear:
> >
> >
> > [CmsException]: 0 Unknown exception. Detailed Error: NO MESSAGE. Caught
> > Exception: >java.lang.NullPointerException<
> >  at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.
> > java:172)
> >  at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:145)
> >  at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsEl
> > ementCache
> > .java:120)
> >  at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.
> > java:209)
> >  at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:264)
> >  at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:272)
> >  at com.opencms.core.OpenCms.showResource(OpenCms.java:402)
> >  at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:523)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >  at com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:106)
> >  at
> >
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:484)
> >  at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
> > ...
> >
> > Is there anyone who had the same problem or could help me, please?
> >
> > thx J
>




More information about the opencms-dev mailing list