]
Mark Proctor reassigned JBRULES-2970:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
EmptyStackException due to typo "rom entry-point"
-------------------------------------------------
Key: JBRULES-2970
URL:
https://issues.jboss.org/browse/JBRULES-2970
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 5.2.0.M2
Reporter: Wolfgang Laun
Assignee: Edson Tirelli
Fix For: 5.2.0.CR1
Note the 'f' missing from "from"
rule addToken
when
$s: Sale( discount == null ) rom entry-point "cash"
then
end
[5,37]: [ERR 102] Line 5:37 mismatched input 'entry' in rule
"addToken"
[0,0]: Line 13:0 unexpected exception at input 'function'. Exception:
java.util.EmptyStackException. Stack trace:
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:102)
at java.util.Stack.pop(Stack.java:84)
at org.drools.lang.ParserHelper.popParaphrases(ParserHelper.java:409)
at org.drools.lang.ParserHelper.end(ParserHelper.java:723)
at org.drools.lang.DRLParser.function(DRLParser.java:621)
at org.drools.lang.DRLParser.statement(DRLParser.java:254)
at org.drools.lang.DRLParser.compilationUnit(DRLParser.java:143)
at org.drools.compiler.DrlParser.compile(DrlParser.java:225)
at org.drools.compiler.DrlParser.parse(DrlParser.java:136)
at org.drools.compiler.DrlParser.parse(DrlParser.java:141)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:292)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:471)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
at rss.drools.setup.Application.setup(Application.java:47)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: