Boolean datatypes

View: New views
8 Messages — Rating Filter:   Alert me  

Boolean datatypes

by Nicolas Modrzyk-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Boolean datatypes

by Alessandro Vernet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Niko,

On Fri, Jul 18, 2008 at 11:24 PM, Nicolas Modrzyk <nico@...> 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 ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
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

Re: Re: Boolean datatypes

by Erik Bruchez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> 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 ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Boolean datatypes

by Nicolas Modrzyk-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <ebruchez@...> 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 ops-users@... mailing
> list.
>  To unsubscribe: mailto:ops-users-unsubscribe@...
>  For general help: mailto:sympa@...?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Boolean datatypes

by Nicolas Modrzyk-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any chance to test Erik's fix ? Any way I can help ?

Niko,

On 7/20/08, Nicolas Modrzyk <nico@...> 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 <ebruchez@...> 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 ops-users@... mailing
>  > list.
>  >  To unsubscribe: mailto:ops-users-unsubscribe@...
>  >  For general help: mailto:sympa@...?subject=help
>  >  OW2 mailing lists service home page: http://www.ow2.org/wws
>  >
>  >
>  >
>


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Boolean datatypes

by Nicolas Modrzyk-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <ebruchez@...> 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 ops-users@... mailing
> list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Re: Boolean datatypes

by Erik Bruchez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <ebruchez@...>  
> 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 ops-users@...  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@...
>> For general help: mailto:sympa@...?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the ops-users@...  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?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 ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

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

by Nicolas Modrzyk-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

super ! Thanks a lot.

Niko

On Wed, Jul 30, 2008 at 3:24 AM, Erik Bruchez <ebruchez@...> 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 <ebruchez@...> 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 ops-users@... mailing
>>> list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@...
>>> For general help: mailto:sympa@...?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@... mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@...
>> For general help: mailto:sympa@...?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 ops-users@... mailing
> list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
LightInTheBox - Buy quality products at wholesale price