[rules-dev] Bugs/Problems with 3.1.0M1

Wolfgang Betz Wolfgang.Betz at siemens.com
Tue Mar 27 12:44:57 EDT 2007


Hello to all,
i would like to address some problems with 3.1.0M1:
I've noticed that:

- using eclipse 3.2.2, and JPDL Plugin 3.1.0 alpha3 a program using rules does
not stop at breakpoints in rules (RHS) - ok, its alpha, maybe i'm missing 
something

- throws an internal NPE at parsing rules havin NO_LOOP set (even if parse
result caching is on)

- comparisons like "bpairl : BagsPerAirline(nrOfBusinessBags >= (500 + 333))"
throw NPE if field is null  - maybe adressed by
http://jira.jboss.com/jira/browse/JBRULES-627

- when 
    BagsPerAirline(nrOfBusinessBags >= (500 + 333)) //gives all >= 833 BUT
    BagsPerAirline(nrOfBusinessBags >= 500 + 333) //all >= 500!!!!!

- when   
      c : Flight(flightId == 1 | == (1+1)) 

// throws java.lang.UnsupportedOperationException: 
// does not support method call
// isAllowed(Object object, InternalWorkingMemory workingMemoiry)
//	at
// org.drools.rule.ReturnValueRestriction.
//          isAllowed(ReturnValueRestriction.java:137)
      
Thanx a lot for the "from" extension :-)





More information about the rules-dev mailing list