]
Mark Proctor resolved JBRULES-2778.
-----------------------------------
Resolution: Duplicate Issue
closing this as a duplicate of JBRULES-2888
Rule with timer( int: 1m 1m ( causes ArrayStoreException in
PackageBuilder
--------------------------------------------------------------------------
Key: JBRULES-2778
URL:
https://issues.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.CR1
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.
For more information on JIRA, see: