Hi there,
I am using JDEV 11.1.1.6.0
My objective : " Inserting two new ADF checkbox components to the user interface called Qualifications.jsff "
Assumption:
1) These check-boxes both come from a VO called LsIndividual
2) Both check-boxes save to the format VarChar2(1) and are Strings
3) Selected value is Y, unselected value is N
4) There is a save button in the same context to commit these values to the DB
Once I have these components in the interface, I deploy and run the application. When I select the check-boxes and press Save, there is an error presented and it prevents me from committing these values to the DB.
The following is displayed in a text box titled Error:
| java.lang.String cannot be cast to oracle.jbo.RowIterator |
|
And here's an excerpt from the stack:
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: java.lang.String cannot be cast to oracle.jbo.RowIterator
java.lang.ClassCastException: java.lang.String cannot be cast to oracle.jbo.RowIterator
at au.com.lawsociety.dmm.model.core.entity.LsIndividualImpl.getLsApp(LsIndividualImpl.java:1860)
at au.com.lawsociety.dmm.model.core.entity.LsIndividualImpl$AttributesEnum$33.get(LsIndividualImpl.java:366)
at au.com.lawsociety.dmm.model.core.entity.LsIndividualImpl.getAttrInvokeAccessor(LsIndividualImpl.java:1834)
at oracle.jbo.server.EntityImpl.getAttribute(EntityImpl.java:1715)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1815)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1923)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:866)
at au.com.lawsociety.dmm.model.core.view.LsIndividualVORowImpl.getNotaryPublicFlag(LsIndividualVORowImpl.java:1210)
at au.com.lawsociety.dmm.model.core.view.LsIndividualVORowImpl$AttributesEnum$36.get(LsIndividualVORowImpl.java:376)
at au.com.lawsociety.dmm.model.core.view.LsIndividualVORowImpl.getAttrInvokeAccessor(LsIndividualVORowImpl.java:1360)
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:896)
at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2656)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.updateRow(JUCtrlValueBinding.java:372)
at oracle.jbo.uicli.binding.JUIteratorBinding.notifyUpdateEvent(JUIteratorBinding.java:355)
at oracle.adf.model.binding.DCIteratorBinding.rowUpdated(DCIteratorBinding.java:1190)
at oracle.jbo.common.RowSetHelper.fireRowUpdated(RowSetHelper.java:246)
at oracle.jbo.server.ViewRowSetIteratorImpl.fireRowUpdated(ViewRowSetIteratorImpl.java:3752)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRowUpdated(ViewRowSetIteratorImpl.java:3371)
at oracle.jbo.server.ViewRowSetImpl.notifyRowUpdated(ViewRowSetImpl.java:2058)
at oracle.jbo.server.ViewObjectImpl.notifyRowUpdated(ViewObjectImpl.java:12204)
at oracle.jbo.server.ViewObjectImpl.notifyRowUpdated(ViewObjectImpl.java:12193)
at oracle.jbo.server.ViewObjectImpl.notifyRowUpdated(ViewObjectImpl.java:12136)
at oracle.jbo.server.ViewObjectImpl.afterRowUpdate(ViewObjectImpl.java:13833)
at oracle.jbo.server.ViewObjectImpl.sourceChanged(ViewObjectImpl.java:14136)
Other check-boxes within the same application are working fine, it's just the check-boxes on this page that I am having issues with.
Any advice or help is very welcome!
Mark