[jboss-jira] [JBoss JIRA] (DROOLS-2122) Error when drl file is opened with in project with runtime classes
Andrej Podhradsky (JIRA)
issues at jboss.org
Fri Nov 10 11:24:00 EST 2017
[ https://issues.jboss.org/browse/DROOLS-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488883#comment-13488883 ]
Andrej Podhradsky commented on DROOLS-2122:
-------------------------------------------
Maybe we could change the logic for getting properties from the kie.conf at
{code:title=ServiceDiscoveryImpl [line: 112] loadConfs(URL url)}
private Properties loadConfs(URL url) {
// iterate urls, then for each url split the service key and attempt to register each service
Properties props = new Properties();
try (InputStream is = url.openStream()) {
props.load( is );
log.info("Discovered kie.conf url={} ", url);
} catch (Exception exc) {
throw new RuntimeException("Unable to build kie service url = " + url.toExternalForm(), exc);
}
return props;
}
{code}
> 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)
More information about the jboss-jira
mailing list