[
https://issues.jboss.org/browse/DROOLS-2122?page=com.atlassian.jira.plugi...
]
Andrej Podhradsky commented on DROOLS-2122:
-------------------------------------------
The problem is probably with parsing the file META-INF/kie.conf
{code:title=drools-distribution-6.5.0.Final/binaries/drools-beliefs-6.5.0.Final.jar
META-INF/kie.conf}
[
'assemblers' : [ new org.drools.beliefs.bayes.assembler.BayesAssemblerService()
],
'weavers' : [ new org.drools.beliefs.bayes.weaver.BayesWeaverService() ],
'runtimes' : [ new org.drools.beliefs.bayes.runtime.BayesRuntimeService() ],
'beliefs' : [ ]
]
{code}
versus
{code:title=drools-distribution-7.4.1.Final/binaries/drools-beliefs-7.4.1.Final.jar
META-INF/kie.conf}
org.kie.api.internal.assembler.KieAssemblers =
+org.drools.beliefs.bayes.assembler.BayesAssemblerService
org.kie.api.internal.runtime.KieRuntimes =
+org.drools.beliefs.bayes.runtime.BayesRuntimeService
org.kie.api.internal.weaver.KieWeavers =
+org.drools.beliefs.bayes.weaver.BayesWeaverService
{code}
In the first case (Drools 6.x) the code fails on
{code:title=ServiceDiscoveryImpl [line: 157] - newInstance(ClassLoader, String)}
Class.forName( className, true, classLoader ).newInstance();
{code}
where className is "[ new org.drools.beliefs.bayes.runtime.BayesRuntimeService()
],"
Error when drl file is opened with in project with runtime classes
-------------------------------------------------------------------
Key: DROOLS-2122
URL:
https://issues.jboss.org/browse/DROOLS-2122
Project: Drools
Issue Type: Bug
Components: eclipse plugin
Affects Versions: 7.3.0.Final
Environment: DevstudioIS 11.1.0.Beta1
Brms 6.4.6.GA
Reporter: Tomas David
Assignee: Kris Verlaenen
Priority: Blocker
Fix For: 7.5.0.Final
Attachments: Screenshot from 2017-11-09 09-55-05.png, devstudiolog.log
If new drools project is created with build using Java and Drools classes, error is
displayed after drl file is opened.
This blocks also other functions like add a breakpoint or show content assist menu.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)