Menu

#11 If relationship has no inverse, we need a better error message

open
nobody
None
Max
engine
normal
2012-08-03
2012-06-06
No

If a relationship has no inverse, we currently throw this. We need a more friendly error.

java.lang.NullPointerException
at com.autobizlogic.abl.logic.LogicSvcs.isParentCascadingChangedRefdAttrs(LogicSvcs.java:66)
at com.autobizlogic.abl.rule.AbstractDependsOnRule.isFormulaPrunable(AbstractDependsOnRule.java:63)
at com.autobizlogic.abl.rule.FormulaRule.execute(FormulaRule.java:103)
at com.autobizlogic.abl.engine.phase.FormulasAndParentChecks.execute(FormulasAndParentChecks.java:75)
at com.autobizlogic.abl.engine.LogicRunner.update(LogicRunner.java:236)
at com.autobizlogic.abl.hibernate.BeforeTransactionProcess.doBeforeTransactionCompletion(BeforeTransactionProcess.java:85)
at org.hibernate.engine.ActionQueue$BeforeTransactionCompletionProcessQueue.beforeTransactionCompletion(ActionQueue.java:543)

Discussion

Anonymous
Anonymous

Add attachments
Cancel