Could it be that the fact where the NPE happens during its insert contains a field of some wrapper type (e.g.)Integer that's null and needs to be converted to a simple type (e.g. int)?
But the same NPE should happen when you insert the same fact with rules coming from a single file - but you'll know whether you have changed the facts. -W On Sat, Jul 25, 2009 at 5:33 PM, Olaf Raether <[email protected]> wrote: > > Mmmh, > > i still get an NPE but from a different function within > ClassFieldReader.java > > with the 4.07 Api calls it was > > at org.drools.base.ClassFieldReader.isNullValue(ClassFieldReader.java:183) > > now its > > java.lang.NullPointerException > at > org.drools.base.ClassFieldReader.getIndex(ClassFieldReader.java:78) > at > > org.drools.util.LeftTupleIndexHashTable.<init>(LeftTupleIndexHashTable.java:48) > at > > org.drools.util.LeftTupleIndexHashTable.<init>(LeftTupleIndexHashTable.java:35) > at > > org.drools.common.DoubleBetaConstraints.createBetaMemory(DoubleBetaConstraints.java:231) > at org.drools.reteoo.BetaNode.createMemory(BetaNode.java:340) > ..... > > i have no idea how to solve this at the moment. > > > > > -- > View this message in context: > http://www.nabble.com/Problem-when-using-multiple-rule-files-%28Drools-5%29-tp24623347p24658903.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
