<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: 'Segoe UI'">Yes - definitely I am using the same version otherwise I'd have exception in every transaction. But I am getting this very inconsistently. I doubt there is a bug in RuleBase dieselisation.</SPAN></P>
&nbsp;<BR>&gt; From: Krishna.Bhamidi@qwest.com<BR>&gt; To: rules-users@lists.jboss.org<BR>&gt; Date: Tue, 21 Apr 2009 06:29:05 -0600<BR>&gt; Subject: RE: [rules-users] RuleBase deserialization throws NPE<BR>&gt; <BR>&gt; Normally I get this when there is a version incompatibility between Guvnor and the clients. Are you using the same Drools jar versions on both sides?<BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of dhai<BR>&gt; Sent: Monday, April 20, 2009 8:59 PM<BR>&gt; To: rules-users@lists.jboss.org<BR>&gt; Subject: [rules-users] RuleBase deserialization throws NPE<BR>&gt; <BR>&gt; <BR>&gt; We have application that has two parts. One is for authoring the rules and deploying RuleBase into database. Second reads that sterilized RuleBase from database and evaluate the rules. I am randomly getting NPE while I desterilize RuleBase. Its very inconsistent. The test data and environment in same. Once I get one NPE while performing 2000 transactions and second time I receive same exception after 500 transactions. The first test was executed in single threaded and second was in multi threaded. <BR>&gt; <BR>&gt; I was wondering if some one else had encounter same problem. There trace is:<BR>&gt; <BR>&gt; at java.lang.Thread.run(Thread.java:595)<BR>&gt; Caused by: java.lang.NullPointerException <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1820) <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) <BR>&gt; at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) <BR>&gt; at<BR>&gt; org.drools.common.AbstractRuleBase.doReadExternal(AbstractRuleBase.java:257) <BR>&gt; at<BR>&gt; org.drools.reteoo.ReteooRuleBase.readExternal(ReteooRuleBase.java:151) <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755) <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717) <BR>&gt; at<BR>&gt; java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) <BR>&gt; at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) <BR>&gt; at<BR>&gt; net.dharis.net.rules.RulesResolverImpl.resolveFor(RulesResolverImpl.java:48)<BR>&gt; --<BR>&gt; View this message in context: http://www.nabble.com/RuleBase-deserialization-throws-NPE-tp23147611p23147611.html<BR>&gt; Sent from the drools - user mailing list archive at Nabble.com.<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; rules-users mailing list<BR>&gt; rules-users@lists.jboss.org<BR>&gt; https://lists.jboss.org/mailman/listinfo/rules-users<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; rules-users mailing list<BR>&gt; rules-users@lists.jboss.org<BR>&gt; https://lists.jboss.org/mailman/listinfo/rules-users<BR><br /><hr />Find car news, reviews and more  <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT' target='_new'>Looking to change your car this year?</a></body>
</html>