]
RH Bugzilla Integration commented on DROOLS-718:
------------------------------------------------
Tibor Zimanyi <tzimanyi(a)redhat.com> changed the Status of [bug
Reloading KJAR which contains DSL and RDSLR via KieScanner fails.
-----------------------------------------------------------------
Key: DROOLS-718
URL:
https://issues.jboss.org/browse/DROOLS-718
Project: Drools
Issue Type: Bug
Affects Versions: 6.2.0.CR4
Environment: Mac OS X 10.10.2, Oracle HotSpot 1.7.0_71
Reporter: Duncan Doyle
Assignee: Mario Fusco
When using the KieScanner to reload a KJAR with a DSL and RDSLR, reloading fails due to
that the compiler is unable to find mappings for the language in the RDSLR.
This is the error I get in my reproducer:
2015-02-18 00:45:02,764 [ERROR] [main]
[org.drools.compiler.kie.builder.impl.KieContainerImpl] ERROR Unable to update KieBase:
KBase1 to release org.kie:scanner-test:1.0-SNAPSHOT
[7] No mapping entries for expanding: There is a SimpleFact
[7] Unable to expand: There is a SimpleFact
[8] No mapping entries for expanding: -with id "2"
[8] Unable to expand: -with id "2"
[10] No mapping entries for expanding: Print "Found a simple fact with id 2."
[10] Unable to expand: Print "Found a simple fact with id 2."
[7,7]: [ERR 102] Line 7:7 mismatched input 'is' in rule "bla"
Reproducer project can be found here:
https://github.com/DuncanDoyle/brms-kjar-with-dsl-kiescanner
Just clone the repo and run 'mvn clean test'.
Note that the reproducer creates the first KJAR, runs test, and then creates the second
KJAR. Compilation of the second KJAR fails. When you alter the test to only load the
second KJAR, everything works fine.