<p dir="ltr">Glad you solved your problem :-)</p>
<p dir="ltr">You can still create declarative types if you wish in 6.0.x but you&#39;ll need to create a DRL file and enter the applicable syntax.</p>
<p dir="ltr">Cheers, </p>
<p dir="ltr">Mike</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 17 Mar 2014 08:03, &quot;JarkkoMakela&quot; &lt;<a href="mailto:jarkko.matinpoika@gmail.com">jarkko.matinpoika@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Manstis was right, I was trying to access Java class with the API for<br>
accessing declared (DRL) types.<br>
ValidationError class was created with Drools Workbench data modeller. I<br>
thought that data modeller creates declarative classes, like in Drools<br>
Guvnor.<br>
I imported ValidationError as normal Java class and and started to use as it<br>
as normal Java class and problem was solved.<br>
Sorry for all the trouble and thanks for help!<br>
<br>
-Jarkko<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028753.html" target="_blank">http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028753.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</blockquote></div>