One more jbo error that took long time to figure out the cause(this time its in ADF)
javax.el.ELException: oracle.jbo.RowValException: JBO-27024: Failed to validate a row with key oracle.jbo.Key
Scenario: Adding a new row to a table which will be selected from the LOV popup.
Issue: New row didn't got added but above error is thrown once selected a value from LOV.
From the exception we didn't get any clue.
Debugging in-depth(followed/read the stack trace including the framework classes) figured out this is a deferred exception.
Cause: The real error is triggered when a new row is created and it was thrown in the later stage i.e when rendering the UI.
Fix/Where to look:
1) Check out the alternate key mentioned in the Entity Object will work for new records or not.
2) You might be using a composite key in which one of the attribute is null/invalid value.
3) Any of the validations might have gone for a toss.