[jboss-jira] [JBoss JIRA] Created: (JBRULES-3131) timer( cron: ...) causes ArrayStoreException with slightly erroneous (?) argument
Wolfgang Laun (JIRA)
jira-events at lists.jboss.org
Tue Jul 12 07:56:23 EDT 2011
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: Mark Proctor
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