The first pipeline get and XML -> XSLT -> XML

<map:match pattern="*-*.xml">
        <map:act type="auth-protect">
                    <map:parameter name="handler" value="agshandler"/>
              <map:match pattern="*-*.xml">
             <map:generate src="docs/{1}-{2}.xsp"/>
             <map:transform type="session"/>
             <map:serialize type="xml"/>
        </map:match>
      </map:act>
</map:match>

The second read from the first pipeline making an XSP tranformation:

<map:match pattern="*-*.html">
                    <map:generate src="cocoon://{1}-{2}.xml" 
type="serverpages" encoding="ISO-8859-1"/>
                    <map:transform src="stylesheets/agssa.xsl"/>
                    <map:serialize/>
                </map:match>

I call only this second pipeline, but It returns:

Exception during source resolving.

org.apache.cocoon.ProcessingException: Exception during source resolving.: 
org.apache.excalibur.source.SourceException: Exception during processing of 
cocoon://usr-cambiar.xml: org.apache.cocoon.ProcessingException: Failed to 
execute pipeline.: java.lang.NullPointerException


If I call directly the fisrt pipeline it returns me a valid XML file. What I 
am doing wrong?

Thanks in advance, 

Antonio Gallardo

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

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

Reply via email to