Anything wrong/different with the latest CVS?

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

Anything wrong/different with the latest CVS?

Eric van der Vlist
Hi,

With the latest CVS, the examples seem to work fine but I get an
exception in my own forms:

http-7777-Processor10 ERROR pipeline.InitUtils - Exception at oxf:/config/theme/theme.xsl, line -1, column -1
java.lang.NullPointerException
        at org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
        at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
        at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
        at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
        at org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
        at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
        at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
        at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
...

Is there anything to update in our forms or configuration?

Thanks,

Eric
--
Curious about Relax NG? Read my book online.
                                   http://books.xmlschemata.org/relaxng/
------------------------------------------------------------------------
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
------------------------------------------------------------------------




--
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: Anything wrong/different with the latest CVS?

Erik Bruchez
Administrator
There shouldn't be any change there, but there may be a bug. Can you
send a reproducible case?

-Erik

Eric van der Vlist wrote:

> Hi,
>
> With the latest CVS, the examples seem to work fine but I get an
> exception in my own forms:
>
> http-7777-Processor10 ERROR pipeline.InitUtils - Exception at oxf:/config/theme/theme.xsl, line -1, column -1
> java.lang.NullPointerException
> at org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
> at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
> at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
> at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
> at org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
> at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
> at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
> at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
> ...
>
> Is there anything to update in our forms or configuration?
>
> Thanks,
>
> Eric


--
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: Anything wrong/different with the latest CVS?

Eric van der Vlist
Le jeudi 01 décembre 2005 à 14:57 +0100, Erik Bruchez a écrit :
> There shouldn't be any change there, but there may be a bug. Can you
> send a reproducible case?

I can try but not right now (I had to switch back to a previous build to
do some more work...).

Thanks,

Eric

--
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
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
------------------------------------------------------------------------




--
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: Anything wrong/different with the latest CVS?

Adrian Baker-2
In reply to this post by Eric van der Vlist
I'm getting this error as well when using the xforms-controls example
(3.0 final) - was this problem ever solved/explained?

Adrian

Eric van der Vlist wrote:

> Hi,
>
> With the latest CVS, the examples seem to work fine but I get an
> exception in my own forms:
>
> http-7777-Processor10 ERROR pipeline.InitUtils - Exception at oxf:/config/theme/theme.xsl, line -1, column -1
> java.lang.NullPointerException
> at org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
> at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
> at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
> at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
> at org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
> at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
> at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
> at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
> ...
>
> Is there anything to update in our forms or configuration?
>
> Thanks,
>
> Eric


--
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: Anything wrong/different with the latest CVS?

Erik Bruchez
Administrator
With a stock OPS 3.0 and xforms-controls example? That's surprising.

What platform (JDK, OS, Servlet container)? Do you happen to have some
endorsed JARs?

-Erik

Adrian Baker wrote:

> I'm getting this error as well when using the xforms-controls example
> (3.0 final) - was this problem ever solved/explained?
>
> Adrian
>
> Eric van der Vlist wrote:
>> Hi,
>>
>> With the latest CVS, the examples seem to work fine but I get an
>> exception in my own forms:
>>
>> http-7777-Processor10 ERROR pipeline.InitUtils - Exception at
>> oxf:/config/theme/theme.xsl, line -1, column -1
>> java.lang.NullPointerException
>>     at
>> org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
>>
>>     at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
>>     at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
>>     at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
>>     at
>> org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
>>
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
>> ...
>>
>> Is there anything to update in our forms or configuration?
>>
>> Thanks,
>>
>> Eric
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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: Anything wrong/different with the latest CVS?

Adrian Baker-2
No not stock - I'm invoking epilogue.xpl from inside my own application
using logic similar to OPS.java, using the file based resource manager
(Java, 1.4.2_05). So it's quite possible it's a conflict with different
jar versions.

I'm having trouble debugging because I can't easily get source to
saxon-8_1_1_orbeon.jar. Will try with the unstable nightly build and see
if the debugger sheds any light onto the problem.

Adrian

