<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Michael, I think the class is just
incidentally named ValidationError.<br>
<br>
The problem is in the "wiring" of the accessors into the
FieldDefinition<br>
(you see that "accessor=null" at the end of the toString in the
failing case).<br>
This wiring is done by the PackageBuilder when the DRL is
compiled, so <br>
I suspect that there is a problem with the interaction of the data
modeller<br>
and the package builder.. <br>
<br>
Jarkko, thanks for reporting this, it really looks like a WB bug!<br>
Could you please open a JIRA ticket?<br>
<br>
Davide<br>
<br>
On 03/15/2014 04:09 PM, Michael Anstis wrote:<br>
</div>
<blockquote
cite="mid:CAAG9P0uRiGgAXOWdF=3mAdkQikbuRpmGYfnHnN3LCwwZ_FtwWA@mail.gmail.com"
type="cite">
<p dir="ltr">ValidationError is indeed an *internal* workbench
class. What makes you think you can query for it? </p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 15 Mar 2014 12:00, "JarkkoMakela" <<a
moz-do-not-send="true"
href="mailto:jarkko.matinpoika@gmail.com">jarkko.matinpoika@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
This ValidationError is created with drools workbench data
modeller. It has<br>
only String fields.<br>
I have only couple of rules (which will create two
ValidationErrors) and one<br>
query (for the ValidationError) in the knowledgebase.<br>
<br>
<br>
-Jarkko<br>
<br>
<br>
<br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028744.html"
target="_blank">http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028744.html</a><br>
Sent from the Drools: User forum mailing list archive at
Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</body>
</html>