Red Hat Bugzilla – Bug 996056
Exception is thrown, when IsA operator is used and KieContainer.newKieSession() after KieContainer.getKieBase() is called
Last modified: 2014-08-06 16:16:05 EDT
Description of problem:
InvalidClassException is thrown, when IsA operator is used in drl file and KieContainer.newKieSession() after KieContainer.getKieBase() is called.
Version-Release number of selected component (if applicable):
Pull request #234 submited in Drools.
Steps to Reproduce:
1. Make a drl file with one rule, which uses isA operator.
2. Write a simple test. KieContainer.newKieSession() must be called after KieContainer.getKieBase() in this test.
3. Run test.
InvalidClassException is thrown.
Test should pass.
Fixed by https://github.com/droolsjbpm/drools/commit/cdbc45f88
Verified on BRMS 6.0.0.ER4.