Re: [rules-users] NPE in LeftTupleSetsImpl.removeUpdate

2014-08-27 Thread Mario Fusco
Hi David, sorry but it's impossible for us to figure out what's going wrong in your case just looking at the stack trace you sent. Have you been able to consistently reproduce this problem? If so could you open a ticket on jira and share your reproducer there? Thanks, Mario --

Re: [rules-users] All Drools examples 6.x fail on Mvel dependency error

2014-08-06 Thread Mario Fusco
? On which distribution are you trying the examples? How are you launching them? Which OS and JVM are you using? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/All-Drools-examples-6-x-fail-on-Mvel-dependency-error-tp4030576p4030586.html Sent from the Drools: User forum ma

Re: [rules-users] RightTupleList NPE with 6.1.0.Final

2014-08-05 Thread Mario Fusco
Hi Matteo, it's honestly virtually impossible to figure out what's causing that NPE just looking at that stack trace. Do you think you could be able to develop a reproducer or at least provide us a bit more information? Thanks, Mario -- View this message in context: http://drool

Re: [rules-users] DROOLS-516 - Continued Memory Leak problem Drools 6.1.0.

2014-07-25 Thread Mario Fusco
Hi, your last test case evidenced that there was something not covered by my fix of DROOLS-516. I resolved this issue with this further commit: https://github.com/droolsjbpm/drools/commit/a833097b4 Thanks a lot for having reported this and regards, Mario -- View this message in context: http

Re: [rules-users] KieContainer#updateToVersion fails when both versions of a drl file contain an event type declaration for an existing class

2014-07-22 Thread Mario Fusco
Hi Mike, I merged your test case and fixed the bug with this commit https://github.com/droolsjbpm/drools/commit/283ba1d94 Thanks a lot for having reported this problem, Mario -- View this message in context: http://drools.46999.n3.nabble.com/KieContainer-updateToVersion-fails-when-both

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Mario Fusco
starting with an underscore cannot work with the current release. Thanks again and regards, Mario -- View this message in context: http://drools.46999.n3.nabble.com/conditions-getting-removed-from-Guided-Rule-tp4030308p4030331.html Sent from the Drools: User forum mailing list archive at Nabble.com

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread Mario Fusco
Hi, This seems more a problem of the drools compiler. I'll try to reproduce it and check what happens. Just one more question: is the field public or is it accessed through a getter method in your Java class? In case you're using a getter did you named it get_id or get_Id ? Tha

Re: [rules-users] Problems compiling huge rule base with kie-maven-plugin

2014-06-18 Thread Mario Fusco
ainer could alleviate also that problem, but first I'd like to give a look at what you're doing to better understand your use case. Could you also attach a reproducer to that jira ticket? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Possible-proble

Re: [rules-users] Possible problem in PathMemory

2014-06-16 Thread Mario Fusco
Hi Jinghai, I reproduced the problem you reported and pushed a fix for it: https://github.com/droolsjbpm/drools/commit/83f80c83f Your reproducer have been very very helpful. Thanks a lot, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Possible-problem-in-PathMemory

Re: [rules-users] Possible problem in PathMemory

2014-06-13 Thread Mario Fusco
hanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Possible-problem-in-PathMemory-tp4030026p4030032.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jbos

Re: [rules-users] Memory leak when deploying to Maven repository?

2014-06-10 Thread Mario Fusco
Id) method. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-when-deploying-to-Maven-repository-tp4029950p4029955.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] 6.1.0.beta4 and identified a rule pattern inducing memory leaks

2014-06-05 Thread Mario Fusco
Hi, for sure this is not a known issue, so can you please open a jira and attach your reproducer there? I'll investigate this problem asap. Thanks a lot, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-6-1-0-beta4-and-identified-a-rule-pattern-ind

Re: [rules-users] Compilation errors in Drools examples

2014-06-04 Thread Mario Fusco
hanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Compilation-errors-in-Drools-examples-tp4027650p4029871.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-

Re: [rules-users] Compilation errors in Drools examples

2014-06-03 Thread Mario Fusco
Hi, I fixed this issue on master with this commit: https://github.com/droolsjbpm/droolsjbpm-tools/commit/6bc54748e This fix will be also backported to 6.0.x branch asap. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Compilation-errors-in-Drools-examples

Re: [rules-users] Compilation errors in Drools examples

2014-05-29 Thread Mario Fusco
Hi, I didn't receive any personal email on this issue or at least I cannot find it at the moment. Anyway sending personal emails complaining for a certain defect or missing feature isn't of course a good idea. I'll try to fix this issue asap. Thanks for having reported it, M

Re: [rules-users] Rules don't execute using MVEL syntax in RHS - Possible Bug

2014-05-15 Thread Mario Fusco
know when we decide that the fix is ok and merge it to the master. Cheers, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Rules-don-t-execute-using-MVEL-syntax-in-LHS-Possible-Bug-tp4029494p4029587.html Sent from the Drools: User forum mailing list archive at Nabbl

Re: [rules-users] Rules not picked when packaged inside the JAR

2014-05-14 Thread Mario Fusco
n our jira ( https://issues.jboss.org/browse/DROOLS ) with a small reproducer demonstrating this issue and I'll give a look asap. Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Rules-not-picked-when-packaged-inside-the-JAR-tp4029378p4029578.html Sent

Re: [rules-users] Drools 6 problem with events when using "after"

2014-05-14 Thread Mario Fusco
wse/DROOLS ) and attach a reproducer there? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-6-problem-with-events-when-using-after-tp4029555p4029577.html Sent from the Drools: User forum mailing l

Re: [rules-users] Rules don't execute using MVEL syntax in RHS - Possible Bug

2014-05-12 Thread Mario Fusco
OLS-311, but again I cannot be sure until I haven't given a run to your test case. I'll keep you updated on my findings. Thanks for having reported this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Rules-don-t-execute-using-MVEL-syntax-in-LHS-Possible-Bug-tp

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Our Jira is here: https://issues.jboss.org/browse/DROOLS Can you please open a ticket there and also attach your sample projects so I can be sure that I am reproducing your issue? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieScanner-not

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Oops, sorry Mohit (and sorry Alex). I didn't check the sender of the last email and I thought it was sent by the guy who opened this thread. However I confirm that it is not possible to create a KieContainer out of a project that doesn't contain a kmodule.xml file. Do you agree, Moh

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
ojects there so I could reproduce your actual issue. Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieScanner-not-working-tp4029446p4029460.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
ticket on our Jira and attach your samples projects there, so we can be sure that I am reproducing exactly your use case. Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieScanner-not-working-tp4029446p4029458.html Sent from the Drools: User forum

Re: [rules-users] Drools Fusion Dropping Actions to Events?

2014-04-23 Thread Mario Fusco
inserted events get correctly processed. I suggest you to try this on the 6.1.0.Beta2 version that should already contain all the fixes related to this use case. Anyway we will drop a Beta3 before the end of this week. I hope this helps, Mario @Test public void testThroughput

Re: [rules-users] Drools Fusion inconsistencies at increasing event throughputs

2014-04-03 Thread Mario Fusco
ce to test this last improvement and tell me if it works for you. Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-Fusion-inconsistencies-at-increasing-event-throughputs-tp4028947p4029112.html Sent from the Drools: User forum mailing list

Re: [rules-users] Drools Fusion inconsistencies at increasing event throughputs

2014-04-02 Thread Mario Fusco
you paste test case you're using to reproduce this problem? Thanks again, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-Fusion-inconsistencies-at-increasing-event-throughputs-tp4028947p4029093.html Sent from the Drools: User

Re: [rules-users] Drools Fusion inconsistencies at increasing event throughputs

2014-04-01 Thread Mario Fusco
. Also note that, since I fixed the way our timed rules are scheduled, just using a timer in the rule doing the accumulate as you did in your first email now works as you expected. I tested it with both cron and interval timers. Thanks again for your help, Mario -- View this message in context

Re: [rules-users] Drools Fusion inconsistencies at increasing event throughputs

2014-03-25 Thread Mario Fusco
am pasting at the end of this email, so I think that it is working as expected. Please let me know if you'll give a try at my test case and if it works correctly also for you. Also if you find any further problem feel free to send a reproducer so I could give it a try. Regards, Mario [Tue Mar 25 1

Re: [rules-users] NullPointerException with factType.get(fact, "fieldname")

2014-03-14 Thread Mario Fusco
Hi Jarkko, where does that ValidationError class come from? Is it a declared type? How can I reproduce this issue? Thanks for your help, Mario -- View this message in context: http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028735.html Sent

Re: [rules-users] Avoid parsiong project pom.xml when running Drools

2014-03-13 Thread Mario Fusco
icket in our issue tracker and then fix this problem. Thanks a lot for having reported this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Avoid-parsiong-project-pom-xml-when-running-Drools-tp4028690p4028700.html Sent from the Drools: User forum mailing

Re: [rules-users] Too agressive scanning of classes in KieModuleMetaDataImpl

2014-03-13 Thread Mario Fusco
) when it finds a malformed class as in your case. At this purpose could you please send the complete stack of the error you reported? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Too-agressive-scanning-of-classes-in-KieModuleMetaDataImpl-tp4028687p4028698

Re: [rules-users] Avoid parsiong project pom.xml when running Drools

2014-03-13 Thread Mario Fusco
maven-parent:pom:0.3 as parent. Is that correct? If so why it cannot find that parent with your configuration? Thanks for your clarifications, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Avoid-parsiong-project-pom-xml-when-running-Drools-tp4028690p4028696

Re: [rules-users] System property Maven's settings.xml don't picked up during kie-wb startup

2014-03-13 Thread Mario Fusco
Hi, I am afraid we are not taking into account mirrors defined in settings.xml file when generating the maven requests. Can you please paste your settings.xml file so I could reproduce your problem with more confidence? Thanks, Mario -- View this message in context: http://drools.46999.n3

Re: [rules-users] KieRepositoryScannerImpl missing in 6.0.0

2014-03-06 Thread Mario Fusco
, for instance you can find its 6.0.1.Final version here: http://search.maven.org/remotecontent?filepath=org/kie/kie-ci/6.0.1.Final/kie-ci-6.0.1.Final.jar Sorry for this inconvenience, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieRepositoryScannerImpl-mi

Re: [rules-users] KieRepositoryScannerImpl missing in 6.0.0

2014-03-05 Thread Mario Fusco
Wolfgang, that class is part of the kie-ci.jar. Do you have it on your classpath? Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieRepositoryScannerImpl-missing-in-6-0-0-tp4028533p4028534.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] ArrayIndexOutOfBoundsException under high events load in drools CEP

2014-02-14 Thread Mario Fusco
disallowed) to use persisted sessions with firUntilHalt. What you could do to workaround this further limitation is keeping the WorkingMemoryEventListener and invoke fireAllRules in its callbacks. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com

Re: [rules-users] "Cannot find KieModule" with kieServices.newKieContainer() with LATEST or RELEASE instead of explicit version number (eg: 0.0.1)

2014-01-31 Thread Mario Fusco
/alternative/settings.xml drools6testmvnlatest.thestandaloneengine-jar-with-dependencies.jar RELEASE I hope this helps, but if I am missing some important detail and you still think the issue you reported could be somewhat related with Drools please let me know. Thanks, Mario -- View this message in

Re: [rules-users] Null Pointer Exception with 10K+ kBase objects

2014-01-28 Thread Mario Fusco
I downloaded your zip file and reproduced the problem you reported (even on master branch). I'll start investigating it in a bit and I'll keep you updated with my findings. Thank you, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Null-Pointer-Exceptio

Re: [rules-users] stuck! Unknown accessor type: org.mvel2.optimizers.impl.refl.collection.ArrayCreator@690c2a7a

2014-01-23 Thread Mario Fusco
vel of org.drools.core.rule.constraint.MvelConstraint to error). brachi wrote > 2. when and where will it be released? can it be fixed on 5.5 or 5.6? I still don't know if we will drop a 5.6.1 release, but I don't think so. Very likely this fix will be available only on 6.x Mario -- V

