Program: 27345
Project: 27345
Buggy source:
private void initializeWebSocketTransport(final NettyMQTTHandler handler,IConfig props) throws IOException {
  LOG.info("String_Node_Str");
  String webSocketPortProp=props.getProperty(WEB_SOCKET_PORT_PROPERTY_NAME,DISABLED_PORT_BIND);
  if (DISABLED_PORT_BIND.equals(webSocketPortProp)) {
    LOG.info("String_Node_Str",BrokerConstants.WEB_SOCKET_PORT_PROPERTY_NAME,DISABLED_PORT_BIND);
    return;
  }
  int port=Integer.parseInt(webSocketPortProp);
  final MoquetteIdleTimeoutHandler timeoutHandler=new MoquetteIdleTimeoutHandler();
  String host=props.getProperty(BrokerConstants.HOST_PROPERTY_NAME);
  initFactory(host,port,"String_Node_Str",new PipelineInitializer(){
    @Override void init(    ChannelPipeline pipeline){
      pipeline.addLast(new HttpServerCodec());
      pipeline.addLast("String_Node_Str",new HttpObjectAggregator(65536));
      pipeline.addLast("String_Node_Str",new WebSocketServerProtocolHandler("String_Node_Str",MQTT_SUBPROTOCOL_CSV_LIST));
      pipeline.addLast("String_Node_Str",new WebSocketFrameToByteBufDecoder());
      pipeline.addLast("String_Node_Str",new ByteBufToWebSocketFrameEncoder());
      pipeline.addFirst("String_Node_Str",new IdleStateHandler(nettyChannelTimeoutSeconds,0,0));
      pipeline.addAfter("String_Node_Str","String_Node_Str",timeoutHandler);
      pipeline.addFirst("String_Node_Str",new BytesMetricsHandler(m_bytesMetricsCollector));
      pipeline.addLast("String_Node_Str",new MqttDecoder());
      pipeline.addLast("String_Node_Str",MqttEncoder.INSTANCE);
      pipeline.addLast("String_Node_Str",new MessageMetricsHandler(m_metricsCollector));
      pipeline.addLast("String_Node_Str",new MQTTMessageLogger());
      pipeline.addLast("String_Node_Str",handler);
    }
  }
);
}

Fixed version (ground truth):
private void initializeWebSocketTransport(final NettyMQTTHandler handler,IConfig props) throws IOException {
  LOG.info("String_Node_Str");
  String webSocketPortProp=props.getProperty(WEB_SOCKET_PORT_PROPERTY_NAME,DISABLED_PORT_BIND);
  if (DISABLED_PORT_BIND.equals(webSocketPortProp)) {
    LOG.info("String_Node_Str",BrokerConstants.WEB_SOCKET_PORT_PROPERTY_NAME,DISABLED_PORT_BIND);
    return;
  }
  int port=Integer.parseInt(webSocketPortProp);
  final MoquetteIdleTimeoutHandler timeoutHandler=new MoquetteIdleTimeoutHandler();
  String host=props.getProperty(BrokerConstants.HOST_PROPERTY_NAME);
  initFactory(host,port,"String_Node_Str",new PipelineInitializer(){
    @Override void init(    ChannelPipeline pipeline){
      pipeline.addLast(new HttpServerCodec());
      pipeline.addLast("String_Node_Str",new HttpObjectAggregator(65536));
      pipeline.addLast("String_Node_Str",new WebSocketServerProtocolHandler("String_Node_Str",MQTT_SUBPROTOCOL_CSV_LIST));
      pipeline.addLast("String_Node_Str",new WebSocketFrameToByteBufDecoder());
      pipeline.addLast("String_Node_Str",new ByteBufToWebSocketFrameEncoder());
      pipeline.addFirst("String_Node_Str",new IdleStateHandler(nettyChannelTimeoutSeconds,0,0));
      pipeline.addAfter("String_Node_Str","String_Node_Str",timeoutHandler);
      pipeline.addFirst("String_Node_Str",new BytesMetricsHandler(m_bytesMetricsCollector));
      pipeline.addLast("String_Node_Str",new MqttDecoder(maxBytesInMessage));
      pipeline.addLast("String_Node_Str",MqttEncoder.INSTANCE);
      pipeline.addLast("String_Node_Str",new MessageMetricsHandler(m_metricsCollector));
      pipeline.addLast("String_Node_Str",new MQTTMessageLogger());
      pipeline.addLast("String_Node_Str",handler);
    }
  }
);
}