Volodymyr Siedlecki created MYFACES-4480:
--------------------------------------------
Summary: 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.3-next-M7, 2.3.10, 2.2.15, 4.0.0-RC1, 2.0.24
Reporter: Volodymyr Siedlecki
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)