[jboss-jira] [JBoss JIRA] (DROOLS-773) Can't load correct model class info when incrementally load kie jar

Tibor Zimányi (JIRA) issues at jboss.org
Wed Jul 11 08:16:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Zimányi closed DROOLS-773.
--------------------------------
    Resolution: Cannot Reproduce


This is probably fixed in latest versions. Closing this. 

> Can't load correct model class info when incrementally load kie jar
> -------------------------------------------------------------------
>
>                 Key: DROOLS-773
>                 URL: https://issues.jboss.org/browse/DROOLS-773
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.2.0.Final
>         Environment: drools version: 6.2.0.Final
> -bash-4.1$ java -version
> java version "1.7.0_76"
> Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
> -bash-4.1$ lsb_release -a
> LSB Version:	:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
> Distributor ID:	CentOS
> Description:	CentOS release 6.6 (Final)
> Release:	6.6
> Codename:	Final
>            Reporter: Hanbing Luo
>            Assignee: Mario Fusco
>
> Can't load correct model class info when incrementally load kie jar. New created field/method in model class can't be used in rule although rule compile successfully in kie GUI.
> I also did some investigation and looks like changed model class info is not correct in getTypeDeclarations.
> if (kiePackage instanceof InternalKnowledgePackage) {
>       InternalKnowledgePackage ikp = (InternalKnowledgePackage) kiePackage;
>       Map<String,TypeDeclaration> modelsMap = ikp.getTypeDeclarations();
> }



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list