Buggy code:
public class EndpointDescriptionReader implements IEndpointDescriptionReader { public EndpointDescription [ ] readEndpointDescriptions ( InputStream input ) throws IOException { EndpointDescriptionParser parser = new EndpointDescriptionParser ( ) ; parser . parse ( input ) ; List < EndpointDescriptionParser . EndpointDescription > parsedDescriptions = parser . getEndpointDescriptions ( ) ; List < EndpointDescription > results = new ArrayList < EndpointDescription > ( ) ; for ( EndpointDescriptionParser . EndpointDescription ed : parsedDescriptions ) { Map parsedProperties = ed . getProperties ( ) ; EndpointDescription result = null ; try { List < String > objectClasses = PropertiesUtil . getStringPlusProperty ( parsedProperties , Constants . OBJECTCLASS ) ; if ( ( objectClasses == null ) || ( ( objectClasses . size ( ) ) == 0 ) ) throw new EndpointDescriptionParseException ( ( ( Constants . OBJECTCLASS ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>set<seq2seq4repair_space>in<seq2seq4repair_space>endpoint<seq2seq4repair_space>description.<seq2seq4repair_space>It<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set<seq2seq4repair_space>to<seq2seq4repair_space>String+<seq2seq4repair_space>value" ) ) ; parsedProperties . put ( Constants . OBJECTCLASS , ( ( String [ ] ) ( objectClasses . toArray ( new String [ objectClasses . size ( ) ] ) ) ) ) ; String endpointId = PropertiesUtil . getStringWithDefault ( parsedProperties , ENDPOINT_ID , null ) ; if ( endpointId == null ) throw new EndpointDescriptionParseException ( ( ( RemoteConstants . ENDPOINT_ID ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>set<seq2seq4repair_space>in<seq2seq4repair_space>endpoint<seq2seq4repair_space>description.<seq2seq4repair_space>It<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set<seq2seq4repair_space>to<seq2seq4repair_space>String<seq2seq4repair_space>value" ) ) ; parsedProperties . put ( ENDPOINT_ID , endpointId ) ; Long endpointServiceId = PropertiesUtil . getLongWithDefault ( parsedProperties , ENDPOINT_SERVICE_ID , new Long ( 0 ) ) ; parsedProperties . put ( ENDPOINT_SERVICE_ID , endpointServiceId ) ; List < String > configurationTypes = PropertiesUtil . getStringPlusProperty ( parsedProperties , SERVICE_IMPORTED_CONFIGS ) ; if ( ( configurationTypes == null ) || ( ( configurationTypes . size ( ) ) == 0 ) ) throw new EndpointDescriptionParseException ( ( ( RemoteConstants . SERVICE_IMPORTED_CONFIGS ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>set<seq2seq4repair_space>in<seq2seq4repair_space>endpoint<seq2seq4repair_space>description.<seq2seq4repair_space>It<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set<seq2seq4repair_space>to<seq2seq4repair_space>String+<seq2seq4repair_space>value)" ) ) ; result = new EndpointDescription ( parsedProperties ) ; ID endpointContainerID = getContainerID ( parsedProperties ) ; if ( endpointContainerID != null ) { result = createECFEndpointDescription ( endpointContainerID , parsedProperties ) ; } results . add ( result ) ; } catch ( Exception e ) { <START_BUG> LogUtility . logError ( "readEndpointDescriptions" , ENDPOINTDESCRIPTIONREADER , this . getClass ( ) , "Exception<seq2seq4repair_space>parsing<seq2seq4repair_space>endpoint<seq2seq4repair_space>description<seq2seq4repair_space>properties" , e ) ; <END_BUG> } } return results . toArray ( new EndpointDescription [ results . size ( ) ] ) ; } private EndpointDescription createECFEndpointDescription ( ID endpointContainerID , Map parsedProperties ) throws EndpointDescriptionParseException { } private ID [ ] getIDFilter ( Namespace namespace , Map < String , Object > properties ) { } private ID getContainerID ( Map < String , Object > properties ) throws IDCreateException { } }

Fix:
LogUtility . logError ( "readEndpointDescriptions" , ENDPOINT_DESCRIPTION_READER , this . getClass ( ) , "Exception<seq2seq4repair_space>parsing<seq2seq4repair_space>endpoint<seq2seq4repair_space>description<seq2seq4repair_space>properties" , e ) ;