Re: [rules-users] Decision table call external method

2012-05-11 Thread SuperGG
I did a drools project on eclipse, so I guess it's just
drools-decisiontables.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3979352.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Formula error in Business Rule(Guided editor)

2012-05-11 Thread Manasi
Hi,

Currently I am facing following issue while inserting a formula in Business
Rule(Guided Editor): 
1) I have written following formula to be executed in Business Rule(Guided
Editor): 
WHEN   
1. 
 The following exists: 
 There is a RuleObject [$r] with: 
 installations  100 
   
THEN   
1.   
Insert RuleObject: 
 calulatedValue   = $r.installations*3 

But it gives error 'Unable to analyse expression' when i try to Verify the
rule. 
I want my end result will be a calculated value instead of Literal value. 

Please let me know the correct syntax to use formula in this type of rule. 

Thnaks.


--
View this message in context: 
http://drools.46999.n3.nabble.com/Formula-error-in-Business-Rule-Guided-editor-tp3979546.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools Clients

2012-05-11 Thread bhargav99
Hi ,

  We are evaluating various open source rule engines market.* Drools
*being one of the most popular products in this category , we like to know
if we can get a list of *clients *or *customers* currently using *drools*
rule engine. This information would be vital for our evaluraion process.


Thanks,
Bhargav

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Clients-tp3979720.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Decision table call external method

2012-05-11 Thread Vincent LEGENDRE
According to your post, I guess that your problem is not really for editing the 
table, but at runtime the table does not behave like expected, yes ?
Could you post your table and the resulting DRL, and explain a bit more what 
you have tried to do ?

- Mail original -
De: SuperGG jerome-m.pe...@thalesgroup.com
À: rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 10:47:01
Objet: Re: [rules-users] Decision table call external method

I did a drools project on eclipse, so I guess it's just
drools-decisiontables.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3979352.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Formula error in Business Rule(Guided editor)

2012-05-11 Thread Vincent LEGENDRE
$r.installations only works if the attribute is public in RuleObject (and 
numeric).
try $r.getInstallations() instead ...

Also, always have a look to the generated DRL (View Source under Guvnor)

- Mail original -
De: Manasi manasi.a.da...@capgemini.com
À: rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 12:34:02
Objet: [rules-users] Formula error in Business Rule(Guided editor)

Hi,

Currently I am facing following issue while inserting a formula in Business
Rule(Guided Editor): 
1) I have written following formula to be executed in Business Rule(Guided
Editor): 
WHEN   
1. 
 The following exists: 
 There is a RuleObject [$r] with: 
 installations  100 
   
THEN   
1.   
Insert RuleObject: 
 calulatedValue   = $r.installations*3 

But it gives error 'Unable to analyse expression' when i try to Verify the
rule. 
I want my end result will be a calculated value instead of Literal value. 

Please let me know the correct syntax to use formula in this type of rule. 

Thnaks.


--
View this message in context: 
http://drools.46999.n3.nabble.com/Formula-error-in-Business-Rule-Guided-editor-tp3979546.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Decision table call external method

2012-05-11 Thread SuperGG
http://drools.46999.n3.nabble.com/file/n3979822/Sans_titre.jpg 

I have this decision table.
I have a Class XMLTool which contains static fields as SICF and some methods
(non static) as addNodes(String str);

I don't find the way to use the method addNodes in my decision table.
(I import all the good classes)
I tried several stuff but no success.
I'm sure there is one good way to do it.
Thx

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3979822.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Decision table call external method

2012-05-11 Thread Vincent LEGENDRE
In ACTION, you can use :
   - static methods
   - non-static method on a previous matched objects

using addNode(...) like this is nonsense, even in plain java

If your addNode method applies to your matched Service object (which you binded 
to variable s), use s.addNode(...)
Otherwise, you have to get the object in which this method is defined in order 
to call it


- Mail original -
De: SuperGG jerome-m.pe...@thalesgroup.com
À: rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 14:43:06
Objet: Re: [rules-users] Decision table call external method

