[rules-users] Drools 5.0 -> 5.2 Migration Issue

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jun 29 08:20:46 EDT 2011


Steven,

2011/6/29 Steven Waldren <swaldren at openhealthdata.com>

> Wolfgang,
>
> The ActorType definition is here:
> https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/java/org/astm/ccr/ActorType.java
>
>
> <https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/java/org/astm/ccr/ActorType.java>The
> point of this rule (and the other rules in this package) is to "walk"
> through a very complex object graph and insert the objects into working
> memory.
>

Should this this single file ActorType.drl be doing all of these insertions?
Then I don't think this is going to work (but not related to the NPE).

Does the problem occur if you use just this file?

-W

>
> I do not use the rule attribute "dialect".  The drl in question is here:
> https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/resources/rules/core/ActorType.drl
>
>
> <https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/resources/rules/core/ActorType.drl>I
> tried to create a simple project that caused the same error, but I create a
> Class with inner classes similar to ActorType and write a rule like the one
> in question, but it does not cause the error.
>
> Thanks,
> Steven
> --
> Steven E. Waldren, MD MS
> Co-founder, Open Health Data
>
>
>
> On Jun 29, 2011, at 2:49 AM, rules-users-request at lists.jboss.org wrote:
>
> Date: Wed, 29 Jun 2011 09:49:10 +0200
> From: Wolfgang Laun <wolfgang.laun at gmail.com>
> Subject: Re: [rules-users] Drools 5.0 -> 5.2 Migration Issue
> To: Rules Users List <rules-users at lists.jboss.org>
> Message-ID: <BANLkTin04ytQVP6T3tdR6j8ZjUKCO9Rvyw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Please provide the type declaration for ActorType.Person, field gender and
> typicial examples how gender fields are used in other rules. Ideally, if
> you
> could reduce your rule set to this simple rule and one other rule, still
> causeing the same problem.
>
> Also, do you use "dialect 'mvel'"?
>
> -W
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110629/854e253d/attachment.html 


More information about the rules-users mailing list