You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Albert Hervas <al...@europe.com> on 2002/03/22 13:14:28 UTC

[HELP]Exception in creating Transform Handler

Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException

I'm Albert Hervas, a student from Barcelona (Catalonia).
Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get.
I just would like to know what the pipeline in my 'sitemap.xmap' must look like.
 I know this is pretty 'basic' but I'm stuck here!
Thank you,
Albert Hervas
-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Win the Ultimate Hawaiian Experience from Travelocity.
http://ad.doubleclick.net/clk;4018363;6991039;n?http://svc.travelocity.com/promos/winhawaii/


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [HELP]Exception in creating Transform Handler

Posted by Ivan Rubin <ia...@mcsla.com.ar>.
<map:pipeline>
   <map:match pattern="someuri">
     <map:generate type="file" src="somefile.xml"/>
     <map:transform src="somesheet.xsl"/> <!-- xslt default 
transformation -->
     <map:serialize type="html"/>
</map:pipeline>

The simplest. You should check the different sitemaps provided with the 
samples.

Hope it helps,

Albert Hervas wrote:

> Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException
> 
> I'm Albert Hervas, a student from Barcelona (Catalonia).
> Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get.
> I just would like to know what the pipeline in my 'sitemap.xmap' must look like.
>  I know this is pretty 'basic' but I'm stuck here!
> Thank you,
> Albert Hervas
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: [HELP]Exception in creating Transform Handler

Posted by Vadim Gritsenko <va...@verizon.net>.
First make sample shipped with cocoon work for you. Look in the
docs/samples/xsp/logicsheet.xsp for the sample logicsheet.

PS Sample might not be in Cocoon 2.0.1. In this case, get snapshot from
CVS or wait till March 25 for Cocoon 2.0.2

Vadim

> From: Albert Hervas [mailto:alberthervas@europe.com]
> 
> Description:org.apache.cocoon.ProcessingException: Exception in
creating
> Transform Handler: java.lang.NullPointerException
> 
> I'm Albert Hervas, a student from Barcelona (Catalonia).
> Im a very beginner with Cocoon2 and web developing in general. I just
don't
> know how to associate a 'logicsheet' (xsl file with containing
xsp:logic) to a
> certain xml document. And this is the exception I get.
> I just would like to know what the pipeline in my 'sitemap.xmap' must
look
> like.
>  I know this is pretty 'basic' but I'm stuck here!
> Thank you,
> Albert Hervas
> --


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>