http://drools.46999.n3.nabble.com/file/n3979822/Sans_titre.jpg 

I have this decision table.
I have a Class XMLTool which contains static fields as SICF and some methods
(non static) as addNodes(String str);

I don't find the way to use the method addNodes in my decision table.
(I import all the good classes)
I tried several stuff but no success.
I'm sure there is one good way to do it.
Thx

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3979822.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Decision table call external method

2012-05-11 Thread Vincent LEGENDRE
Sorry, I read too fast ...

You have addNode(...) on XMLTool ?
So you have to get a XMLTool somewhere in CONDITION or make it a global 
variable, or a java singleton, or link it with your service.
If you can't do all previous, then you will have to find a trick to match it in 
your conditions, but it will be a trick ...

- Mail original -
De: Vincent LEGENDRE vincent.legen...@eurodecision.com
À: Rules Users List rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 15:06:35
Objet: Re: [rules-users] Decision table call external method

In ACTION, you can use :
   - static methods
   - non-static method on a previous matched objects

using addNode(...) like this is nonsense, even in plain java

If your addNode method applies to your matched Service object (which you binded 
to variable s), use s.addNode(...)
Otherwise, you have to get the object in which this method is defined in order 
to call it


- Mail original -
De: SuperGG jerome-m.pe...@thalesgroup.com
À: rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 14:43:06
Objet: Re: [rules-users] Decision table call external method

http://drools.46999.n3.nabble.com/file/n3979822/Sans_titre.jpg

I have this decision table.
I have a Class XMLTool which contains static fields as SICF and some methods
(non static) as addNodes(String str);

I don't find the way to use the method addNodes in my decision table.
(I import all the good classes)
I tried several stuff but no success.
I'm sure there is one good way to do it.
Thx

--
View this message in context: 
http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3979822.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


[rules-users] Multiple DRL for one Package

2012-05-11 Thread gboro54
I have created multiple DRLs declaring the same packaged(logical separation
of rules). When I compile this knowledge base with all the files does the
rete tree get built as if all the rules were in the same file or does each
file get it's own built tree? 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Multiple-DRL-for-one-Package-tp3979955.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Problem importing bpmn process into oryx designer

2012-05-11 Thread sumatheja
Hi,
I've created a simple bpmn flow which has a start noden rule-flow task
and end. When I try to import it from oryx designer and validate it it
gives an error saying cannot find process image. Can anyone help me know
what I'm missing.
-- 
cheers
Sumatheja Dasararaju


sample.bpmn
Description: Binary data
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Build Pong in 13 minutes using JBoss Drools

2012-05-11 Thread Mark Proctor
Just finished Build Pong in 13 minutes with JBoss Drools enjoy :) and 
please vote up on dzone
http://www.dzone.com/links/build_pong_in_13_minutes_using_jboss_drools.html

For those with more time, here is a longer and more complex video that I 
made before Pong.
Build a Graphical Adventure Game in 20 minutes using JBoss Drools : All 
Hail the Wumpus 
http://www.dzone.com/links/build_a_graphical_adventure_game_in_20_minutes_us.html

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


Re: [rules-users] Problem importing bpmn process into oryx designer

2012-05-11 Thread Tihomir Surdilovic
Hi, you could consider it a warning. Designer when validating checks 
Guvnor to see if there is a process image already available for your 
process. If there is not, it raises that warning. In the Designer you 
can generate the process image by clicking on the PNG button on the 
footer bar. Once you have generated your process image and re-validate 
this warning should no longer be there.


Hope this helps.
Tihomir
On 5/11/12 10:45 AM, sumatheja wrote:

Hi,
I've created a simple bpmn flow which has a start noden rule-flow 
task and end. When I try to import it from oryx designer and validate 
it it gives an error saying cannot find process image. Can anyone 
help me know what I'm missing.

--
cheers
Sumatheja Dasararaju




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


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


Re: [rules-users] Problem importing bpmn process into oryx designer

2012-05-11 Thread sumatheja
 Thanks for the response. I've another doubt, can you let me know
how to check the logic thats implemeted in an OR gate in the flow.In my
case I'm using the name field in a Manufacturer fact to redirect the
flow. I'm unable to find it in the properties tab in the designer.


On Fri, May 11, 2012 at 4:20 PM, Tihomir Surdilovic tsurd...@redhat.comwrote:

  Hi, you could consider it a warning. Designer when validating checks
 Guvnor to see if there is a process image already available for your
 process. If there is not, it raises that warning. In the Designer you can
 generate the process image by clicking on the PNG button on the footer
 bar. Once you have generated your process image and re-validate this
 warning should no longer be there.

 Hope this helps.
 Tihomir

 On 5/11/12 10:45 AM, sumatheja wrote:

 Hi,
 I've created a simple bpmn flow which has a start noden rule-flow task
 and end. When I try to import it from oryx designer and validate it it
 gives an error saying cannot find process image. Can anyone help me know
 what I'm missing.
 --
 cheers
 Sumatheja Dasararaju




 ___
 rules-users mailing 
 listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users



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




-- 
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Problem importing bpmn process into oryx designer

2012-05-11 Thread Tihomir Surdilovic
The conditional expression attributes are actually part of the sequence 
flows that are coming out of the gateway, and not the gatewat itself. 
Click on the sequence flows and you will be able to set the logic there. 
The Eclipse plugin does this somewhat different in that the conditional 
expressions are part of the gateway itself...just notice this small 
difference between the editors.


Thanks.
Tihomir
On 5/11/12 11:30 AM, sumatheja wrote:
 Thanks for the response. I've another doubt, can you let me 
know how to check the logic thats implemeted in an OR gate in the 
flow.In my case I'm using the name field in a Manufacturer fact to 
redirect the flow. I'm unable to find it in the properties tab in the 
designer.



On Fri, May 11, 2012 at 4:20 PM, Tihomir Surdilovic 
tsurd...@redhat.com mailto:tsurd...@redhat.com wrote:


Hi, you could consider it a warning. Designer when validating
checks Guvnor to see if there is a process image already available
for your process. If there is not, it raises that warning. In the
Designer you can generate the process image by clicking on the
PNG button on the footer bar. Once you have generated your
process image and re-validate this warning should no longer be there.

Hope this helps.
Tihomir

On 5/11/12 10:45 AM, sumatheja wrote:

Hi,
I've created a simple bpmn flow which has a start noden
rule-flow task and end. When I try to import it from oryx
designer and validate it it gives an error saying cannot find
process image. Can anyone help me know what I'm missing.
-- 
cheers

Sumatheja Dasararaju




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



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




--
cheers
Sumatheja Dasararaju




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


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


Re: [rules-users] Problem importing bpmn process into oryx designer

2012-05-11 Thread sumatheja
Again Thanks a lot for the info. But for your response would have been
stuck for a long time. :)

On Fri, May 11, 2012 at 4:34 PM, Tihomir Surdilovic tsurd...@redhat.comwrote:

  The conditional expression attributes are actually part of the sequence
 flows that are coming out of the gateway, and not the gatewat itself. Click
 on the sequence flows and you will be able to set the logic there. The
 Eclipse plugin does this somewhat different in that the conditional
 expressions are part of the gateway itself...just notice this small
 difference between the editors.

 Thanks.
 Tihomir

 On 5/11/12 11:30 AM, sumatheja wrote:

  Thanks for the response. I've another doubt, can you let me know
 how to check the logic thats implemeted in an OR gate in the flow.In my
 case I'm using the name field in a Manufacturer fact to redirect the
 flow. I'm unable to find it in the properties tab in the designer.


 On Fri, May 11, 2012 at 4:20 PM, Tihomir Surdilovic 
 tsurd...@redhat.comwrote:

  Hi, you could consider it a warning. Designer when validating checks
 Guvnor to see if there is a process image already available for your
 process. If there is not, it raises that warning. In the Designer you can
 generate the process image by clicking on the PNG button on the footer
 bar. Once you have generated your process image and re-validate this
 warning should no longer be there.

 Hope this helps.
 Tihomir

 On 5/11/12 10:45 AM, sumatheja wrote:

  Hi,
 I've created a simple bpmn flow which has a start noden rule-flow
 task and end. When I try to import it from oryx designer and validate it it
 gives an error saying cannot find process image. Can anyone help me know
 what I'm missing.
 --
 cheers
 Sumatheja Dasararaju




  ___
 rules-users mailing 
 listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users



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




 --
 cheers
 Sumatheja Dasararaju




 ___
 rules-users mailing 
 listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users



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




