"Premature end of line" error when using url-generator and url-serializer

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

"Premature end of line" error when using url-generator and url-serializer



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
ncrofts
I was wondering if anyone can see what is going wrong in the following scenario using OPS 3.5:
 
I'm trying to use the oxf:url-generator processor to read data from an XML file, perform some transformation on it and then write the transformed data back to file using the oxf:url-serializer. However I can't seem to get the combination of using both the url-generator and url-serializer to work in my XPL pipeline. I can use either processor in isolation to read/write XML data, but when both are used together I get a "Premature end of line" error (see the call stack below). Here's the XPL I've got:
 
    <p:processor name="oxf:url-generator">
        <p:input name="config">
            <config>
                <url>oxf:/application/store.xml</url>
                <content-type>application/xml</content-type>
                <validating>false</validating>
                <handle-xinclude>false</handle-xinclude>
            </config>
        </p:input>
        <p:output name="data" id="store"/>
    </p:processor>
   
    <p:processor name="oxf:url-serializer">
        <p:input name="config">
            <config>
                <url>oxf:/application/store.xml</url>
            </config>
        </p:input>
        <p:input name="data" href="#store"/>
    </p:processor>   
 
 
Individually the two processors seem to work as I expected. For instance, the store.xml file I've been using just contains a minimal piece of XML that was produced using the oxf:identity processor and saved successfully by the url-serializer e.g.
 
    <p:processor name="oxf:identity">
        <p:input name="data">
            <store>Hello world</store>
        </p:input>
        <p:output name="data" id="store"/>
    </p:processor>
Similarly, if I comment out the url-serializer processor, the url-generator does successfully read the data and makes it available for other processors to use.
 
Any advice on what I'm doing wrong would be greatly appreciated. 
 
Regards,
Neil Crofts
 
 
 
Typeclass org.orbeon.oxf.common.ValidationException
Messagenull, line -1, column -1: Fatal error: Premature end of file. null, line -1, column -1: Fatal error: Premature end of file.
Locationnull
Line-1
Column-1
Stack Trace
org.orbeon.oxf.common.ValidationException: null, line -1, column -1: Fatal error: Premature end of file.
null, line -1, column -1: Fatal error: Premature end of file.
	at org.orbeon.oxf.xml.XMLUtils$ErrorHandler.fatalError(XMLUtils.java:207)
	at orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:218)
	at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
	at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314)
	at orbeon.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
	at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:792)
	at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:758)
	at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
	at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
	at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:251)
	at org.orbeon.oxf.xml.XMLUtils.inputStreamToSAX(XMLUtils.java:236)
	at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:134)
	at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:105)
	at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:254)
	at org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:103)
	at org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:655)
	at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:402)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSerializer.java:64)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:140)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:89)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
	at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
	at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
	at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:61)
	at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:194)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
	at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
	at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
	at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:427)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:425)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
	at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:417)
	at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
	at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95)
	at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:147)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
	at org.mortbay.jetty.Server.handle(Server.java:269)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
	at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Reply | Threaded
Open this post in threaded view
|

Re: "Premature end of line" error when using url-generator and url-serializer

Erik Bruchez
Administrator
Neil,

That Java error you are seeing is from the XML parser, called by the URL
generator. So there does really seem to be an issue with the input file
on disk.

In your case, you are doing something dangerous: you are reading from a
file that is being read at the same time! Because of streaming, the URL
serializer can start creating and writing to store.xml before the URL
generator is done reading it. So store.xml can become garbled from the
point of view of the URL generator.

-Erik

Neil Crofts (Gmail) wrote:

> I was wondering if anyone can see what is going wrong in the following
> scenario using OPS 3.5:
>  
> I'm trying to use the oxf:url-generator processor to read data from an
> XML file, perform some transformation on it and then write the
> transformed data back to file using the oxf:url-serializer. However I
> can't seem to get the combination of using both the url-generator and
> url-serializer to work in my XPL pipeline. I can use either processor in
> isolation to read/write XML data, but when both are used together I get
> a "Premature end of line" error (see the call stack below). Here's the
> XPL I've got:
>  
>     <p:processor name="oxf:url-generator">
>         <p:input name="config">
>             <config>
>                 <url>oxf:/application/store.xml</url>
>                 <content-type>application/xml</content-type>
>                 <validating>false</validating>
>                 <handle-xinclude>false</handle-xinclude>
>             </config>
>         </p:input>
>         <p:output name="data" id="store"/>
>     </p:processor>
>    
>     <p:processor name="oxf:url-serializer">
>         <p:input name="config">
>             <config>
>                 <url>oxf:/application/store.xml</url>
>             </config>
>         </p:input>
>         <p:input name="data" href="#store"/>
>     </p:processor>  
>  
>  
> Individually the two processors seem to work as I expected. For
> instance, the store.xml file I've been using just contains a minimal
> piece of XML that was produced using the oxf:identity processor and
> saved successfully by the url-serializer e.g.
>  
>     <p:processor name="oxf:identity">
>         <p:input name="data">
>             <store>Hello world</store>
>         </p:input>
>         <p:output name="data" id="store"/>
>     </p:processor>
> Similarly, if I comment out the url-serializer processor, the
> url-generator does successfully read the data and makes it available for
> other processors to use.
>  
> Any advice on what I'm doing wrong would be greatly appreciated.
>  
> Regards,
> Neil Crofts
>  
>  
>  
> Typeclass org.orbeon.oxf.common.ValidationExceptionMessagenull, line -1,
> column -1: Fatal error: Premature end of file. null, line -1, column -1:
> Fatal error: Premature end of file.LocationnullLine-1Column-1Stack Trace
>
> org.orbeon.oxf.common.ValidationException: null, line -1, column -1: Fatal error: Premature end of file.
> null, line -1, column -1: Fatal error: Premature end of file.
> at org.orbeon.oxf.xml.XMLUtils$ErrorHandler.fatalError(XMLUtils.java:207)
> at orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:218)
> at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
> at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314)
> at orbeon.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
> at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:792)
> at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:758)
> at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
> at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
> at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:251)
> at org.orbeon.oxf.xml.XMLUtils.inputStreamToSAX(XMLUtils.java:236)
> at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:134)
> at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:105)
> at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:254)
> at org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:103)
> at org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:655)
> at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:402)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSerializer.java:64)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:140)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:89)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:61)
> at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:194)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
> at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:427)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:425)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
> at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:417)
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95)
> at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:147)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
> at org.mortbay.jetty.Server.handle(Server.java:269)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
> at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
> at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
> at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: "Premature end of line" error when using url-generator and url-serializer

ncrofts
Hi Erik,

Thanks for your thoughts on this. I hadn't realised that the
processors would be behaving like that. I mistakenly assumed that the
output of the generator would only be consumed once it was completely
read from disk.

Do you know if it is possible to force the processors to be called
'synchronously', by say inserting an identity processor in between the
generator and serializer, or is this likely to have no effect on the
problem?

The reason I'm doing this is to try and help track down the
performance/caching problems I described in a previous message to OPS
users. One of the characteristics of the pipelines I'm using there is
that they use the scope serializer/generator to store small amounts of
data in the session. With no debug attributes present, the performance
rapidly decreases to the point where it is unusable. So far it looks
like the issue is caused by something going wrong in the caching
mechanism. Adding in a single debug attribute seems to stop the
effect. I was hoping to remove the use of the scope processors to see
if this was linked to that problem, hence my need for something
capable of url generating/serializing to persist the data that was
formerly stored in the session.

Regards,
Neil

On 10/11/06, Erik Bruchez <[hidden email]> wrote:

> Neil,
>
> That Java error you are seeing is from the XML parser, called by the URL
> generator. So there does really seem to be an issue with the input file
> on disk.
>
> In your case, you are doing something dangerous: you are reading from a
> file that is being read at the same time! Because of streaming, the URL
> serializer can start creating and writing to store.xml before the URL
> generator is done reading it. So store.xml can become garbled from the
> point of view of the URL generator.
>
> -Erik
>
> Neil Crofts (Gmail) wrote:
> > I was wondering if anyone can see what is going wrong in the following
> > scenario using OPS 3.5:
> >
> > I'm trying to use the oxf:url-generator processor to read data from an
> > XML file, perform some transformation on it and then write the
> > transformed data back to file using the oxf:url-serializer. However I
> > can't seem to get the combination of using both the url-generator and
> > url-serializer to work in my XPL pipeline. I can use either processor in
> > isolation to read/write XML data, but when both are used together I get
> > a "Premature end of line" error (see the call stack below). Here's the
> > XPL I've got:
> >
> >     <p:processor name="oxf:url-generator">
> >         <p:input name="config">
> >             <config>
> >                 <url>oxf:/application/store.xml</url>
> >                 <content-type>application/xml</content-type>
> >                 <validating>false</validating>
> >                 <handle-xinclude>false</handle-xinclude>
> >             </config>
> >         </p:input>
> >         <p:output name="data" id="store"/>
> >     </p:processor>
> >
> >     <p:processor name="oxf:url-serializer">
> >         <p:input name="config">
> >             <config>
> >                 <url>oxf:/application/store.xml</url>
> >             </config>
> >         </p:input>
> >         <p:input name="data" href="#store"/>
> >     </p:processor>
> >
> >
> > Individually the two processors seem to work as I expected. For
> > instance, the store.xml file I've been using just contains a minimal
> > piece of XML that was produced using the oxf:identity processor and
> > saved successfully by the url-serializer e.g.
> >
> >     <p:processor name="oxf:identity">
> >         <p:input name="data">
> >             <store>Hello world</store>
> >         </p:input>
> >         <p:output name="data" id="store"/>
> >     </p:processor>
> > Similarly, if I comment out the url-serializer processor, the
> > url-generator does successfully read the data and makes it available for
> > other processors to use.
> >
> > Any advice on what I'm doing wrong would be greatly appreciated.
> >
> > Regards,
> > Neil Crofts
> >
> >
> >
> > Typeclass org.orbeon.oxf.common.ValidationExceptionMessagenull, line -1,
> > column -1: Fatal error: Premature end of file. null, line -1, column -1:
> > Fatal error: Premature end of file.LocationnullLine-1Column-1Stack Trace
> >
> > org.orbeon.oxf.common.ValidationException: null, line -1, column -1: Fatal error: Premature end of file.
> > null, line -1, column -1: Fatal error: Premature end of file.
> >       at org.orbeon.oxf.xml.XMLUtils$ErrorHandler.fatalError(XMLUtils.java:207)
> >       at orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:218)
> >       at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
> >       at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314)
> >       at orbeon.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
> >       at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:792)
> >       at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:758)
> >       at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
> >       at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
> >       at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:251)
> >       at org.orbeon.oxf.xml.XMLUtils.inputStreamToSAX(XMLUtils.java:236)
> >       at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:134)
> >       at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:105)
> >       at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:254)
> >       at org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:103)
> >       at org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:655)
> >       at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:402)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSerializer.java:64)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:140)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:89)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
> >       at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:572)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:554)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:61)
> >       at org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:194)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353)
> >       at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:96)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:123)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36)
> >       at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1012)
> >       at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1206)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
> >       at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:427)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
> >       at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:425)
> >       at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:652)
> >       at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
> >       at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
> >       at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:417)
> >       at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
> >       at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95)
> >       at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:147)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >       at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
> >       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356)
> >       at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
> >       at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
> >       at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
> >       at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
> >       at org.mortbay.jetty.Server.handle(Server.java:269)
> >       at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
> >       at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
> >       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
> >       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
> >       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
> >       at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
> >       at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
> --
> Orbeon Forms - XForms Everywhere
> http://www.orbeon.com/blog/
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: "Premature end of line" error when using url-generator and url-serializer

Ryan Puddephatt
Neil
        place a null-serializer on the output of the url-generator, this
will make sure the input is fully complete before continuing

<p:processor name="oxf:null-serializer">
   <p:processor name="data" href="#store"/>
</p:processor>

Hope it helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Neil Crofts [mailto:[hidden email]]
>Sent: 10 November 2006 09:55
>To: [hidden email]
>Subject: Re: [ops-users] "Premature end of line" error when
>using url-generator and url-serializer
>
>Hi Erik,
>
>Thanks for your thoughts on this. I hadn't realised that the
>processors would be behaving like that. I mistakenly assumed
>that the output of the generator would only be consumed once
>it was completely read from disk.
>
>Do you know if it is possible to force the processors to be
>called 'synchronously', by say inserting an identity processor
>in between the generator and serializer, or is this likely to
>have no effect on the problem?
>
>The reason I'm doing this is to try and help track down the
>performance/caching problems I described in a previous message
>to OPS users. One of the characteristics of the pipelines I'm
>using there is that they use the scope serializer/generator to
>store small amounts of data in the session. With no debug
>attributes present, the performance rapidly decreases to the
>point where it is unusable. So far it looks like the issue is
>caused by something going wrong in the caching mechanism.
>Adding in a single debug attribute seems to stop the effect. I
>was hoping to remove the use of the scope processors to see if
>this was linked to that problem, hence my need for something
>capable of url generating/serializing to persist the data that
>was formerly stored in the session.
>
>Regards,
>Neil
>
>On 10/11/06, Erik Bruchez <[hidden email]> wrote:
>> Neil,
>>
>> That Java error you are seeing is from the XML parser, called by the
>> URL generator. So there does really seem to be an issue with
>the input
>> file on disk.
>>
>> In your case, you are doing something dangerous: you are
>reading from
>> a file that is being read at the same time! Because of
>streaming, the
>> URL serializer can start creating and writing to store.xml
>before the
>> URL generator is done reading it. So store.xml can become
>garbled from
>> the point of view of the URL generator.
>>
>> -Erik
>>
>> Neil Crofts (Gmail) wrote:
>> > I was wondering if anyone can see what is going wrong in the
>> > following scenario using OPS 3.5:
>> >
>> > I'm trying to use the oxf:url-generator processor to read
>data from
>> > an XML file, perform some transformation on it and then write the
>> > transformed data back to file using the
>oxf:url-serializer. However
>> > I can't seem to get the combination of using both the
>url-generator
>> > and url-serializer to work in my XPL pipeline. I can use either
>> > processor in isolation to read/write XML data, but when both are
>> > used together I get a "Premature end of line" error (see the call
>> > stack below). Here's the XPL I've got:
>> >
>> >     <p:processor name="oxf:url-generator">
>> >         <p:input name="config">
>> >             <config>
>> >                 <url>oxf:/application/store.xml</url>
>> >                 <content-type>application/xml</content-type>
>> >                 <validating>false</validating>
>> >                 <handle-xinclude>false</handle-xinclude>
>> >             </config>
>> >         </p:input>
>> >         <p:output name="data" id="store"/>
>> >     </p:processor>
>> >
>> >     <p:processor name="oxf:url-serializer">
>> >         <p:input name="config">
>> >             <config>
>> >                 <url>oxf:/application/store.xml</url>
>> >             </config>
>> >         </p:input>
>> >         <p:input name="data" href="#store"/>
>> >     </p:processor>
>> >
>> >
>> > Individually the two processors seem to work as I expected. For
>> > instance, the store.xml file I've been using just contains
>a minimal
>> > piece of XML that was produced using the oxf:identity
>processor and
>> > saved successfully by the url-serializer e.g.
>> >
>> >     <p:processor name="oxf:identity">
>> >         <p:input name="data">
>> >             <store>Hello world</store>
>> >         </p:input>
>> >         <p:output name="data" id="store"/>
>> >     </p:processor>
>> > Similarly, if I comment out the url-serializer processor, the
>> > url-generator does successfully read the data and makes it
>available
>> > for other processors to use.
>> >
>> > Any advice on what I'm doing wrong would be greatly appreciated.
>> >
>> > Regards,
>> > Neil Crofts
>> >
>> >
>> >
>> > Typeclass
>org.orbeon.oxf.common.ValidationExceptionMessagenull, line
>> > -1, column -1: Fatal error: Premature end of file. null,
>line -1, column -1:
>> > Fatal error: Premature end of file.LocationnullLine-1Column-1Stack
>> > Trace
>> >
>> > org.orbeon.oxf.common.ValidationException: null, line -1,
>column -1: Fatal error: Premature end of file.
>> > null, line -1, column -1: Fatal error: Premature end of file.
>> >       at
>org.orbeon.oxf.xml.XMLUtils$ErrorHandler.fatalError(XMLUtils.java:207)
>> >       at
>orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorH
>andlerWrapper.java:218)
>> >       at
>orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLError
>Reporter.java:384)
>> >       at
>orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLError
>Reporter.java:314)
>> >       at
>orbeon.apache.xerces.impl.XMLVersionDetector.determineDocVersio
>n(XMLVersionDetector.java:230)
>> >       at
>orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Conf
>iguration.java:792)
>> >       at
>orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Conf
>iguration.java:758)
>> >       at
>orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
>> >       at
>orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSA
>XParser.java:1178)
>> >       at
>org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:251)
>> >       at
>org.orbeon.oxf.xml.XMLUtils.inputStreamToSAX(XMLUtils.java:236)
>> >       at
>org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(Re
>sourceManagerBase.java:134)
>> >       at
>org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(Prio
>rityResourceManagerImpl.java:105)
>> >       at
>org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(P
>riorityResourceManagerImpl.java:254)
>> >       at
>org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContent
>AsSAX(PriorityResourceManagerImpl.java:103)
>> >       at
>org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHand
>ler.readXML(URLGenerator.java:655)
>> >       at
>org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLG
>enerator.java:402)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
>reteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl
>.java:966)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcess
>or.java:62)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
>reteProcessorFilter.read(ProcessorImpl.java:990)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
>reteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl
>.java:966)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcess
>or.java:62)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
>reteProcessorFilter.read(ProcessorImpl.java:990)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSeri
>alizer.java:64)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(Pipel
>ineProcessor.java:652)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(Pipel
>ineProcessor.java:649)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(
>PipelineProcessor.java:140)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:89)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
>r$1.readImpl(ConcreteChooseProcessor.java:123)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output$1.run(PipelineProcessor.java:572)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
>Impl.java:554)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output.readImpl(PipelineProcessor.java:568)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeePr
>ocessor.java:36)
>> >       at
>org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeePr
>ocessor.java:59)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output$1.run(PipelineProcessor.java:572)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
>Impl.java:554)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output.readImpl(PipelineProcessor.java:568)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output$1.run(PipelineProcessor.java:572)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
>Impl.java:554)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
>(PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
>Output.readImpl(PipelineProcessor.java:568)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.acces
>s$600(XSLTTransformer.java:61)
>> >       at
>org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.rea
>dImpl(XSLTTransformer.java:194)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
>r$1.readImpl(ConcreteChooseProcessor.java:123)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
>r$1.readImpl(ConcreteChooseProcessor.java:123)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:353)
>> >       at
>org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
>rocessor.java:33)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
>elineProcessor.java:96)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
>PipelineProcessor.java:66)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
>PipelineProcessor.java:94)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
>r$1.readImpl(ConcreteChooseProcessor.java:123)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeePr
>ocessor.java:36)
>> >       at
>org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeePr
>ocessor.java:59)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
>ad(ProcessorImpl.java:1012)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
>(ProcessorImpl.java:1206)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
>Impl.java:348)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(Process
>orImpl.java:403)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:427)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(P
>rocessorImpl.java:470)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(Pr
>ocessorImpl.java:425)
>> >       at
>org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
>r.start(ConcreteChooseProcessor.java:186)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(Pipel
>ineProcessor.java:652)
>> >       at
>org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
>rImpl.java:536)
>> >       at
>org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(Pipel
>ineProcessor.java:649)
>> >       at
>org.orbeon.oxf.processor.PageFlowControllerProcessor.start(Page
>FlowControllerProcessor.java:417)
>> >       at
>org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
>> >       at
>org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService
>.java:95)
>> >       at
>org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDel
>egate.java:147)
>> >       at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >       at
>org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>> >       at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >       at
>org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
>> >       at
>org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.
>java:356)
>> >       at
>org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.
>java:226)
>> >       at
>org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.
>java:627)
>> >       at
>org.mortbay.jetty.handler.HandlerCollection.handle(HandlerColle
>ction.java:123)
>> >       at
>org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.
>java:141)
>> >       at org.mortbay.jetty.Server.handle(Server.java:269)
>> >       at
>org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>> >       at
>org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
>HttpConnection.java:687)
>> >       at
>org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
>> >       at
>org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
>> >       at
>org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
>> >       at
>org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoi
>nt.java:270)
>> >       at
>> >
>org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPoo
>> > l.java:475)
>> >
>> >
>> >
>--------------------------------------------------------------------
>> > ----
>> >
>> >
>> > --
>> > You receive this message as a subscriber of the
>[hidden email] mailing list.
>> > To unsubscribe: mailto:[hidden email]
>> > For general help: mailto:[hidden email]?subject=help
>> > ObjectWeb mailing lists service home page:
>> > http://www.objectweb.org/wws
>>
>>
>> --
>> Orbeon Forms - XForms Everywhere
>> http://www.orbeon.com/blog/
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>[hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>>
>>
>>
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: "Premature end of line" error when using url-generator and url-serializer

ncrofts
Ryan,

Thanks for the tip - I'll try that out.

Regards,
Neil

On 10/11/06, Ryan Puddephatt <[hidden email]> wrote:

> Neil
>         place a null-serializer on the output of the url-generator, this
> will make sure the input is fully complete before continuing
>
> <p:processor name="oxf:null-serializer">
>    <p:processor name="data" href="#store"/>
> </p:processor>
>
> Hope it helps
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
>
> >-----Original Message-----
> >From: Neil Crofts [mailto:[hidden email]]
> >Sent: 10 November 2006 09:55
> >To: [hidden email]
> >Subject: Re: [ops-users] "Premature end of line" error when
> >using url-generator and url-serializer
> >
> >Hi Erik,
> >
> >Thanks for your thoughts on this. I hadn't realised that the
> >processors would be behaving like that. I mistakenly assumed
> >that the output of the generator would only be consumed once
> >it was completely read from disk.
> >
> >Do you know if it is possible to force the processors to be
> >called 'synchronously', by say inserting an identity processor
> >in between the generator and serializer, or is this likely to
> >have no effect on the problem?
> >
> >The reason I'm doing this is to try and help track down the
> >performance/caching problems I described in a previous message
> >to OPS users. One of the characteristics of the pipelines I'm
> >using there is that they use the scope serializer/generator to
> >store small amounts of data in the session. With no debug
> >attributes present, the performance rapidly decreases to the
> >point where it is unusable. So far it looks like the issue is
> >caused by something going wrong in the caching mechanism.
> >Adding in a single debug attribute seems to stop the effect. I
> >was hoping to remove the use of the scope processors to see if
> >this was linked to that problem, hence my need for something
> >capable of url generating/serializing to persist the data that
> >was formerly stored in the session.
> >
> >Regards,
> >Neil
> >
> >On 10/11/06, Erik Bruchez <[hidden email]> wrote:
> >> Neil,
> >>
> >> That Java error you are seeing is from the XML parser, called by the
> >> URL generator. So there does really seem to be an issue with
> >the input
> >> file on disk.
> >>
> >> In your case, you are doing something dangerous: you are
> >reading from
> >> a file that is being read at the same time! Because of
> >streaming, the
> >> URL serializer can start creating and writing to store.xml
> >before the
> >> URL generator is done reading it. So store.xml can become
> >garbled from
> >> the point of view of the URL generator.
> >>
> >> -Erik
> >>
> >> Neil Crofts (Gmail) wrote:
> >> > I was wondering if anyone can see what is going wrong in the
> >> > following scenario using OPS 3.5:
> >> >
> >> > I'm trying to use the oxf:url-generator processor to read
> >data from
> >> > an XML file, perform some transformation on it and then write the
> >> > transformed data back to file using the
> >oxf:url-serializer. However
> >> > I can't seem to get the combination of using both the
> >url-generator
> >> > and url-serializer to work in my XPL pipeline. I can use either
> >> > processor in isolation to read/write XML data, but when both are
> >> > used together I get a "Premature end of line" error (see the call
> >> > stack below). Here's the XPL I've got:
> >> >
> >> >     <p:processor name="oxf:url-generator">
> >> >         <p:input name="config">
> >> >             <config>
> >> >                 <url>oxf:/application/store.xml</url>
> >> >                 <content-type>application/xml</content-type>
> >> >                 <validating>false</validating>
> >> >                 <handle-xinclude>false</handle-xinclude>
> >> >             </config>
> >> >         </p:input>
> >> >         <p:output name="data" id="store"/>
> >> >     </p:processor>
> >> >
> >> >     <p:processor name="oxf:url-serializer">
> >> >         <p:input name="config">
> >> >             <config>
> >> >                 <url>oxf:/application/store.xml</url>
> >> >             </config>
> >> >         </p:input>
> >> >         <p:input name="data" href="#store"/>
> >> >     </p:processor>
> >> >
> >> >
> >> > Individually the two processors seem to work as I expected. For
> >> > instance, the store.xml file I've been using just contains
> >a minimal
> >> > piece of XML that was produced using the oxf:identity
> >processor and
> >> > saved successfully by the url-serializer e.g.
> >> >
> >> >     <p:processor name="oxf:identity">
> >> >         <p:input name="data">
> >> >             <store>Hello world</store>
> >> >         </p:input>
> >> >         <p:output name="data" id="store"/>
> >> >     </p:processor>
> >> > Similarly, if I comment out the url-serializer processor, the
> >> > url-generator does successfully read the data and makes it
> >available
> >> > for other processors to use.
> >> >
> >> > Any advice on what I'm doing wrong would be greatly appreciated.
> >> >
> >> > Regards,
> >> > Neil Crofts
> >> >
> >> >
> >> >
> >> > Typeclass
> >org.orbeon.oxf.common.ValidationExceptionMessagenull, line
> >> > -1, column -1: Fatal error: Premature end of file. null,
> >line -1, column -1:
> >> > Fatal error: Premature end of file.LocationnullLine-1Column-1Stack
> >> > Trace
> >> >
> >> > org.orbeon.oxf.common.ValidationException: null, line -1,
> >column -1: Fatal error: Premature end of file.
> >> > null, line -1, column -1: Fatal error: Premature end of file.
> >> >       at
> >org.orbeon.oxf.xml.XMLUtils$ErrorHandler.fatalError(XMLUtils.java:207)
> >> >       at
> >orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorH
> >andlerWrapper.java:218)
> >> >       at
> >orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLError
> >Reporter.java:384)
> >> >       at
> >orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLError
> >Reporter.java:314)
> >> >       at
> >orbeon.apache.xerces.impl.XMLVersionDetector.determineDocVersio
> >n(XMLVersionDetector.java:230)
> >> >       at
> >orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Conf
> >iguration.java:792)
> >> >       at
> >orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Conf
> >iguration.java:758)
> >> >       at
> >orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
> >> >       at
> >orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSA
> >XParser.java:1178)
> >> >       at
> >org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:251)
> >> >       at
> >org.orbeon.oxf.xml.XMLUtils.inputStreamToSAX(XMLUtils.java:236)
> >> >       at
> >org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(Re
> >sourceManagerBase.java:134)
> >> >       at
> >org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(Prio
> >rityResourceManagerImpl.java:105)
> >> >       at
> >org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(P
> >riorityResourceManagerImpl.java:254)
> >> >       at
> >org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContent
> >AsSAX(PriorityResourceManagerImpl.java:103)
> >> >       at
> >org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHand
> >ler.readXML(URLGenerator.java:655)
> >> >       at
> >org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLG
> >enerator.java:402)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
> >reteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl
> >.java:966)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcess
> >or.java:62)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
> >reteProcessorFilter.read(ProcessorImpl.java:990)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
> >reteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl
> >.java:966)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcess
> >or.java:62)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Conc
> >reteProcessorFilter.read(ProcessorImpl.java:990)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.serializer.URLSerializer.start(URLSeri
> >alizer.java:64)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(Pipel
> >ineProcessor.java:652)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(Pipel
> >ineProcessor.java:649)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(
> >PipelineProcessor.java:140)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:89)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
> >r$1.readImpl(ConcreteChooseProcessor.java:123)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output$1.run(PipelineProcessor.java:572)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
> >Impl.java:554)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output.readImpl(PipelineProcessor.java:568)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeePr
> >ocessor.java:36)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeePr
> >ocessor.java:59)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output$1.run(PipelineProcessor.java:572)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
> >Impl.java:554)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output.readImpl(PipelineProcessor.java:568)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output$1.run(PipelineProcessor.java:572)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeParents(Processor
> >Impl.java:554)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500
> >(PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTop
> >Output.readImpl(PipelineProcessor.java:568)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.acces
> >s$600(XSLTTransformer.java:61)
> >> >       at
> >org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.rea
> >dImpl(XSLTTransformer.java:194)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
> >r$1.readImpl(ConcreteChooseProcessor.java:123)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
> >r$1.readImpl(ConcreteChooseProcessor.java:123)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:353)
> >> >       at
> >org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityP
> >rocessor.java:33)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(Pip
> >elineProcessor.java:96)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(
> >PipelineProcessor.java:66)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(
> >PipelineProcessor.java:94)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
> >r$1.readImpl(ConcreteChooseProcessor.java:123)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeePr
> >ocessor.java:36)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeePr
> >ocessor.java:59)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.re
> >ad(ProcessorImpl.java:1012)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> >(ProcessorImpl.java:1206)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(Processor
> >Impl.java:348)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(Process
> >orImpl.java:403)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:427)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(P
> >rocessorImpl.java:470)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(Pr
> >ocessorImpl.java:425)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcesso
> >r.start(ConcreteChooseProcessor.java:186)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(Pipel
> >ineProcessor.java:652)
> >> >       at
> >org.orbeon.oxf.processor.ProcessorImpl.executeChildren(Processo
> >rImpl.java:536)
> >> >       at
> >org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(Pipel
> >ineProcessor.java:649)
> >> >       at
> >org.orbeon.oxf.processor.PageFlowControllerProcessor.start(Page
> >FlowControllerProcessor.java:417)
> >> >       at
> >org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
> >> >       at
> >org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService
> >.java:95)
> >> >       at
> >org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDel
> >egate.java:147)
> >> >       at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >> >       at
> >org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> >> >       at
> >javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >> >       at
> >org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
> >> >       at
> >org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.
> >java:356)
> >> >       at
> >org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.
> >java:226)
> >> >       at
> >org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.
> >java:627)
> >> >       at
> >org.mortbay.jetty.handler.HandlerCollection.handle(HandlerColle
> >ction.java:123)
> >> >       at
> >org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.
> >java:141)
> >> >       at org.mortbay.jetty.Server.handle(Server.java:269)
> >> >       at
> >org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
> >> >       at
> >org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
> >HttpConnection.java:687)
> >> >       at
> >org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
> >> >       at
> >org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
> >> >       at
> >org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
> >> >       at
> >org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoi
> >nt.java:270)
> >> >       at
> >> >
> >org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPoo
> >> > l.java:475)
> >> >
> >> >
> >> >
> >--------------------------------------------------------------------
> >> > ----
> >> >
> >> >
> >> > --
> >> > You receive this message as a subscriber of the
> >[hidden email] mailing list.
> >> > To unsubscribe: mailto:[hidden email]
> >> > For general help: mailto:[hidden email]?subject=help
> >> > ObjectWeb mailing lists service home page:
> >> > http://www.objectweb.org/wws
> >>
> >>
> >> --
> >> Orbeon Forms - XForms Everywhere
> >> http://www.orbeon.com/blog/
> >>
> >>
> >>
> >>
> >> --
> >> You receive this message as a subscriber of the
> >[hidden email] mailing list.
> >> To unsubscribe: mailto:[hidden email]
> >> For general help: mailto:[hidden email]?subject=help
> >> ObjectWeb mailing lists service home page:
> >> http://www.objectweb.org/wws
> >>
> >>
> >>
> >
> >
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws