Le mercredi 09 f�vrier 2005 � 22:26 +0100, Eric van der Vlist a �crit :

> Well, as you say, the code doesn't seem to reach my code. The start()
> method is called, but the createOutput() one doesn't appear to be
> called...

There are probably several issues in my sample.

If I add a addOutputInfo(new ProcessorInputOutputInfo("manifest"));
instruction in the processor's construct, the createOutput method is
called but the start method isn't called any longer.

After that, I still have an exception:

2005-02-09 22:47:07,740 INFO  org.orbeon.oxf.pipeline.InitUtils null - 
/apiculteurs/test - Received request
Construct ArchiveConverter
createOutput ArchiveConverter, name:manifest
2005-02-09 22:47:17,188 ERROR org.orbeon.oxf.pipeline.InitUtils null - 
Exception with no location data
java.lang.NullPointerException
        at 
org.orbeon.oxf.processor.JavaProcessor$1.readImpl(JavaProcessor.java:68)
        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:945)
        at 
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:899)
        at 
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:340)
        at 
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:345)
...

This exception looks similar to the one I get without the addOutputInfo.

The fact that in one case the start method is called and in the other
case the addOutputInfo method is called makes me suspect that the
pipeline processor could miss the fact that there is a connected output
when I don't say it in my implementation.

Can it be a side effect of the Java processor?

After that, I am wondering why connecting the input to the output simply
using SAX doesn't seem to be working...

Thanks,

Eric

> Eric
> 
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to