Rule with timer( int: 1m 1m ( causes ArrayStoreException in PackageBuilder
--------------------------------------------------------------------------
Key: JBRULES-2778
URL:
https://jira.jboss.org/browse/JBRULES-2778
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.1.1.FINAL
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.0.M1
A single rule in a DRL file:
rule "minute ticker"
timer( int: 1m 1m )
when
then
System.out.println( "Tick" );
end
causes
xception in thread "main" java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at java.util.ArrayList.toArray(ArrayList.java:328)
at org.drools.compiler.PackageBuilder.getErrors(PackageBuilder.java:1274)
at org.drools.builder.impl.KnowledgeBuilderImpl.getErrors(KnowledgeBuilderImpl.java:70)
at event.Main.compilePackage(Main.java:72)
at event.Main.main(Main.java:219)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira