[jboss-jira] [JBoss JIRA] (DROOLS-1761) If the drools-core or drools-compiler jar is missing in the runtime classpath, the error message should mention that
Geoffrey De Smet (JIRA)
issues at jboss.org
Fri Oct 13 07:47:00 EDT 2017
Geoffrey De Smet created DROOLS-1761:
----------------------------------------
Summary: If the drools-core or drools-compiler jar is missing in the runtime classpath, the error message should mention that
Key: DROOLS-1761
URL: https://issues.jboss.org/browse/DROOLS-1761
Project: Drools
Issue Type: Enhancement
Reporter: Geoffrey De Smet
Assignee: Edson Tirelli
Instead of doing these behaviors:
- Exception "Child services have no parent"
{code}
Caused by: java.lang.RuntimeException: Child services [org.kie.api.internal.assembler.KieAssemblers] have no parent
at org.kie.api.internal.utils.ServiceDiscoveryImpl.buildMap(ServiceDiscoveryImpl.java:186)
{code}
-- https://stackoverflow.com/questions/46690139/exception-child-services-have-no-parent-when-starting-optaplanner-application?noredirect=1#comment80374406_46690139
- Return of null
{code}
Exception in thread "main" java.lang.NullPointerException: null
at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildDroolsScoreDirectorFactory(ScoreDirectorFactoryConfig.java:461)
{code}
-- https://stackoverflow.com/questions/46349199/optaplanner-nullpointerexception-scoredirectorfactoryconfig-when-packaged-as-jar
-- https://stackoverflow.com/questions/46199392/optaplanner-nullpointerexception-when-creating-jar-file
Instead of that, the kie-api code should have an error message that gives the user a clue that the drools-core.jar (etc) isn't in the classpath.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list