Duncan Doyle created DROOLS-320:
-----------------------------------
Summary: Drools plugin Rete Tree viewer does not work with timer and ||
operator.
Key: DROOLS-320
URL:
https://issues.jboss.org/browse/DROOLS-320
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.CR5
Environment: Mac OS-X 10.9, JBoss Developer Studio 7, Oracle Hotspot 1.7.0_45,
Drools-jBPM Eclipse plugin 6.0.0.CR5
Reporter: Duncan Doyle
Assignee: Mark Proctor
See this example project:
https://github.com/DuncanDoyle/DroolsReteViewer , which is based
on the Drools Eclipse sample project.
The 'src/main/resources/rules/Sample.drl' is a valid DRL file, but it cannot be
opened in the Rete Tree because of:
- the 'timer (int: 10s)' definition in rule "GoodBye-Timer". This gives
the error:
Rete Tree Build Error!
Reason:
org.drools.core.RuntimeDroolsException:
java.lang.reflect.InvocationTargetException: [Rete(0)]
- the '||' operator in the rule "Hello World-Or". This gives the error:
Rete Tree Build Error!
Reason:
java.lang.NullPointerException: null
This forces us to change our rule definition files to be able to inspect the Rete Tree
(which we require to analyse the tree for possible optimizations).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira