Closed javaserverfaces closed 11 years ago
Reported by werlitz
werlitz said: Attached a small example that shows the problem when entering a valid number and submitting the form.
werlitz said: This issue affects 2.0.3, 2.0.4 and 2.1.0.
The source of the problem is a NPE at line javax.faces.convert.NumberConverter:585 (Mojarra 2.1). The wrapped value expression does not seem to provide a type information for the value expression.
werlitz said:
@edburns said: Bulk assign all impl issues to Roger.
@manfredriem said: Can you verify if this is still an issue on the latest 2.1 release?
@manfredriem said: Lowering priority because of no response
@manfredriem said: Closing issue because of inactivity
werlitz said: Sorry, I could not respond here for a long time. The issue is not present anymore in versions 2.1.25 and 2.2.2
@edburns said: Thanks for the followup.
File: converterError.zip Attached By: werlitz
This issue was imported from java.net JIRA JAVASERVERFACES-2003
Marked as cannot reproduce on Monday, August 19th 2013, 6:49:56 pm
If a NumberConverter () is used with composite component () that has a value binding to a BigDecimal, Long, Integer etc. property which has an initial value of null, the converter does not accept any number as input.
When there is an inital value or the converter is used with a "normal" input component it works correctly.
Environment
JDK 1.6, Tomcat 6.0.29
Affected Versions
[2.0.3, 2.0.4, 2.1.0]