Error Unable To Access Property Null Parent Drool
[Line: 1, Column: 0] Classic List Threaded ♦ ♦ Locked 2 messages learndrools Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0] 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 [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users Ingomar Otter-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0] 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 > [hidden email] > https://lists.jboss.org/mailman/listinfo/rules-users_______________________________________________ rules-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/rules-users « Return to Drools: User forum - MOVED | 1 view|%1 views Loading... Free forum by Nabble Edit this page
[rules-users] Problem with execution server Next message: [rules-users] org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: http://drools-moved.46999.n3.nabble.com/org-drools-runtime-rule-ConsequenceException-Error-unable-to-access-property-null-parent-add-Near-Un-td59735.html 1, Column: 0] Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi , Can some-one please tell What does this error means. http://lists.jboss.org/pipermail/rules-users/2009-April/008513.html org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0] Regards, Ashish -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090401/3040836e/attachment.html Previous message: [rules-users] Problem with execution server Next message: [rules-users] org.drools.runtime.rule.ConsequenceException: [Error: unable to access property (null parent): add] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0] Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the rules-users mailing list
not work correctly without it https://developer.jboss.org/thread/105838 enabled. Please turn JavaScript back https://www.mail-archive.com/rules-users@lists.jboss.org/msg06926.html on and reload this page. All Places > JBoss ESB > JBoss ESB Development > Discussions Please enter a error unable title. You can not post a blank message. Please type your message and try again. 2 Replies Latest reply on May 26, 2009 error unable to 11:05 AM by Daniel Bevenius Drools 5.0.1GA upgrade Daniel Bevenius May 26, 2009 9:43 AM I'm updating Drools to 5.0.1.GA and discovered an issue with the business_ruleservice_stateful quickstart.The following exception was shown when running the quickstart:org.drools.RuntimeDroolsException: Exception executing predicate customer.userName == $c.userName at org.drools.rule.PredicateConstraint.isAllowedCachedLeft(PredicateConstraint.java:302) at org.drools.common.SingleBetaConstraints.isAllowedCachedLeft(SingleBetaConstraints.java:138) at org.drools.reteoo.AccumulateNode.assertLeftTuple(AccumulateNode.java:153) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:145) at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:57) at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:142) at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42) at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:185) at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:146) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1046) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1001) at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:788) at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.insertObjectsIntoWorkingMemory(DroolsRuleService.java:602)
"p1", p1 ); Exception in thread "main" [Error: unable to access property (null parent): p1] [Near : {... Unknown ....}] ^ at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod( ReflectiveAccessorOptimizer.java:621) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty( ReflectiveAccessorOptimizer.java:455) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain( ReflectiveAccessorOptimizer.java:279) at org.mvel2.o Thanks Shikha "Edson Tirelli" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/07/2008 05:58 PM Please respond to Rules Users List