Erik Bruchez wrote:

> With a stock OPS 3.0 and xforms-controls example? That's surprising.
>
> What platform (JDK, OS, Servlet container)? Do you happen to have some
> endorsed JARs?
>
> -Erik
>
> Adrian Baker wrote:
>> I'm getting this error as well when using the xforms-controls example
>> (3.0 final) - was this problem ever solved/explained?
>>
>> Adrian
>>
>> Eric van der Vlist wrote:
>>> Hi,
>>>
>>> With the latest CVS, the examples seem to work fine but I get an
>>> exception in my own forms:
>>>
>>> http-7777-Processor10 ERROR pipeline.InitUtils - Exception at
>>> oxf:/config/theme/theme.xsl, line -1, column -1
>>> java.lang.NullPointerException
>>>     at
>>> org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
>>>
>>>     at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
>>>     at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
>>>     at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
>>>     at
>>> org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
>>>     at
>>> org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
>>>
>>>     at
>>> org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
>>>     at
>>> org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
>>>
>>> ...
>>>
>>> Is there anything to update in our forms or configuration?
>>>
>>> Thanks,
>>>
>>> Eric
>>



--
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: Anything wrong/different with the latest CVS?

Adrian Baker-2
In reply to this post by Erik Bruchez
Ok I can replicate this using the command line interface on a fresh
extract of the war from OPS 3.0 final.

java -jar cli-ops.jar -r ./resources/ oxf:/filter.xpl

Where filter.xpl is in the resources directory and contains:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns:scope=" http://orbeon.org/oxf/schemas/scope-config">
    <p:processor name="oxf:pipeline">
        <p:input name="config" href="config/epilogue.xpl"/>
        <p:input name="data"
href="examples/xforms/xforms-controls/view.xhtml"/>
        <p:input name="xforms-instance"><dummy/></p:input>
        <p:input name="xforms-model"><dummy/></p:input>
    </p:processor>
</p:config>

Interestingly this only results in the exception for some inputs - if
provided the xforms-todo/view.xhtml, for example, no exception is thrown.

Adrian

Erik Bruchez wrote:

> There shouldn't be any change there, but there may be a bug. Can you
> send a reproducible case?
>
> -Erik
>
> Eric van der Vlist wrote:
>> Hi,
>>
>> With the latest CVS, the examples seem to work fine but I get an
>> exception in my own forms:
>>
>> http-7777-Processor10 ERROR pipeline.InitUtils - Exception at
>> oxf:/config/theme/theme.xsl, line -1, column -1
>> java.lang.NullPointerException
>>     at
>> org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
>>
>>     at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
>>     at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
>>     at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
>>     at
>> org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
>>
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
>>     at
>> org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
>>
>> ...
>>
>> Is there anything to update in our forms or configuration?
>>
>> Thanks,
>>
>> Eric
>
> ------------------------------------------------------------------------
>
>
> --
> 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: Anything wrong/different with the latest CVS?

Adrian Baker-2
Any hint as to what might cause this?

I just ran across this problem now by cutting & pasting the view.xhtml file from the Controls example into the OPS sandbox (!)

Adrian

Adrian Baker wrote:
Ok I can replicate this using the command line interface on a fresh extract of the war from OPS 3.0 final.

java -jar cli-ops.jar -r ./resources/ oxf:/filter.xpl

Where filter.xpl is in the resources directory and contains:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
xmlns:scope=" http://orbeon.org/oxf/schemas/scope-config">
   <p:processor name="oxf:pipeline">
       <p:input name="config" href="config/epilogue.xpl"/>
       <p:input name="data" href="examples/xforms/xforms-controls/view.xhtml"/>
       <p:input name="xforms-instance"><dummy/></p:input>
       <p:input name="xforms-model"><dummy/></p:input>
   </p:processor>
</p:config>

Interestingly this only results in the exception for some inputs - if provided the xforms-todo/view.xhtml, for example, no exception is thrown.

Adrian

Erik Bruchez wrote:
There shouldn't be any change there, but there may be a bug. Can you send a reproducible case?