Re: [rules-users] java dialect and declared types

2014-01-23 Thread Mario Fusco
tml Nevertheless it is very possible that your claim is perfectly valid for your test case, so I'd like to discover under which circumstances 5.5. is actually faster than 6 and check if we can improve also in those cases. Thanks, Mario -- View this message in context: http://drools.46999.n

Re: [rules-users] stuck! Unknown accessor type: org.mvel2.optimizers.impl.refl.collection.ArrayCreator@690c2a7a

2014-01-23 Thread Mario Fusco
I just fixed this issue on master with this commit: https://github.com/droolsjbpm/drools/commit/fb7c8858f Thank you for having reported it, Mario -- View this message in context: http://drools.46999.n3.nabble.com/stuck-Unknown-accessor-type-org-mvel2-optimizers-impl-refl-collection

Re: [rules-users] stuck! Unknown accessor type: org.mvel2.optimizers.impl.refl.collection.ArrayCreator@690c2a7a

2014-01-23 Thread Mario Fusco
rewrite the constraint just as: Operators.contains(LoanProgramName, "2008 Temporary Loan Limits") and I just checked that doing so will also allow drools to correctly compile it. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com/stuck-Unknow

Re: [rules-users] kie-wb 6.0.0 tomcat7: Error uploading maven jar that is part of a multi-module maven project

2013-12-18 Thread Mario Fusco
aster/kie-ci ) automatically allows drools to use the native maven pom parser that should support your use case. To cut it short adding this to your dependencies should resolve your problem. org.kie kie-ci I hope this helps, Mario -- View this message in context: http://drools.469

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mario Fusco
kie.maven.settings.custom system property. In other words you can point at any xml file in your file system by starting the JVM with a flag like -Dkie.maven.settings.custom=/home/myuser/myfolder/mysettings.xml I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com

Re: [rules-users] InstantiationError during condition evaluation in Drools 6.0.0.Final

2013-12-10 Thread Mario Fusco
Thanks a lot for your reproduced. I just fixed that problem. Cheers, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-InstantiationError-during-condition-evaluation-in-Drools-6-0-0-Final-tp4027161p4027190.html Sent from the Drools: User forum mailing list

Re: [rules-users] Drool 6.0.0.Final, 2 question re kie-maven-plugin, please?

2013-12-09 Thread Mario Fusco
https://github.com/droolsjbpm/drools/commit/b8a952e88 ). Thanks a lot for having reported this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drool-6-0-0-Final-2-question-re-kie-maven-plugin-please-tp4027117p4027174.html Sent from the Drools: User forum mailing

Re: [rules-users] InstantiationError during condition evaluation in Drools 6.0.0.Final

2013-12-09 Thread Mario Fusco
ld be very helpful if you could send a reproducer (possibly opening a ticket on jira and attaching your reproducer there). Thanks a lot for your help, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-InstantiationError-during-condition-evaluation-in-Drools-6

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Mario Fusco
the final release. It will be part of the next minor release, but of course in order to use this you will have to increase the version number of your project before to deploy the new kjar. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com/KIE-Inter

Re: [rules-users] Drools Perm gen grows constantly

2013-11-18 Thread Mario Fusco
e case. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Perm-gen-grows-constantly-tp4026673p4026810.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing l

Re: [rules-users] Out of Mem and thousand threads : Disabling JIT ?

2013-11-12 Thread Mario Fusco
m and check how I could prevent this. Thank you for having reported it, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Out-of-Mem-and-thousand-threads-Disabling-JIT-tp4026694p4026744.html Sent from the Drools: User forum mailing list archiv

Re: [rules-users] Why disable properyreactive if amount of properties larger than or equals to 64

2013-10-15 Thread Mario Fusco
? If not I strongly advice to avoid it if possible. Can you try to remove it from the configuration and check if this fixes your problem? Mario -- View this message in context: http://drools.46999.n3.nabble.com/Why-disable-properyreactive-if-amount-of-properties-larger-than-or-equals-to-64-tp40263

Re: [rules-users] Why disable properyreactive if amount of properties larger than or equals to 64

2013-10-14 Thread Mario Fusco
fields and, if this is the case, why you think this could be a need more common than we expected. Thanks a lot for your feedback, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Why-disable-properyreactive-if-amount-of-properties-larger-than-or-equals-to-64-tp4026359p40

Re: [rules-users] Drools Multi level map access(Drools 5.5)

2013-10-07 Thread Mario Fusco
Hi, due to generic erasure we cannot figure out that the outer map contains a second map as value. That's why you have to explicitly downcast the value returned by the first map. For instance this should work: ((Map) field[ "parentKey" ])[ "childKey" ] I hope this hel

[rules-users] Finalizing Drools 5.6

2013-10-01 Thread Mario Fusco
waiting to be discovered and resolved. Thanks for you help, Mario ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] RightTupleIndexHashTable

2013-08-06 Thread Mario Fusco
being evaluated in interpreted mode. However interpreted constraints are slower than compiled ones, so it could be interesting to figure out why this is happening in your case. Do you have a test case that could allow me to reproduce this problem? Regards, Mario -- View this message in context:

Re: [rules-users] java.lang.NullPointerException when using a custom operator

2013-08-05 Thread Mario Fusco
missing something, otherwise I will assume that the reported problem has been already fixed. Cheers, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-java-lang-NullPointerException-when-using-a-custom-operator-tp4025287p4025335.html Sent from the Drools: User

Re: [rules-users] Drools Dzone Refcard

2013-07-25 Thread Mario Fusco
I am not sure if you can republish it somewhere else but I don't think so. You could just link it from your blog if you want. I will ask to the Dzone guy I am in touch with if it can be published in a blog, but I am quite skeptical about it. Mario -- View this message in context:

[rules-users] Drools Dzone Refcard

2013-07-25 Thread Mario Fusco
Hi all, Marcin Grzejszczak and myself wrote a Dzone Refcard covering Drools 5.5 that is now available for download here: http://refcardz.dzone.com/refcardz/drools We hope this could be useful both as a starting guide for beginners and as cheat sheet for more experienced users. Cheers, Mario

Re: [rules-users] Unable to initialize KieBase from Windows file system

2013-06-25 Thread Mario Fusco
Hi Daniel, thanks for having reported this ... as you can imagine we don't have many Windows machines here :) Anyway I just fixed this issue and the fix will be available starting from the 6.0-Beta4 version that will be released during this week. Thanks again and regards, Mario -- View

Re: [rules-users] ClassCastException after migrating from Drools 4.x to v5.5

2013-02-19 Thread Mario Fusco
ismaximum wrote > Just to let you know that I've raised an issue: > https://issues.jboss.org/browse/DROOLS-44 I just fixed this issue. Thanks for having reported it, Mario -- View this message in context: http://drools.46999.n3.nabble.com/ClassCastException-after-migrating-from

Re: [rules-users] [rules-dev] [Bug] 5.5.0 Correctly compiled DRL runs into run time error: "incompatible types"

2013-02-18 Thread Mario Fusco
Hi Wolfgang, thanks for having reported this. I fixed it in mvel and as usual the fix will be available with the next mvel release. Cheers, Mario On Sun, Feb 17, 2013 at 5:32 PM, Wolfgang Laun wrote: > Below is a fully self-contained DRL that compiles correctly but runs > into a runtime

Re: [rules-users] [rules-dev] [Bug] cannot invoke method: asList

2013-01-22 Thread Mario Fusco
Wolfgang, in the end I found that this issue and the one you reported last week were not related. Anyway I fixed both, but as usual the fixes will be available when I'll deploy the next mvel release. Thanks again for your help, Mario On Tue, Jan 22, 2013 at 12:24 PM, Wolfgang Laun

Re: [rules-users] [rules-dev] [Bug] cannot invoke method: asList

2013-01-22 Thread Mario Fusco
I am starting working to the similar (mvel?) bug you reported last week just now. Hopefully the fix will solve even this further problem, anyway I will add it to our test suite. Mario On Tue, Jan 22, 2013 at 12:24 PM, Wolfgang Laun wrote: > Below is a self-contained DRL which, when run w

Re: [rules-users] [rules-dev] [BAD Bug] incorrect evaluation of LHS using Integer/Number intValue

2013-01-21 Thread Mario Fusco
I just fixed this bug on the master and backported it on the 5.5.x branch. Wolfgang, thanks again for your help. Mario On Sun, Jan 20, 2013 at 9:23 AM, Wolfgang Laun wrote: > Below is another couple of test cases, showing that the problem is not due > a getter that isn't called ge

Re: [rules-users] rule validates in guvnor but errors when running

2013-01-18 Thread Mario Fusco
The NoSuchMethodError makes me think that you're using the wrong mvel version. The correct one is 2.1.3.Final. Can you check if you're running with that one? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rule-validates-in-guvnor-but-errors-wh

Re: [rules-users] Exception executing consequence for rule xxx in yyy: java.lang.RuntimeException: unable to access field

2013-01-17 Thread Mario Fusco
Thank you Wolfgang, your bug report is crystal clear as usual ;) I'll try to reproduce and fix this asap. Mario On Thu, Jan 17, 2013 at 7:29 AM, Wolfgang Laun wrote: > The error occurs when the following rule fires ;-) > > rule "error occurs" >$fact1: Fact(

Re: [rules-users] JITting error with 5.5.0.CR1

2012-11-09 Thread Mario Fusco
e bug. Thanks a lot, Mario -- View this message in context: http://drools.46999.n3.nabble.com/JITting-error-with-5-5-0-CR1-tp4020565p4020770.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-

Re: [rules-users] Protobuf Marshaller Question (ScheduledActivation Persistence)

2012-10-11 Thread Mario Fusco
detail is not documented at all and I have to admit I also discovered it while debugging the use case you sent. I am going to both add this configuration option to the public API and to document it. Thanks for having reported this. Mario --- from the jira ticket The marshalling/unmarshalling of

Re: [rules-users] rule infinitely loops, appears to be depending on naming on variable

2012-10-08 Thread Mario Fusco
like to have a performance loss (together with an higher memory occupation) for something that I still consider an extreme edge case. So what I will do in the short term will be to just disable the property reactive feature for types with more than 64 fields and emit a compilation warning when this

Re: [rules-users] Does JIT give me a hard time?

2012-09-28 Thread Mario Fusco
This is a known issue and it has been already fixed in both 5.4.x and 5.5.x branches, so the fix will be available in both the upcoming 5.4.1 and 5.5.0 releases. Thank you for having pointed this out and sorry for the inconvenience. Mario -- View this message in context: http://drools.46999

Re: [rules-users] how is Integer converted when comparing with primitive?

2012-09-27 Thread Mario Fusco
laune wrote > I'd suggest you just fix the parser so it doesn't accept this and > diagnoses an error. I'll make it so, Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975p4020017.html Sent from the Drools:

Re: [rules-users] how is Integer converted when comparing with primitive?

2012-09-27 Thread Mario Fusco
oid that the rule fires is to write a pattern like: Cont( 11 < val < 10 ) Moreover I cannot find any doc stating that we are supporting that format of constraints, neither any test in our code base using them. Can you confirm that this constraint format should be supported by Drools? If so I w

Re: [rules-users] how is Integer converted when comparing with primitive?

2012-09-27 Thread Mario Fusco
avoid to give a semantic meaning to a number set to null. Thanks for having reported that. Mario -- View this message in context: http://drools.46999.n3.nabble.com/how-is-Integer-converted-when-comparing-with-primitive-tp4019975p4019989.html Sent from the Drools: User forum ma

Re: [rules-users] java.lang.ClassCastException: java.lang.Boolean - Drools 5.4

2012-09-25 Thread Mario Fusco
This is a known issue of Drools 5.4: https://issues.jboss.org/browse/JBRULES-3590 As you can read from the ticket, this bug has been already fixed and the fix will be available in the upcoming 5.5 release. Mario -- View this message in context: http://drools.46999.n3.nabble.com/java-lang

Re: [rules-users] Issue with From Clause - Class Cast Error

2012-09-20 Thread Mario Fusco
code and that could also explain why you wrote that removing (I'd say one of the two) addKnowledgePackages() fixes your problem. The bottom line is that the ClassCastException is still there (both on the master and the 5.4.x branches) and I am working just now to fix it. Thanks for havin

Re: [rules-users] exception jitting problem

2012-09-18 Thread Mario Fusco
getMonthlySalary() method returning an int as I suggested above). Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/exception-jitting-problem-tp4019763p4019827.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] exception jitting problem

2012-09-14 Thread Mario Fusco
ty, why do you create the new Integer there instead of just doing: CMVNewLoanBean( getCustomer().getLatestEmployer().monthlySalary < 1251) Thanks for reporting this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/exception-jitting-

Re: [rules-users] Drools 5.4 DSLR Stack Overflow

2012-07-09 Thread Mario Fusco
ommit/caf0d24f53f263e06af17ffcb2f7240cc2d38431 The fix will be available with the 5.4.1, but I am pretty sure that updating your JVM (unless you are not on Solaris too) will work for you. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-DSLR-Stack-Overflow-tp4018553p4018554.html

Re: [rules-users] Migrating from 4.0.7 to 5.4.0.Final

2012-07-05 Thread Mario Fusco
e and recompile also the droolsjbpm-knowledge project ( https://github.com/droolsjbpm/droolsjbpm-knowledge/tree/5.4.x ) since the class defining this now option is there. If you try it let me know how it works for you. Thanks for your precious suggestions and help, Mario -- View this message in co

Re: [rules-users] Migrating from 4.0.7 to 5.4.0.Final

2012-07-04 Thread Mario Fusco
nt defines after how many times a constraint can be evaluated in interpreted mode before to get JITted, so if you set it to a very high value (e.g. Integer.MAX_VALUE) you should be able to completely avoid any JITting. Let me know if this works. I hope this helps, Mario -- View this message in con

Re: [rules-users] Migrating from 4.0.7 to 5.4.0.Final

2012-07-04 Thread Mario Fusco
een performances and memory occupation in this way. Does this make sense to you? Mario -- View this message in context: http://drools.46999.n3.nabble.com/Migrating-from-4-0-7-to-5-4-0-Final-tp4018215p4018465.html Sent from the Drools: User forum mailing list a

Re: [rules-users] Possibly Broken drools-core-5.4.0.Final.jar?

2012-07-04 Thread Mario Fusco
I just fixed the bugs you reported on the master repository and backported the fix to the 5.4.x branch. Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Possibly-Broken-drools-core-5-4-0-Final-jar-tp4018364p4018464.html Sent from the Drools: User forum

Re: [rules-users] Possibly Broken drools-core-5.4.0.Final.jar?

2012-07-03 Thread Mario Fusco
ouble in order of being sure that you won't have null values on it ... even because I couldn't say if 0.0/null is less or greater than 0.7 ;) Thanks for reporting this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Possibly-Broken-drools-core-5-4-0

Re: [rules-users] Migrating from 4.0.7 to 5.4.0.Final

2012-07-03 Thread Mario Fusco
ty to build Drools from the sources but if so it could be great if you could give a try to this fix. Nevertheless it is still a fact that Drools 5.4 requires more PermGen space, for the reasons that both Mark and myself explained in our former emails. I hope this helps, Mario -- View this messa

Re: [rules-users] Migrating from 4.0.7 to 5.4.0.Final

2012-07-03 Thread Mario Fusco
been evaluated a give amount of times (currently 20), we JIT that constraint via ASM. Of course the trade-off for this is that Drools now requires more PermGen space, so my advice is to enlarge it when possible. Any suggestion to improve this is welcome. Mario -- View this message in context:

Re: [rules-users] @PropertyReactive optimizations broken when using 'this' keyword

