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 <[email protected]> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to