[jboss-jira] [JBoss JIRA] (DROOLS-1039) An invalid kie.conf should throw an exception and not be silently ignored
Geoffrey De Smet (JIRA)
issues at jboss.org
Fri Jan 22 08:33:00 EST 2016
Geoffrey De Smet created DROOLS-1039:
----------------------------------------
Summary: An invalid kie.conf should throw an exception and not be silently ignored
Key: DROOLS-1039
URL: https://issues.jboss.org/browse/DROOLS-1039
Project: Drools
Issue Type: Enhancement
Reporter: Geoffrey De Smet
Assignee: Mark Proctor
In drools-belief or optaplanner-core, change the META-INF/kie.conf file like this:
{code}
[
'assemblers' : [ new org.foo.ThisDoesNotExists() ],
'weavers' : [],
'runtimes' : [],
'beliefs' : []
]
{code}
Current behavior: it doesn't throw any exception, but of course later on things go haywire at some point with a completely unrelated error message.
Expected Behavior: Fail fast and let me know that org.foo.ThisDoesNotExists does not exist and that my kie.conf is in error.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list