Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.NumberFormatException at java.math.BigDecimal.<init>(BigDecimal.java:576) SelectOn

Sushanth AmbalaSep 10 2015 — edited Sep 11 2015

Hi All,

Am using SelectOneChoice (value type -BigDecimal and Label String), My Application is BPM workSpace, where we exposed the HumanTaskFlow as ADF taskflows. Am getting the values properly when I set the values and going to next stage. But am getting NumberFormatException when I leave the lov's blank . That means the SelectOneChoice is trying to convert the null value to BigDecimal and giving NumberFormat exception. Or is there any other cause for this issue. Could you please help me on how to handle this?

Jdev - 11.1.1.6

SelectOneChoice Code

                                <af:selectOneChoice autoSubmit="true" value="#{row.bindings.resolutionId.inputValue}"

                                                    label="#{nonconformanceuiviewcontrollerBundle.resolution_col_header}"                                                  

                                                    id="soc4666"                                                  

                                                    unselectedLabel=" "

                                                    valuePassThru="true"

                                                    valueChangeListener="#{DynamicPopupHelperBean.onResolutionValChange}">

                                    <f:selectItems

                                                   id="si124545"

                                                   value="#{DynamicPopupHelperBean.resolutionList}"/>

                                </af:selectOneChoice>

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2015
Added on Sep 10 2015
2 comments
1,419 views