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.
 
> From: [email protected]
> To: [email protected]
> Date: Tue, 21 Apr 2009 06:29:05 -0600
> Subject: RE: [rules-users] RuleBase deserialization throws NPE
> 
> 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?
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of dhai
> Sent: Monday, April 20, 2009 8:59 PM
> To: [email protected]
> Subject: [rules-users] RuleBase deserialization throws NPE
> 
> 
> 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. 
> 
> I was wondering if some one else had encounter same problem. There trace is:
> 
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException 
> at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1820) 
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) 
> at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) 
> at
> org.drools.common.AbstractRuleBase.doReadExternal(AbstractRuleBase.java:257) 
> at
> org.drools.reteoo.ReteooRuleBase.readExternal(ReteooRuleBase.java:151) 
> at
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755) 
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717) 
> at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) 
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) 
> at
> net.dharis.net.rules.RulesResolverImpl.resolveFor(RulesResolverImpl.java:48)
> --
> View this message in context: 
> http://www.nabble.com/RuleBase-deserialization-throws-NPE-tp23147611p23147611.html
> Sent from the drools - user mailing list archive at Nabble.com.
> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users

_________________________________________________________________
Looking to change your car this year? Find car news, reviews and more 
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
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to