-Erik

Eric van der Vlist wrote:
Hi,

With the latest CVS, the examples seem to work fine but I get an
exception in my own forms:

http-7777-Processor10 ERROR pipeline.InitUtils - Exception at oxf:/config/theme/theme.xsl, line -1, column -1
java.lang.NullPointerException
    at org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
    at org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
    at org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
    at org.orbeon.saxon.instruct.Template.expand(Template.java:98)
    at org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
    at org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
    at org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
    at org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
...

Is there anything to update in our forms or configuration?

Thanks,

Eric

------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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: [hidden email] For general help: [hidden email] 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: Anything wrong/different with the latest CVS?

Alessandro  Vernet
Administrator
Adrian,

This is because of the <xi:include href="main-xforms-instance.xml"/>
which cannot work like this in the XForms sandbox. The form will
display fine if you replace that line by the content of
main-xforms-instance.xml.

Even if this is incorrect, the error message should be better in this
case. I have added a bug for this.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304706&group_id=168&atid=350207

Alex

On 2/21/06, Adrian Baker <[hidden email]> wrote:

>  Any hint as to what might cause this?
>
>  I just ran across this problem now by cutting & pasting the view.xhtml file
> from the Controls example into the OPS sandbox (!)
>
>  Adrian
>
>  Adrian Baker wrote:
> Ok I can replicate this using the command line interface on a fresh extract
> of the war from OPS 3.0 final.
>
>  java -jar cli-ops.jar -r ./resources/ oxf:/filter.xpl
>
>  Where filter.xpl is in the resources directory and contains:
>
>  <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>  xmlns:fo="http://www.w3.org/1999/XSL/Format"
>  xmlns:xhtml="http://www.w3.org/1999/xhtml"
>  xmlns:oxf="http://www.orbeon.com/oxf/processors"
>  xmlns:xforms="http://www.w3.org/2002/xforms"
>  xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
>  xmlns:scope=" http://orbeon.org/oxf/schemas/scope-config">
>     <p:processor name="oxf:pipeline">
>         <p:input name="config" href="config/epilogue.xpl"/>
>         <p:input name="data"
> href="examples/xforms/xforms-controls/view.xhtml"/>
>         <p:input name="xforms-instance"><dummy/></p:input>
>         <p:input name="xforms-model"><dummy/></p:input>
>     </p:processor>
>  </p:config>
>
>  Interestingly this only results in the exception for some inputs - if
> provided the xforms-todo/view.xhtml, for example, no exception is thrown.
>
>  Adrian
>
>  Erik Bruchez wrote:
>
> There shouldn't be any change there, but there may be a bug. Can you send a
> reproducible case?
>
>  -Erik
>
>  Eric van der Vlist wrote:
>
> Hi,
>
>  With the latest CVS, the examples seem to work fine but I get an
>  exception in my own forms:
>
>  http-7777-Processor10 ERROR pipeline.InitUtils - Exception at
> oxf:/config/theme/theme.xsl, line -1, column -1
>  java.lang.NullPointerException
>      at
> org.orbeon.saxon.tinytree.TinyAttributeImpl.getStringValue(TinyAttributeImpl.java:65)
>      at
> org.orbeon.saxon.instruct.CopyOf.copyAttribute(CopyOf.java:164)
>      at
> org.orbeon.saxon.instruct.Copy.processLeavingTail(Copy.java:121)
>      at
> org.orbeon.saxon.instruct.Template.expand(Template.java:98)
>      at
> org.orbeon.saxon.instruct.Template.processLeavingTail(Template.java:82)
>      at
> org.orbeon.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:262)
>      at
> org.orbeon.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:150)
>      at
> org.orbeon.saxon.instruct.ApplyTemplates.process(ApplyTemplates.java:111)
>  ...
>
>  Is there anything to update in our forms or configuration?
>
>  Thanks,
>
>  Eric
>
> ------------------------------------------------------------------------
>
>
>  --
>  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
>
>
>

--
Blog (XML, Web apps, Open Source):
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet