[rules-users] org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0]

Ingomar Otter iotter at mac.com
Wed Apr 1 14:23:31 EDT 2009


Ashish,
My guess is that you are navigating properties and the something along  
the way is null.
Eg object.prop1.prop2 where prop1 is null. If prop1 can be null you  
have to check for nullness first, ie.
object.prop1!=null, object.prop1.prop2....

--Ingomar

Am 01.04.2009 um 19:23 schrieb Ashish Soni:

> Hi ,
>
> Can some-one please tell What does this error means.
>
> org.drools.runtime.rule.ConsequenceException: [Error: unable to access
> property (null parent): add] [Near : {...  
> Unknown ....}]              ^
> [Line: 1, Column: 0]
>
> Regards,
> Ashish
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list