Boolean datatypes

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

Boolean datatypes

Nicolas Modrzyk-3
Hi again,

I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
using boolean data type.

java.lang.NullPointerException
        at org.orbeon.oxf.xforms.XFormsStaticState.getItemsInfo(XFormsStaticState.java:584)
        at org.orbeon.oxf.xforms.processor.handlers.XFormsSelect1Handler.outputContent(XFormsSelect1Handler.java:127)
        at org.orbeon.oxf.xforms.processor.handlers.XFormsInputHandler.handleControl(XFormsInputHandler.java:93)
        at org.orbeon.oxf.xforms.processor.handlers.XFormsCoreControlHandler.start(XFormsCoreControlHandler.java:53)
        at org.orbeon.oxf.xml.ElementHandlerController.startElement(ElementHandlerController.java:161)
        at org.orbeon.oxf.xml.ForwardingContentHandler.startElement(ForwardingContentHandler.java:87)
        at org.orbeon.oxf.xml.ElementFilterContentHandler.startElement(ElementFilterContentHandler.java:41)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML$4.startElement(XFormsToXHTML.java:396)
        at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:193)

This is the nightly build of a few days ago.

If you need more info, let me know.

Niko,


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Boolean datatypes

Alessandro Vernet
Administrator
Niko,

On Fri, Jul 18, 2008 at 11:24 PM, Nicolas Modrzyk <[hidden email]> wrote:
> I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
> using boolean data type.

Would you have a test case that runs in the XForms sandbox and that
shows this? The boolean-input test case (from the XForms Sandbox text
samples) is still working fine.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Boolean datatypes

Erik Bruchez
Administrator
>> I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
>> using boolean data type.
>
> Would you have a test case that runs in the XForms sandbox and that
> shows this? The boolean-input test case (from the XForms Sandbox text
> samples) is still working fine.


I can see how there can be an NPE there. I will fix it.

In the meanwhile, you can work around it by having any kind of  
xforms:select or xforms:select1 in your form.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Boolean datatypes

Nicolas Modrzyk-3
I have asked for an orbeon extractable test case to my team, but to be
honest, it's easier to let you know if it is fixed with the test suite
we have :)
Since Erik has some ideas, maybe I'll wait for a posible fix first and
get back to you.

Thanks a lot for the quick feedback.

Niko

On 7/20/08, Erik Bruchez <[hidden email]> wrote:

> >
> > > I am getting a NPE in Orbeon
> XFormsStaticState.getItemsInfo() upon
> > > using boolean data type.
> > >
> >
> > Would you have a test case that runs in the XForms sandbox and that
> > shows this? The boolean-input test case (from the XForms Sandbox text
> > samples) is still working fine.
> >
>
>
>  I can see how there can be an NPE there. I will fix it.
>
>  In the meanwhile, you can work around it by having any kind of
> xforms:select or xforms:select1 in your form.
>
>  -Erik
>
>  --
>  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  http://www.orbeon.com/
>
>
>
>  --
>  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
>  OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Boolean datatypes

Nicolas Modrzyk-3
Any chance to test Erik's fix ? Any way I can help ?

Niko,

On 7/20/08, Nicolas Modrzyk <[hidden email]> wrote:

> I have asked for an orbeon extractable test case to my team, but to be
>  honest, it's easier to let you know if it is fixed with the test suite
>  we have :)
>  Since Erik has some ideas, maybe I'll wait for a posible fix first and
>  get back to you.
>
>  Thanks a lot for the quick feedback.
>
>  Niko
>
>
>  On 7/20/08, Erik Bruchez <[hidden email]> wrote:
>  > >
>  > > > I am getting a NPE in Orbeon
>  > XFormsStaticState.getItemsInfo() upon
>  > > > using boolean data type.
>  > > >
>  > >
>  > > Would you have a test case that runs in the XForms sandbox and that
>  > > shows this? The boolean-input test case (from the XForms Sandbox text
>  > > samples) is still working fine.
>  > >
>  >
>  >
>  >  I can see how there can be an NPE there. I will fix it.
>  >
>  >  In the meanwhile, you can work around it by having any kind of
>  > xforms:select or xforms:select1 in your form.
>  >
>  >  -Erik
>  >
>  >  --
>  >  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  >  http://www.orbeon.com/
>  >
>  >
>  >
>
> >  --
>  >  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
>  >  OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Boolean datatypes

Nicolas Modrzyk-3
In reply to this post by Erik Bruchez
Hi again ,

Do you know if the fix for the has been applied already ?

Thank you for your help,

Niko,

On Sun, Jul 20, 2008 at 7:32 AM, Erik Bruchez <[hidden email]> wrote:

>>> I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
>>> using boolean data type.
>>
>> Would you have a test case that runs in the XForms sandbox and that
>> shows this? The boolean-input test case (from the XForms Sandbox text
>> samples) is still working fine.
>
>
> I can see how there can be an NPE there. I will fix it.
>
> In the meanwhile, you can work around it by having any kind of xforms:select
> or xforms:select1 in your form.
>
> -Erik
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Boolean datatypes

Erik Bruchez
Administrator
It has.

-Erik

On Jul 28, 2008, at 5:48 PM, Nicolas Modrzyk wrote:

> Hi again ,
>
> Do you know if the fix for the has been applied already ?
>
> Thank you for your help,
>
> Niko,
>
> On Sun, Jul 20, 2008 at 7:32 AM, Erik Bruchez <[hidden email]>  
> wrote:
>>>> I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
>>>> using boolean data type.
>>>
>>> Would you have a test case that runs in the XForms sandbox and that
>>> shows this? The boolean-input test case (from the XForms Sandbox  
>>> text
>>> samples) is still working fine.
>>
>>
>> I can see how there can be an NPE there. I will fix it.
>>
>> In the meanwhile, you can work around it by having any kind of  
>> xforms:select
>> or xforms:select1 in your form.
>>
>> -Erik
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Boolean datatypes

Nicolas Modrzyk-3
super ! Thanks a lot.

Niko

On Wed, Jul 30, 2008 at 3:24 AM, Erik Bruchez <[hidden email]> wrote:

> It has.
>
> -Erik
>
> On Jul 28, 2008, at 5:48 PM, Nicolas Modrzyk wrote:
>
>> Hi again ,
>>
>> Do you know if the fix for the has been applied already ?
>>
>> Thank you for your help,
>>
>> Niko,
>>
>> On Sun, Jul 20, 2008 at 7:32 AM, Erik Bruchez <[hidden email]> wrote:
>>>>>
>>>>> I am getting a NPE in Orbeon XFormsStaticState.getItemsInfo() upon
>>>>> using boolean data type.
>>>>
>>>> Would you have a test case that runs in the XForms sandbox and that
>>>> shows this? The boolean-input test case (from the XForms Sandbox text
>>>> samples) is still working fine.
>>>
>>>
>>> I can see how there can be an NPE there. I will fix it.
>>>
>>> In the meanwhile, you can work around it by having any kind of
>>> xforms:select
>>> or xforms:select1 in your form.
>>>
>>> -Erik
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>>
>>> --
>>> 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
>>> OW2 mailing lists service home page: http://www.ow2.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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws