Steven,<br><br><div class="gmail_quote">2011/6/29 Steven Waldren <span dir="ltr">&lt;<a href="mailto:swaldren@openhealthdata.com">swaldren@openhealthdata.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">Wolfgang,<div><br></div><div>The ActorType definition is here:  <a href="https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/java/org/astm/ccr/ActorType.java" target="_blank">https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/java/org/astm/ccr/ActorType.java</a></div>
<div><br></div><div><a href="https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/java/org/astm/ccr/ActorType.java" target="_blank"></a>The point of this rule (and the other rules in this package) is to &quot;walk&quot; through a very complex object graph and insert the objects into working memory.</div>
</div></blockquote><div><br>Should this this single file ActorType.drl be doing all of these insertions? Then I don&#39;t think this is going to work (but not related to the NPE).<br><br>Does the problem occur if you use just this file?<br>
<br>-W<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><br></div><div>I do not use the rule attribute &quot;dialect&quot;.  The drl in question is here: <a href="https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/resources/rules/core/ActorType.drl" target="_blank">https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/resources/rules/core/ActorType.drl</a></div>
<div><br></div><div><a href="https://github.com/openhealthdata/CCR-Validator/blob/drools5.0/src/main/resources/rules/core/ActorType.drl" target="_blank"></a>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.</div>
<div><br></div><div>Thanks,</div><div><div class="im">Steven<br><div>
<div style="word-wrap: break-word; font-size: 12px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
--</div><div>Steven E. Waldren, MD MS</div><div>Co-founder, Open Health Data</div></span></div><br><br>
</div>
<br></div><div><div>On Jun 29, 2011, at 2:49 AM, <a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a> wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">Date: Wed, 29 Jun 2011 09:49:10 +0200<br>
From: Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;<br>Subject: Re: [rules-users] Drools 5.0 -&gt; 5.2 Migration Issue<br>To: Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:BANLkTin04ytQVP6T3tdR6j8ZjUKCO9Rvyw@mail.gmail.com" target="_blank">BANLkTin04ytQVP6T3tdR6j8ZjUKCO9Rvyw@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<div class="im">
<br><br>Please provide the type declaration for ActorType.Person, field gender and<br>typicial examples how gender fields are used in other rules. Ideally, if you<br>could reduce your rule set to this simple rule and one other rule, still<br>
causeing the same problem.<br><br>Also, do you use &quot;dialect &#39;mvel&#39;&quot;?<br><br>-W</div></span></blockquote></div><br></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>