Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P05
-
Fix Version/s: EE-3.3.0.GA_P06
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P1
-
Support Case References:Support case 14249:- https://icesoft.my.salesforce.com/5000g00001opMwk
Description
When the value of our ice:inputText component is null and there's a converter specified for this component, a NullPointerException occurs because our component sends the value to the converter anyway, unlike h:inputText, which doesn't send it, avoiding this kind of issues.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
r52128: fix to avoid sending a null value to a converter, in order to prevent possible NullPointerException exceptions
This fix is actually applied for all compat (ice:*) components.
Looking at the mojarra source code, this behaviour is confirmed. The following two pages have discuss this fact in more detail.
https://stackoverflow.com/questions/27048438/jsf-custom-converter-not-called-on-null-value
https://stackoverflow.com/questions/35347001/jsf-converter-with-null-value