[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2559) Problem with Collect statement from a source that is a previous declaration after an OR'd group in MVEL dialect
Chris DeLashmutt (JIRA)
jira-events at lists.jboss.org
Fri Jun 25 14:33:46 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537097#action_12537097 ]
Chris DeLashmutt commented on JBRULES-2559:
-------------------------------------------
Another strange problem with this change I'm trying to make is that if I try to use SerializationHelper.getSerialisedStatefulSession( wm ) in the test case, I'm getting an NPE when the session is being deserialized on a LeftTuple constructor. The rightTuple parameter to the constructor is null because no RightTuple could be found for the given key in InputMarshaller around line 532.
> Problem with Collect statement from a source that is a previous declaration after an OR'd group in MVEL dialect
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-2559
> URL: https://jira.jboss.org/browse/JBRULES-2559
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 5.1.0.M2
> Reporter: Chris DeLashmutt
> Assignee: Mark Proctor
> Attachments: patch.txt
>
>
> When using a Collect statement that is sourced from a nested property of a bound pattern and it follows an OR'd group of evals, the bound pattern seems to be pointing to the wrong object in the tuple. I have attached a diff for drools-compiler that includes a new test case in FirstOrderLogicTest and DRL that exhibits this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list