yeah i took the clue from this and solved this. The problem persisted in the 
old war file also. 
So I deleted tomcat local cache in tomcat_home/work/Catalina/localhost/. It was 
taking the old cached xsp files.
This solved the issue and it's not giving problems now.
Thanks again 
regards,
Anshuman


-----Original Message-----
From: Michael Wechner [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 1:57 PM
To: [email protected]
Subject: Re: null pointer exception


Roy, Ansuman wrote:

>Hi,
>I have a lenya1.2.4  publication deployed in tomcat. It was working superbly 
>sometime ago. At that time I had copied the back up content i.e. 
>*      lenya/pubs/mypub/content
>*      lenya/pubs/mypub/resources
>*      lenya/pubs/mypub/ac
>  
>

you mean lenya/pubs/mypub/config/ac, right?

>Now I deploy another new war file with the publication my pub in it. Then I 
>replace these old folders in the new application.
>
>But when i go and hit "site" tab and then choose versions, ac auth, ac live 
>tabs i get the following error message:
>org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
>java.lang.NullPointerException 
>  
>

what about if re-install the old war file?

Michi

>org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
>java.lang.NullPointerException
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:582)
>       at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:183)
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:783)
>       at 
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)
>       at 
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:270)
>       at 
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>       at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:235)
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:783)
>       at 
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)
>       at 
> org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:270)
>       at 
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
>       at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:269)
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)
>
>
>.....
>
>Caused by: java.lang.NullPointerException
>       at 
> org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:214)
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:575)
>       ... 75 more
>java.lang.NullPointerException
>       at 
> org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:214)
>       at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:575)
>.....................
>
>
>What might be the problem behind this and what would be the solution to 
>resolve this problem??
>
>regards,
>Anshuman
>
>
>
>
>
>This e-mail and any attachment is for authorised use by the intended 
>recipient(s) only. It may contain proprietary material, confidential 
>information and/or be subject to legal privilege. It should not be copied, 
>disclosed to, retained or used by, any other party. If you are not an intended 
>recipient then please promptly delete this e-mail and any attachment and all 
>copies and inform the sender. Thank you.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to