-- 
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Knowledge Base and Multiple Sessions

2012-05-11 Thread Vincent LEGENDRE
I would say no.
I think that every session has its own RETE nodes filled with its own facts. 
May be the different RETE instances share some evaluators (or at least 
generated dynamic classes that represent nodes) so it could use a bit less 
memory than recreating the same kbase again and again (which can affect 
PermGenSpace on some jvm where GC is not good at purging the permgen).
But the real perf hit should be due to using multiple Thread in a single jvm : 
if you add too much threads, gc, swap and so on can become long.

To test that may be you can test with using the same kbase for all session, and 
test the same with creating a new kbase for each session, and then compare the 
perfs (ignoring objects creation of course) ...
... and post the results back here :)

My own experience of usage of multi-thread with rules is for chaining multiple 
rule box having distinct kbase, so I never tried that.


- Mail original -
De: gboro54 gbor...@gmail.com
À: rules-users@lists.jboss.org
Envoyé: Jeudi 10 Mai 2012 19:12:28
Objet: [rules-users] Knowledge Base and Multiple Sessions

If you have multiple sessions running on different threads against the same
knowledge base, is there any performance hit during evaluation? 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Knowledge-Base-and-Multiple-Sessions-tp3977702.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Multiple DRL for one Package

2012-05-11 Thread Vincent LEGENDRE
I think that RETE is stored in kbase, and kPackage contains only some kind of 
AST for rules.
So adding some rules (of same package or not) in a kbase (or a kbuilder) don't 
use the origin ..
And mroe than that, I am pretty sure that rules are shared in RETE even if they 
are from different packages (this way the RETE can share more patterns and 
improve propagation). But I am not a DEV guy, so all of the previous is only my 
own conclusions.

When you do that, using your kbuilder, does the kbuilder return 1 or 2 
knowledgePackage ?
And anyway, why does it matters ? The rules should work as if they were in a 
single file (no matter if the RETE is partionned or not).
Is it for perfs ?




- Mail original -
De: gboro54 gbor...@gmail.com
À: rules-users@lists.jboss.org
Envoyé: Vendredi 11 Mai 2012 15:33:06
Objet: [rules-users] Multiple DRL for one Package

I have created multiple DRLs declaring the same packaged(logical separation
of rules). When I compile this knowledge base with all the files does the
rete tree get built as if all the rules were in the same file or does each
file get it's own built tree? 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Multiple-DRL-for-one-Package-tp3979955.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Knowledge Base and Multiple Sessions

2012-05-11 Thread gboro54
I did run the test and your assessment is accurate. Sessions using different
knowledge bases to not perform any better. For the most part each thread is
running a separate rule box, however there is one set of rules which all
messages must go through (millions) while the others will have a very small
subset sent to them based on what the first set determined...


