ADF_FACES-60097

I am creating a school management application using Oracle ADF. I have one Student Result page where we can add the result for each student. Here is the image of the same:

Student's Result Page

When I change say the Result Year, I get an exception like:

<oracle.adf.view> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase UPDATE_MODEL_VALUES 4> oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.lang.Integer from type:java.lang.String with value:Pass

Don't Understand this only the student id is number, all other 3 attributes are string only. Can anyone help?

Below is the Jsff Code:

<af:column sortProperty="#{bindings.ResultStudentResultView.hints.ResultYear.name}"
filterable="true" sortable="true"
headerText="#{bindings.ResultStudentResultView.hints.ResultYear.label}">
<af:selectOneChoice value="#{row.bindings.ResultYear.inputValue}"
label="#{row.bindings.ResultYear.label}"
required="#{bindings.ResultStudentResultView.hints.ResultYear.mandatory}"
shortDesc="#{bindings.ResultStudentResultView.hints.ResultYear.tooltip}">
<f:selectItems value="#{row.bindings.ResultYear.items}"/>
<f:validator binding="#{row.bindings.ResultYear.validator}"/>
</af:selectOneChoice>
</af:column> 
4

1 Answer

This error is with the column Result, check what is the attribute type in view object and if corresponding default value is given as literal.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like