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 wa
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 not
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
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.
Thanks
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.
_
Looks good. 5.6 is long overdue...
-W
On 05/08/2013, Mario Fusco wrote:
> 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/dro
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 miss
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()
On 03/08/2013, hezis 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
___
rules-users mailin
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 ge
Stack trace for 5.5.0?
On 3 August 2013 08:58, Hezi Stern 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).
>
> ** **
>
> I have
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 superseto
12 matches
Mail list logo