Bug 996056 - Exception is thrown, when IsA operator is used and KieContainer.newKieSession() after KieContainer.getKieBase() is called
Summary: Exception is thrown, when IsA operator is used and KieContainer.newKieSession...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER4
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-12 10:41 UTC by Tomas David
Modified: 2014-08-06 20:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas David 2013-08-12 10:41:36 UTC
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):
Drools 6.0.0-SNAPSHOT
Drools 6.0.0.CR1

How reproducible:
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.

Actual results:
InvalidClassException is thrown.

Expected results:
Test should pass.

Additional info:

Comment 2 Mario Fusco 2013-08-22 15:19:10 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/cdbc45f88

Comment 6 Tomas David 2013-10-14 07:14:22 UTC
Verified on BRMS 6.0.0.ER4.


Note You need to log in before you can comment on or make changes to this bug.