uninitializedEntityFilter example
by chakez30
I have set my planning variable to be nullable. But using this the
constucution heuristic initializes variables to null values and i think this
is a waste of time for computing the optimal solution. From the documents
you can overwrite this using uninitializedEntityFilter. But it doesnt show
the actual UninitializedTaskFilter.class. What would be the content of this
class? Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/uninitializedEntityFilter-example-tp402...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 8 months
gives error while retracting an object
by Ganesh
Hi Team,
I am using drools-guvnor 5.4 version and designer 2.1 version,
I am calling an drools object from web service
While retracting an object I am getting
classCastException,"*java.lang.boolean cannot be cast to
org.drools.spi.activation* "
I am using session.retract(droolsobject);-Every time I got the error in this
line
This issue rise very often,
I think this issue is due to increase on load on object ,As I found this is
the reason while I search in INTERNET
Can you please tell me how to solve this
Regards
Ganesh N Neelekani
--
View this message in context: http://drools.46999.n3.nabble.com/gives-error-while-retracting-an-object-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 8 months
uninitializedEntityFilter example
by chakez30
I have set my planning variable to be nullable. But using this the
constucution heuristic initializes variables to null values and i think this
is a waste of time for computing the optimal solution. From the documents
you can overwrite this using uninitializedEntityFilter. But it doesnt show
the actual UninitializedTaskFilter.class. What would be the content of this
class? Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/uninitializedEntityFilter-example-tp402...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 8 months
uninitializedEntityFilter example
by chakez30
I have set my planning variable to be nullable. But using this the
constucution heuristic initializes variables to null values and i think this
is a waste of time for computing the optimal solution. From the documents
you can overwrite this using uninitializedEntityFilter. But it doesnt show
the actual UninitializedTaskFilter.class. What would be the content of this
class? Thanks!
--
View this message in context: http://drools.46999.n3.nabble.com/uninitializedEntityFilter-example-tp402...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 8 months
Drools memory issue
by Sateesh Hegde
Hi Team,
We are using drools 5.2 and here is the memory foot print. This is
the steady state memory after 3 days of testing. We are keeping the
fact in WM and I am fine with the memory consumption from facts.
However I am not able to understand this RightTuple of type
HashMapEntry, and it looks like a leak suspect.
Any help pointer to figure out what are these RightTuple and I also
suspect it is grwoing over a period of time, though my fact count
remain fairly constant.
Thanks and Regards
--
Sateesh Hegde
12 years, 8 months
Ignoring PatternSyntaxException in decison tables
by DOLECEK Ales
Hello,
we have provided users with option to edit some of the rules in Excel table. One of the CONDITIONs uses "matches" operator and the pattern is in the spreadsheet. Users have entered wrong regular expression which, when compiled using Pattern.compile(), throws PatternSyntaxException.
The rules defined in the Excel table are however loaded and merged into the knowledgebase without problems. At runtime during evaluation no error is thrown.
My question is: Is there a way to find out wrong regular expression on the RHS of matches operator during knowledgebase creation?
Ales
12 years, 8 months