Buggy code:
@ Component ( immediate = true ) @ Service public class HostManager extends AbstractListenerProviderRegistry < HostEvent , HostListener , HostProvider , HostProviderService > implements HostAdminService , HostProviderRegistry , HostService { private final Logger log = getLogger ( getClass ( ) ) ; public static final String HOST_ID_NULL = "Host<seq2seq4repair_space>ID<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>null" ; private final NetworkConfigListener networkConfigListener = new HostManager . InternalNetworkConfigListener ( ) ; private HostStoreDelegate delegate = new HostManager . InternalStoreDelegate ( ) ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected HostStore store ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected DeviceService deviceService ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected PacketService packetService ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected NetworkConfigService networkConfigService ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected InterfaceService interfaceService ; @ Reference ( cardinality = ReferenceCardinality . MANDATORY_UNARY ) protected EdgePortService edgePortService ; private HostMonitor monitor ; @ Activate public void activate ( ) { } @ Deactivate public void deactivate ( ) { } @ Override protected HostProviderService createProviderService ( HostProvider provider ) { } @ Override public int getHostCount ( ) { } @ Override public Iterable < Host > getHosts ( ) { } @ Override public Host getHost ( HostId hostId ) { } @ Override public Set < Host > getHostsByVlan ( VlanId vlanId ) { } @ Override public Set < Host > getHostsByMac ( MacAddress mac ) { } @ Override public Set < Host > getHostsByIp ( IpAddress ip ) { } @ Override public Set < Host > getConnectedHosts ( ConnectPoint connectPoint ) { } @ Override public Set < Host > getConnectedHosts ( DeviceId deviceId ) { } @ Override public void startMonitoringIp ( IpAddress ip ) { } @ Override public void stopMonitoringIp ( IpAddress ip ) { } @ Override public void requestMac ( IpAddress ip ) { } @ Override public void removeHost ( HostId hostId ) { } private class InternalHostProviderService extends AbstractProviderService < HostProvider > implements HostProviderService { InternalHostProviderService ( HostProvider provider ) { } @ Override public void hostDetected ( HostId hostId , HostDescription hostDescription , boolean replaceIps ) { } private HostDescription validateHost ( HostDescription hostDescription , HostId hostId ) { } @ Override public void hostVanished ( HostId hostId ) { } @ Override public void removeIpFromHost ( HostId hostId , IpAddress ipAddress ) { } } private class InternalStoreDelegate implements HostStoreDelegate { @ Override public void notify ( HostEvent event ) { } } private class InternalNetworkConfigListener implements NetworkConfigListener { @ Override public void event ( NetworkConfigEvent event ) { if ( ( ( ( event . type ( ) ) == ( Type . CONFIG_ADDED ) ) || ( ( event . type ( ) ) == ( Type . CONFIG_UPDATED ) ) ) && ( event . configClass ( ) . equals ( BasicHostConfig . class ) ) ) { <START_BUG> log . info ( "Detected<seq2seq4repair_space>Host<seq2seq4repair_space>network<seq2seq4repair_space>config<seq2seq4repair_space>event<seq2seq4repair_space>{}" , event . type ( ) ) ; <END_BUG> kickOutBadHost ( ( ( HostId ) ( event . subject ( ) ) ) ) ; } } } private void kickOutBadHost ( HostId hostId ) { } }

Fix:
log . debug ( "Detected<seq2seq4repair_space>host<seq2seq4repair_space>network<seq2seq4repair_space>config<seq2seq4repair_space>event<seq2seq4repair_space>{}" , event . type ( ) ) ;