You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andrey Almirov <al...@inbox.ru> on 2003/09/25 17:07:27 UTC
Premature end of file error
Hello lenya users!,
I try to use Lenya and Cocoon and all is ok, but the following error worries me.
I the to save to disc the result of working some pipeline, for example A.
The fragment of code is the following:
try
{
url = resolver.resolveURI(A);
io = url.getInputStream();
}
catch(..)
{
…
}
finally
{
if (resolver != null)
{
if (url != null)
{
resolver.release(url);
try
{
io.close();
}
catch(Exception e)
{
retVal.put("page","error");
}
}
}
}
The most interesting that this code is working but the Premature end of file Exception fires.
ERROR (2003-09-25) 17:51.52:812 [access] (/lenya/cms/manage/save-navigation-5) Thread-22/CocoonS
ervlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: null:-1:-1:org.xml.sax.SAXParseE
xception: Premature end of file.,…..
Please, help in this problem if sombody knows the reasones.
Thanks in advance.
PS.
Configuration: Win 2000, JDK 1.4, Tomcat 4.1.24, Apache Cocoon 2.1-M1
Andrey
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org