cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Textor <jc.tex...@gmx.de>
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" />
</map:match>

and like this:

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

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

Regards,
Johannes

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:
> http://77.240.21.139/cocoon/asemakaavat/selitykset/A4p/Karsamaki/Kirkonseutu/01.pdf
>
>
> mika 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message