The rules and the facts are the same. 

So i add the source to the project and (try to) debug into the code. 
The NPE occurs in the "getIndex" method (see source fragment below)
and the reader member is NULL. And the only point where "reader" is set is
in
the "setReadAccessor" method, but the method is not called in this context.
>From my point of view it could be bug and  i will try to create 
a testcase - hope it is reproducible then.


part of ClassFieldReader.java
...
public void setReadAccessor(InternalReadAccessor reader) {
        this.reader = reader;
 }

public int getIndex() {
       return this.reader.getIndex();
}
...
-- 
View this message in context: 
http://www.nabble.com/Problem-when-using-multiple-rule-files-%28Drools-5%29-tp24623347p24693274.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to