Vincent Legendre wrote
 
 I would say no.
 I think that every session has its own RETE nodes filled with its own
 facts. 
 May be the different RETE instances share some evaluators (or at least
 generated dynamic classes that represent nodes) so it could use a bit less
 memory than recreating the same kbase again and again (which can affect
 PermGenSpace on some jvm where GC is not good at purging the permgen).
 But the real perf hit should be due to using multiple Thread in a single
 jvm : if you add too much threads, gc, swap and so on can become long.
 
 To test that may be you can test with using the same kbase for all
 session, and test the same with creating a new kbase for each session, and
 then compare the perfs (ignoring objects creation of course) ...
 ... and post the results back here :)
 
 My own experience of usage of multi-thread with rules is for chaining
 multiple rule box having distinct kbase, so I never tried that.
 
 
 - Mail original -
 De: gboro54 lt;gboro54@gt;
 À: rules-users@.jboss
 Envoyé: Jeudi 10 Mai 2012 19:12:28
 Objet: [rules-users] Knowledge Base and Multiple Sessions
 
 If you have multiple sessions running on different threads against the
 same
 knowledge base, is there any performance hit during evaluation? 
 
 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Knowledge-Base-and-Multiple-Sessions-tp3977702.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@.jboss
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@.jboss
 https://lists.jboss.org/mailman/listinfo/rules-users
 


--
View this message in context: 
http://drools.46999.n3.nabble.com/Knowledge-Base-and-Multiple-Sessions-tp3977702p3980427.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

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


[rules-users] StatefulKnowledge Session with BatchExecutor

2012-05-11 Thread gboro54
Is there ever a case to use the batch executor with a stateful knowledge
session? Would it be better to insert a large number of records using the
insert or is it better to insert 1 at a time?  

--
View this message in context: 
http://drools.46999.n3.nabble.com/StatefulKnowledge-Session-with-BatchExecutor-tp3980706.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Score curruption exception in drools-planner-5.4.0.CR1

2012-05-11 Thread Nurlan
Hi guys!
I have some exception and I don't know why?
My rule *someRuleId* has weight *1*
2012-05-12 03:47:08,224 [main] DEBUG Step index (570), time spend
(115566), score (0hard/0soft), initialized planning entity
(SomePlanningEntity [id=21, …]).
2012-05-12 03:47:08,465 [main] DEBUG Step index (571), time spend
(115807), score (0hard/0soft), initialized planning entity
(SomePlanningEntity [id=20, …]).
java.lang.IllegalStateException: Score corruption: the workingScore
(-4hard/0soft) is not the uncorruptedScore (0hard/0soft):
  The workingMemory has 4 ConstraintOccurrence(s) in excess:
someRuleId/NEGATIVE_HARD:[SomePlanningEntity [id=2482309, …],
SomePlanningEntity [id=54, …]]=1
someRuleId/NEGATIVE_HARD:[SomePlanningEntity [id=2482309, …],
SomePlanningEntity [id=57, …]]=1
someRuleId/NEGATIVE_HARD:[SomePlanningEntity [id=57, …],
SomePlanningEntity [id=2482309, …]]=1
someRuleId/NEGATIVE_HARD:[SomePlanningEntity [id=54, …],
SomePlanningEntity [id=2482309, …]]=1
  Check the score rules who created those ConstraintOccurrences. Verify that
each ConstraintOccurrence's causes and weight is correct.
at
org.drools.planner.core.score.director.AbstractScoreDirector.assertWorkingScore(AbstractScoreDirector.java:101)
at
org.drools.planner.core.constructionheuristic.greedyFit.decider.DefaultGreedyDecider.doMove(DefaultGreedyDecider.java:111)
at
org.drools.planner.core.constructionheuristic.greedyFit.decider.DefaultGreedyDecider.decideNextStep(DefaultGreedyDecider.java:78)
at
org.drools.planner.core.constructionheuristic.greedyFit.DefaultGreedyFitSolverPhase.solve(DefaultGreedyFitSolverPhase.java:63)
at
org.drools.planner.core.solver.DefaultSolver.runSolverPhases(DefaultSolver.java:183)
at
org.drools.planner.core.solver.DefaultSolver.solve(DefaultSolver.java:151)
…
…


--
View this message in context: 
http://drools.46999.n3.nabble.com/Score-curruption-exception-in-drools-planner-5-4-0-CR1-tp3981199.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

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