[rules-users] Defeasible: NPE: with multiple @Defeasible

Mark Proctor mproctor at codehaus.org
Wed Jul 23 18:43:48 EDT 2014


On 23 Jul 2014, at 21:58, Borris <borris at chaos.org.uk> wrote:

> 
> On 22/07/2014 22:44, Mark Proctor wrote:
>> Stack trace shows the error:
>> org.drools.core.beliefsystem.defeasible.DefeasibleBeliefSet.removeUndefeated(DefeasibleBeliefSet.java:295)
>> https://github.com/sotty/drools/blob/master/drools-core/src/main/java/org/drools/core/beliefsystem/defeasible/DefeasibleBeliefSet.java
>> 
>> Maybe have a go fixing it yourself? And submit the fix with a unit test, as a pull request?
>> http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html
>> 
> 
> I might well have a go, but there's a whole bunch of learning I need to 
> do before I can submit my first candidate patch. So don't expect 
> something too quickly.
We are available for real time chat on irc, if you need help.
http://drools.jboss.org/irc

Either way best way to start is to submit a compact self contained unit test, to show the failure, as a pull request. Don’t forget to @Ignore it, so it won’t break our build and we can fix it later:
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/beliefsystem/defeasible/DefeasibilityTest.java

Mark
> 
> Borris
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list