[
https://issues.apache.org/jira/browse/MYFACES-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volodymyr Siedlecki resolved MYFACES-4480.
------------------------------------------
Resolution: Fixed
> NullPointerException in TagAttributeImpl#getBoolean
> ---------------------------------------------------
>
> Key: MYFACES-4480
> URL: https://issues.apache.org/jira/browse/MYFACES-4480
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.0.24, 4.0.0-RC1, 2.2.15, 2.3.10, 2.3-next-M7
> Reporter: Volodymyr Siedlecki
> Assignee: Volodymyr Siedlecki
> Priority: Major
> Fix For: 2.3.11, 3.0.3, 2.3-next-M8, 2.2.16, 4.0.0-RC2
>
>
> Caused by: java.lang.NullPointerException:
> at
> org.apache.myfaces.view.facelets.tag.TagAttributeImpl.getBoolean(TagAttributeImpl.java:138)
> return type is a primitive, so we can't return null.
> https://github.com/apache/myfaces/blob/89c747e85615e3f33265e664c8361789f38ea7db/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributeImpl.java#L138
> We should check for null and, if so, return false.
> Discovered TCK Test "test-faces40-selectManyCheckbox"
> https://github.com/jakartaee/faces/blob/705f0c9ec1b66fd410d69603c22311d0aed08bd0/tck/faces40/selectManyCheckbox/src/main/webapp/spec1574IT.xhtml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)