<br><font size=2 face="sans-serif">I am a Drools newbie, and I think I
am having a similar problem with the distribution jars for Drools 5.0.1.
&nbsp;I thought there was something missing from my setup...</font>
<br>
<br><font size=2 face="sans-serif">I originally got a NPE on executing
the following line of code:</font>
<br><font size=2 face="Courier New">KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.<i>newKnowledgeBuilder</i>();</font>
<br>
<br><font size=2 face="sans-serif">After improving my exception handling,
I was able to narrow it down to a </font><font size=2 face="Courier New">&quot;ProviderInitializationException&quot;</font>
<br><font size=2 face="sans-serif">thrown by the code in the depth of KnowledgeBuilderFactory
which was trying to instantiate a missing &quot;provider&quot;.</font>
<br>
<br><font size=2 face="sans-serif">Is this the same problem?</font>
<br><font size=2 face="sans-serif"><br>
--------------------------------------------------<br>
David Shields<br>
Division of Clinical Informatics<br>
Department of Community and Family Medicine<br>
Duke University Medical Center<br>
<br>
Phone (919) 681-6176<br>
Mobile(864) 787-8551<br>
Fax &nbsp; &nbsp; &nbsp;(919) 684-8675<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>tolitius &lt;webakaunt@gmail.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">07/26/2010 02:33 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Rules Users List &lt;rules-users@lists.jboss.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">rules-users@lists.jboss.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[rules-users] 5.1.0 CR1: Drools Spring
Configuration Changed?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
JPAKnowledgeServiceBean which is a core entry point into Drools from Spring,<br>
used to define/initialize ( in 5.1.0 M2 at least ) a<br>
&quot;jpaKnowledgeServiceProvider&quot; ( JPAKnowledgeFactoryService ).<br>
<br>
Now the initialization is commented out, however &quot;JPAKnowledgeServiceBean&quot;<br>
is still trying to use it to create/load Sessions, and of course<br>
NullPointerException is raised:<br>
<br>
 &nbsp; &nbsp;</font></tt><a href="https://jira.jboss.org/browse/JBRULES-2593"><tt><font size=2>https://jira.jboss.org/browse/JBRULES-2593<br>
<br>
Any updates were made that depreciate &quot;JPAKnowledgeServiceBean&quot;?
Anything<br>
different (from 5.1.0 M2) in configuration needs to be done?<br>
<br>
Thank you,<br>
/Anatoly<br>
-- <br>
View this message in context: </font></tt><a href="http://drools-java-rules-engine.46999.n3.nabble.com/5-1-0-CR1-Drools-Spring-Configuration-Changed-tp997130p997130.html"><tt><font size=2>http://drools-java-rules-engine.46999.n3.nabble.com/5-1-0-CR1-Drools-Spring-Configuration-Changed-tp997130p997130.html<br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users<br>
</font></tt></a></a></a>
<br>