[jboss-jira] [JBoss JIRA] (DROOLS-1442) ServiceRegistry references non existent classes

Anton Giertli (JIRA) issues at jboss.org
Wed Feb 15 05:16:00 EST 2017


Anton Giertli created DROOLS-1442:
-------------------------------------

             Summary: ServiceRegistry references non existent classes
                 Key: DROOLS-1442
                 URL: https://issues.jboss.org/browse/DROOLS-1442
             Project: Drools
          Issue Type: Bug
            Reporter: Anton Giertli
            Assignee: Mario Fusco


This code

{code:java}
        SystemEventListener listener =  SystemEventListenerFactory.getSystemEventListener();
{code}

Fails with:

Caused by: java.lang.ClassNotFoundException: org.drools.core.impl.SystemEventListenerServiceImpl

Because ServiceRegistryImpl 
https://github.com/droolsjbpm/droolsjbpm-knowledge/blob/master/kie-internal/src/main/java/org/kie/internal/utils/ServiceRegistryImpl.java#L189
references class SystemEventListenerServiceImpl which does not exist anymore in drools-core.

The interface SystemEventListenerService still exists in kie-internal but there is no implementation whatsoever in drools.

First impression is that both SystemEventListenerService + SystemEventListenerServiceImpl are "dead" code and should probably be removed.






--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list