Unfortunately I am not completely surprised... ironically, that function
signature was changed at some point to simplify the code and make it more
robust internally.
The change, however, broke the backwards compatibility with existing custom
implementations (something the users can fix) and the
Could you please show the stack trace of the exception and the rule that
causes it?
Thanks
Davide
On 02/14/2014 02:38 AM, mattmadhavan wrote:
Hello,
I am having a hard time with a custom operator. It works great in 5.2 but
not in 5.6. Do you mind sharing your email ample for 5.6 please? I
Hi Davide,
The problem occurs here at my evaluator!
Please note lines 1 and 2 and the third parameter to the evaluate function!
It has changed from *'Object' *to *'FactHandle' *from 5.4.0 to 5.6.0.
The first step return back the same factHandle object so the Casting fails
on step 2). Please
Hello,
I am having a hard time with a custom operator. It works great in 5.2 but
not in 5.6. Do you mind sharing your email ample for 5.6 please? I spent
the whole day today on this issue.
There are Any differences between a 5.2 5.6 and 6.0.x.
Your example works great for 6.0.x btw.
Will 5.6 be released in the near future?
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-java-lang-NullPointerException-when-using-a-custom-operator-tp4025287p4025372.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
This seems to be a bug in Drools, a regression introduced into 5.5.0;
it compiles in 5.[34].0
The rule uses the custom operator supersetOf, both operands are
java.util.Collection.
//Results in a null pointer exception: Error: java.lang.NullPointerException
$test2:ArrayList()
I tried to reproduce this issue on both the 6.x and on the 5.6.x branches and
it works for me
https://github.com/droolsjbpm/drools/blob/ba41255fecb48614e6ef6b67843548777a8a6193/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CustomOperatorTest.java#L177
Let me know if I am
Looks good. 5.6 is long overdue...
-W
On 05/08/2013, Mario Fusco mario.fu...@gmail.com wrote:
I tried to reproduce this issue on both the 6.x and on the 5.6.x branches
and
it works for me
Hi all,
I have been working with Drools 5.2.0 on windows xp and I have a stable
project.
I upgraded to windows 8, drools 5.5.0 and upgraded to eclipse Juno (from
Helios).
I have now encountered a strange problem with my existing drools project. I
have a accustom operator called
Stack trace for 5.5.0?
On 3 August 2013 08:58, Hezi Stern he...@delegatecom.com wrote:
Hi all,
** **
I have been working with Drools 5.2.0 on windows xp and I have a stable
project.
I upgraded to windows 8, drools 5.5.0 and upgraded to eclipse Juno (from
Helios).
** **
the error I describes in a compilation error in the IDE and not in runtime so
there is no stack trace other than the Error: java.lang.NullPointerException
error indicated in the eclipse markers tab.
If testing this in runtime can spread light on the matter i will do so (it
will take some time to
On 03/08/2013, hezis he...@delegatecom.com wrote:
If testing this in runtime can spread light on the matter i will do so (it
will take some time to get it set)
If it does or doesn't occur without Eclipse, that would mean
something, wouldn't it?
-W
12 matches
Mail list logo