Re: Exception during commit (defaultfiredocs as template pub)
Anish <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Rudolf > Is your publication still working ? My publication is still working, I don't get such error. > Was the document checked out when you tried to publish your page ? Yes the document was checked out, even I tried with new media document but got the same exception while publishing. I've removed content folder and started from "Start with your own pages" and created homepage type document, while publishing homepage I got the same exception again. Please suggest. Rudolf Korhummel wrote: > Hi Anish, > >> Hi All >> >> I've created a publication using "defaultfiredocs" publication as a >> template. While publishing the first page of publication i.e. >> homepage, I get following exception: >> >> * Exception during commit or rollback: null (see logfiles for >> details) >> >> >> log4j.log gives: >> >> >> java.lang.NullPointerException >> at >> org.apache.lenya.cms.site.tree2.SiteTreeRevisionVerifier.eventFired(SiteTreeRevisionVerifier.java:33) >> at >> org.apache.lenya.cms.observation.ObservationManager.notify(ObservationManager.java:88) >> at >> org.apache.lenya.cms.observation.ObservationManager.eventFired(ObservationManager.java:101) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) > > Is your publication still working ? Or do you now get an error like > [Latest revison loaded] is not true! ? > I that case there is something wrong with sitetree.xml and > sitetree.xml.rcml. > The files are located in the live and authoring area oft the content > folder in your publication. > The revision numbers of the highest entries of sitetree.xml and > sitetree.xml.rcml must be the same. > If not please remove the higher entries and restart Lenya. > > I saw this error after I tried to rename or change the visibility of a > checked out document. > 3 days ago I fixed this in the current 2.0.X branch. But maybe there > is an other case when this happens. > > Was the document checked out when you tried to publish your page ? > > Best > > Rudolf > >> ............................................................... >> ............................................................... >> ............................................................... >> >> >> I'm using: >> >> Lenya 2.0.3/ tomcat5.5.17 >> >> Please suggest. >> >> -- >> Anish Sneh >> Software Engineer >> Techblue Softwares Pvt. Ltd. >> www.technologyblueprint.co.uk <http://www.technologyblueprint.co.uk> >> >> >> > -- Anish Sneh Software Engineer Techblue Softwares Pvt. Ltd. www.technologyblueprint.co.uk