[rules-users] session deserialization slidingTimeWindow NPE
Alexander Wolf
mail at alexander-wolf.net
Thu Oct 17 04:57:58 EDT 2013
Wohoo... I finally tried 5.5.6 =(
1. Comments with # do not work anymore, only // works
2. Problem with CRON Timer
10:50:50.827 [main] WARN o.d.t.impl.DefaultTimerJobInstance - Unable to execute timer job!
org.drools.runtime.rule.ConsequenceException: Exception executing consequence for rule "set environment night" in packageName: java.lang.ClassCastException: org.drools.time.impl.DefaultJobHandle cannot be cast to org.drools.time.impl.JDKTimerService$JDKJobHandle
at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39) ~[drools-core-5.6.0-SNAPSHOT.jar:5.6.0-SNAPSHOT]
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1291) ~[drools-core-5.6.0-SNAPSHOT.jar:5.6.0-SNAPSHOT]
[...]
I could fix the first problem by replacing all comments, but the second gives me headache - bug in 5.6.0 ? The rule looks like this:
rule "set environment night"
no-loop
timer (cron:0 30 20 1/1 * ? *)
when
$env : Environment ( )
then
modify ( $env ) { state = EnvironmentState.NIGHT }
end
-> No Idea if my previous problems still exists....must first get 5.6.0 to work with my rules at all...
- A
On 17.10.2013, at 10:10, Davide Sottara <dsotty at gmail.com> wrote:
> Which version are you using?
> Could you try 5.6.0-SNAPSHOT?
> Thanks
> Davide
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/rules-users-session-deserialization-slidingTimeWindow-NPE-tp4026400p4026403.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20131017/65ff4cfb/attachment.bin
More information about the rules-users
mailing list