Thanks a lot that seems to work now. I now have to do some rejigging of the sub sitemaps to make thenm work again though. Is there many other considerations that need to be taken into account when switching from compiled to interpreted sitemaps? Thanks for all your help. Iain
Hmmm.... good question. I don't recall but it's been a while. As this has been somewhat of a long thread, you may have better luck catching notice of someone who knows by starting a new thread with the specific question about effects of changing from compiled to interpreted sitemap. If you do, be sure to mention which version of Cocoon you're on and what specificially is broken with some detail.
Geoff
----- Original Message ----- From: "Geoff Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 6:37 PM
Subject: Re: [Help]sub-sitemaps throwing NullPointerException after edit of
main sitemap!
Iain McNally wrote:
Hi, I've been using coocon for some time now and everything usually work out
ok
but I'm having a major issue at the moment with sub-sitemaps. I have a number of subsitemaps configured in the main sitemap, and EVERYRTHING works perfectly up until I edit and save the main
sitemap.Once
I request the page again the error below is thrown.
...
at
org.apache.cocoon.www.test.sitemap_xmap.matchd0e123(/home/o2uk/jakarta-tomca
t-4.0.6/work/Standalone/localhost/ndm/cocoon-files/org/apache/cocoon/www/tes
t/sitemap_xmap.java:1029)
You're using the compiled sitemap engine instead of the newer treeprocessor (which does IIRC use xslt to create a .java file which is then compiled - like xsp still does). Which release (or approximate cvs date) are you based on? If you have upgraded an application built on an older Cocoon version to a newer release, you may just need to change your sitemap implementation in cocoon.xconf (there should be a comment there about how to do that).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
