Adf_Faces-60097

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}" 
id="c7"> 
<af:selectOneChoice value="#{row.bindings.ResultYear.inputValue}" 
label="#{row.bindings.ResultYear.label}" 
required="#{bindings.ResultStudentResultView.hints.ResultYear.mandatory}" 
shortDesc="#{bindings.ResultStudentResultView.hints.ResultYear.tooltip}" 
id="soc2"> 
<f:selectItems value="#{row.bindings.ResultYear.items}" id="si2"/> 
<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

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.

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.