[jboss-jira] [JBoss JIRA] (JBRULES-3131) timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument
Mario Fusco (Resolved) (JIRA)
jira-events at lists.jboss.org
Fri Oct 7 09:02:17 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3131.
----------------------------------
Resolution: Done
> 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: Mario Fusco
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list