2012-06-06 Thread Mario Fusco
ly all the edge cases like this. Regards, Mario -- View this message in context: http://drools.46999.n3.nabble.com/PropertyReactive-optimizations-broken-when-using-this-keyword-tp4017766p4017773.html Sent from the Drools: User forum mailing list archiv

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Mario Fusco
7;s going wrong. Can you send me the source code of one of your evaluators, the conf file defining it and a DRL with a rule using it? It will be even better if you could open a Jira ticket, assign it to me and attach the failing example I am asking there. Thanks a lot, Mario -- View this messa

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Mario Fusco
o put that conf file in a folder named META_INF in your classpath. I hope this helps, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
worse than the former one I suggested, since it is a bit more concise but probably also less readable. Thanks again for reporting this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999537.html Sent from the Drools: User forum mailing

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
Ok, I've been able to reproduce your issue. I'll fix it asap and keep you updated on how I am progressing. The only (ugly) workaround I could find at the moment is to replace feeKeys[1] with feeKeys[new Integer(1)]. Let me know if it works for you. Mario -- View this message

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
is why you see it happens in different thread. I will try to reproduce the issue you found just now. Thank you for reporting this. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999347.html Sent from the Drools: User forum mailing

Re: [rules-users] Drools crash on simple drl

2012-04-18 Thread Mario Fusco
I opened a ticket on our issue tracking: https://issues.jboss.org/browse/JBRULES-3468 I also just finished to fix the problem. The fix will be available on the upcoming 5.3.2 release. Thanks again, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-crash

Re: [rules-users] Drools crash on simple drl

2012-04-18 Thread Mario Fusco
this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-crash-on-simple-drl-tp3917629p3919234.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-

Re: [rules-users] Runtime jitting exception while inserting facts

2012-04-12 Thread Mario Fusco
rated the problem (metricclass == "PROCESSOR" in your case), and the Java bean or declared type related to the constraint itself. Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Runtime-jitting-exception-while-inserting-facts-tp3903386p3904671.htm

Re: [rules-users] Runtime jitting exception while inserting facts

2012-04-11 Thread Mario Fusco
th the CR1 and see if you still have that problem? If so can you send a small test case to allow me to reproduce it too? Thanks again, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Runtime-jitting-exception-while-inserting-facts-tp3903386p3903436.html Sen

Re: [rules-users] mvel strict-mode not applied in drools 5.3.1.Final

2012-04-05 Thread Mario Fusco
issue just now. Mario -- View this message in context: http://drools.46999.n3.nabble.com/mvel-strict-mode-not-applied-in-drools-5-3-1-Final-tp3883669p3886674.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users ma

Re: [rules-users] [rules-dev] Contributing to Drools?

2012-02-03 Thread Mario Fusco
That sounds a great idea. I don't come to London since too much time now, so I'd finally have a very good reason to come :) I am also looking forward to meet the other guys of the Drools team in person. Mario On Fri, Feb 3, 2012 at 12:48 PM, Mauricio Salatino wrote: > Count with me

Re: [rules-users] Error in MVEL execution (optimization?)

2012-01-05 Thread Mario Fusco
that this new implementation doesn't suffer of this issue and it will be available in Drools 5.4. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Error-in-MVEL-execution-optimization-tp3633440p3635557.html Sent from the Drools: User forum mailing list archive at Nabbl

Re: [rules-users] [rules-dev] class loading problems with 5.3.0-Final and 5.4.0-SNAPSHOT

2011-11-15 Thread Mario Fusco
it. Anyway if you send a bit more info on how to reproduce this issue (I don't know WSO2 at all) I could try to figure out what is going wrong. Mario On Tue, Nov 15, 2011 at 6:40 PM, Mauricio Salatino wrote: > Interesting, > If I run the same code with the 5.4.0-SNAPSHOT patche

Re: [rules-users] [rules-dev] class loading problems with 5.3.0-Final and 5.4.0-SNAPSHOT

2011-11-15 Thread Mario Fusco
going on. So it will be great if you could send be some more details to help me to figure out what's wrong. I hope this helps, Mario On Tue, Nov 15, 2011 at 4:14 PM, Mauricio Salatino wrote: > Hi guys, > I'm working here trying to find out a little problem that I'm having wi

  1   2   >