Hi again,
if you want to show the attribute name just do $param.name, there is no need
for ()
If it is a method, put a dummy parameter
Regards
Nicolas
2010/2/10 Glenn Macgregor
> Hi Nicolas,
>
> Thanks for the response. The strange thing is I do not get this error when
> I run inside the debugge
Hi Glenn,
If I remember well, calling a method with no parameter gives that error, it
is a MVEL pb.
You should try with latest trunk version where it is supposed to be fixed.
Regards
Nicolas
2010/2/10 Glenn Macgregor
> Hi Nicolas,
>
> Thanks for the response. The strange thing is I do not get th
Hi Nicolas,
Thanks for the response. The strange thing is I do not get this error when I
run inside the debugger with the same facts. This made me believe it is a
timing issue. I am using the latest stable drools - 5.0.1
Thanks
Glenn
From: rules-users-boun...@
Hi,
It says that the $param is null so $param.name() cannot be called
regards
Nicolas
2010/2/10 Glenn Macgregor
> Hi All,
>
>
>
> I have a simple CEP test case which I am working through. I am currently
> getting a NullPointerException in the Consequence and have no idea why.
>
>
>
> *Rule:
> *
Thanks for the reply, Edson.
First off, I have verified the version of Drools I am using to be 5.0.1 .
In my DRL file, the imports are as follows:
import com.company.TrxQueueIn
...
declare TrxQueueIn
@role( event )
@timestamp( releaseTime )
end
...
And in my R
Hi All,
I have a simple CEP test case which I am working through. I am currently
getting a NullPointerException in the Consequence and have no idea why.
Rule:
rule "Param Update Event Rule"
when
$pue : ParameterUpdateEvent(name == "testParam2", $param : param)
from entry-point
It is definitively possible to use events in process constraints. Your
exception, though, implies that you are using a sliding time window on a
fact type that is not declared as an event. In later versions I improved the
error handling to raise a compile time error when this is detected, but I
g
I'm not sure if I had stumped everyone, or my previous post a really dumb
thing for me to ask. If it's something where I should have read the manual,
can anyone give me a hint? Thanks!
--
View this message in context:
http://n3.nabble.com/Events-facts-in-process-constraints-tp187826p198442.htm