cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Textor <>
Subject Re: error in html serialization
Date Wed, 16 Apr 2008 10:32:32 GMT
Hi Mika,

am I guessing right that you are using Java 1.6?

The NullPointerException means that "This abstract pathname does not
denote a directory, or if an I/O error occurs" (quote from Java spec).
Maybe you're running out of file handles ... which operating system are
you using?

Also, if you set up two minimal test pipeline like this:

<map:match pattern="test.xml">
 <map:generate type="imagedirectory" src="some_dir" />
 <map:serialize type="xml" />

and like this:

<map:match pattern="test.xml">
 <map:generate type="imagedirectory" src="some_dir">
	<map:parameter name="depth" value="2" />
 <map:serialize type="xml" />

does the same error occur in both / one of these pipelines?


Lehtonen, Mika schrieb:
> Some further information:
> I have also this pipeline which produces pdfs' out of the same
> material. It has been functioning for a long time and still does, BUT
> if the html producers crashes, this won't work either.
>    <map:match pattern="selitykset/*/*/*/*.pdf">
>    <map:generate type="imagedirectory" src="selitykset/{2}/{3}/{4}">
>            <map:parameter name="depth" value="2"/>
>        <map:parameter name="root" value="{2}"/>
>        </map:generate>
>        <map:transform src="selitykset/{2}/{1}-pdf.xsl"/>
>        <map:serialize type="fo2pdf"/>
>    </map:match>
> You can try it out at:
> mika 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message