[jira] Created: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

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

[jira] Created: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Null pointer validation <tr:selectOneListbox>
---------------------------------------------

                 Key: TRINIDAD-1234
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1234
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.10-core
         Environment: Linux
            Reporter: Tomas Cerny
            Priority: Critical


I have noticed today that build from new snapshot fails.

The problem is with component select selectOneListbox, we have required="false" so empty selection is allowed but it still throws Null pointer exception

==== here stack =====
Caused by: java.lang.NullPointerException
        at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:222)
        at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:179)
        at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
        at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TRINIDAD-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1234.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.10-core
         Assignee: Matthias Weßendorf

please try last revision

> Null pointer validation <tr:selectOneListbox>
> ---------------------------------------------
>
>                 Key: TRINIDAD-1234
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1234
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>         Environment: Linux
>            Reporter: Tomas Cerny
>            Assignee: Matthias Weßendorf
>            Priority: Critical
>             Fix For: 1.2.10-core
>
>
> I have noticed today that build from new snapshot fails.
> The problem is with component select selectOneListbox, we have required="false" so empty selection is allowed but it still throws Null pointer exception
> ==== here stack =====
> Caused by: java.lang.NullPointerException
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:222)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:179)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
> at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TRINIDAD-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Cerny reopened TRINIDAD-1234:
-----------------------------------


Hey, I tried that now and still null pointer. Did you push it to maven repository?

Thanks

> Null pointer validation <tr:selectOneListbox>
> ---------------------------------------------
>
>                 Key: TRINIDAD-1234
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1234
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>         Environment: Linux
>            Reporter: Tomas Cerny
>            Assignee: Matthias Weßendorf
>            Priority: Critical
>             Fix For: 1.2.10-core
>
>
> I have noticed today that build from new snapshot fails.
> The problem is with component select selectOneListbox, we have required="false" so empty selection is allowed but it still throws Null pointer exception
> ==== here stack =====
> Caused by: java.lang.NullPointerException
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:222)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:179)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
> at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TRINIDAD-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633492#action_12633492 ]

Matthias Weßendorf commented on TRINIDAD-1234:
----------------------------------------------

no, just get the latest greatest source and do the build on your own.

> Null pointer validation <tr:selectOneListbox>
> ---------------------------------------------
>
>                 Key: TRINIDAD-1234
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1234
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>         Environment: Linux
>            Reporter: Tomas Cerny
>            Assignee: Matthias Weßendorf
>            Priority: Critical
>             Fix For: 1.2.10-core
>
>
> I have noticed today that build from new snapshot fails.
> The problem is with component select selectOneListbox, we have required="false" so empty selection is allowed but it still throws Null pointer exception
> ==== here stack =====
> Caused by: java.lang.NullPointerException
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:222)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:179)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
> at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1234) Null pointer validation <tr:selectOneListbox>

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TRINIDAD-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1234.
------------------------------------------

    Resolution: Fixed

> Null pointer validation <tr:selectOneListbox>
> ---------------------------------------------
>
>                 Key: TRINIDAD-1234
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1234
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.10-core
>         Environment: Linux
>            Reporter: Tomas Cerny
>            Assignee: Matthias Weßendorf
>            Priority: Critical
>             Fix For: 1.2.10-core
>
>
> I have noticed today that build from new snapshot fails.
> The problem is with component select selectOneListbox, we have required="false" so empty selection is allowed but it still throws Null pointer exception
> ==== here stack =====
> Caused by: java.lang.NullPointerException
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:222)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:179)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
> at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
> at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price!