[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3131) timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu Sep 29 03:05:40 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-3131:
----------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)


> timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument
> ---------------------------------------------------------------------------------
>
>                 Key: JBRULES-3131
>                 URL: https://issues.jboss.org/browse/JBRULES-3131
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.2.0.Final
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>             Fix For: 5.2.1.Final
>
>
> rule xxx
> timer( cron: 0/30 * * * * * )
> when
> then
> end
> Exception in thread "main" java.lang.ArrayStoreException
> 	at java.lang.System.arraycopy(Native Method)
> 	at java.util.ArrayList.toArray(ArrayList.java:306)
> 	at org.drools.compiler.PackageBuilder.getErrors(PackageBuilder.java:1274)
> 	at org.drools.builder.impl.KnowledgeBuilderImpl.getErrors(KnowledgeBuilderImpl.java:70)
> It would be a Good Thing if timer( cron: ) were documented. It deviates from UNIX crontab in at least two aspects.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list