]
Geoffrey De Smet updated DROOLS-1039:
-------------------------------------
Affects Version/s: 6.4.0.Beta1
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
Affects Versions: 6.4.0.Beta1
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
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.