Program: 27404
Project: 27404
Buggy source:
private void initializeWSSTransport(IMessaging messaging,IConfig props,final SslHandler sslHandler) throws IOException {
  String sslPortProp=props.getProperty(Constants.WSS_PORT_PROPERTY_NAME);
  if (sslPortProp == null) {
    LOG.info("String_Node_Str");
    return;
  }
  int sslPort=Integer.parseInt(sslPortProp);
  final NettyMQTTHandler handler=new NettyMQTTHandler();
  handler.setMessaging(messaging);
  String host=props.getProperty(Constants.HOST_PROPERTY_NAME);
  initFactory(host,sslPort,new PipelineInitializer(){
    @Override void init(    ChannelPipeline pipeline) throws Exception {
      pipeline.addLast("String_Node_Str",sslHandler);
      pipeline.addLast("String_Node_Str",new HttpResponseEncoder());
      pipeline.addLast("String_Node_Str",new HttpRequestDecoder());
      pipeline.addLast("String_Node_Str",new HttpObjectAggregator(65536));
      pipeline.addLast("String_Node_Str",new WebSocketServerProtocolHandler("String_Node_Str","String_Node_Str"));
      pipeline.addLast("String_Node_Str",new WebSocketFrameToByteBufDecoder());
      pipeline.addLast("String_Node_Str",new ByteBufToWebSocketFrameEncoder());
      pipeline.addFirst("String_Node_Str",new IdleStateHandler(0,0,Constants.DEFAULT_CONNECT_TIMEOUT));
      pipeline.addAfter("String_Node_Str","String_Node_Str",new MoquetteIdleTimoutHandler());
      pipeline.addFirst("String_Node_Str",new BytesMetricsHandler(m_bytesMetricsCollector));
      pipeline.addLast("String_Node_Str",new MQTTDecoder());
      pipeline.addLast("String_Node_Str",new MQTTEncoder());
      pipeline.addLast("String_Node_Str",new MessageMetricsHandler(m_metricsCollector));
      pipeline.addLast("String_Node_Str",handler);
    }
  }
);
}

Fixed version (ground truth):
private void initializeWSSTransport(IMessaging messaging,IConfig props,final SslHandlerFactory sslHandlerFactory) throws IOException {
  String sslPortProp=props.getProperty(Constants.WSS_PORT_PROPERTY_NAME);
  if (sslPortProp == null) {
    LOG.info("String_Node_Str");
    return;
  }
  int sslPort=Integer.parseInt(sslPortProp);
  final NettyMQTTHandler handler=new NettyMQTTHandler();
  handler.setMessaging(messaging);
  String host=props.getProperty(Constants.HOST_PROPERTY_NAME);
  initFactory(host,sslPort,new PipelineInitializer(){
    @Override void init(    ChannelPipeline pipeline) throws Exception {
      pipeline.addLast("String_Node_Str",sslHandlerFactory.create());
      pipeline.addLast("String_Node_Str",new HttpResponseEncoder());
      pipeline.addLast("String_Node_Str",new HttpRequestDecoder());
      pipeline.addLast("String_Node_Str",new HttpObjectAggregator(65536));
      pipeline.addLast("String_Node_Str",new WebSocketServerProtocolHandler("String_Node_Str","String_Node_Str"));
      pipeline.addLast("String_Node_Str",new WebSocketFrameToByteBufDecoder());
      pipeline.addLast("String_Node_Str",new ByteBufToWebSocketFrameEncoder());
      pipeline.addFirst("String_Node_Str",new IdleStateHandler(0,0,Constants.DEFAULT_CONNECT_TIMEOUT));
      pipeline.addAfter("String_Node_Str","String_Node_Str",new MoquetteIdleTimoutHandler());
      pipeline.addFirst("String_Node_Str",new BytesMetricsHandler(m_bytesMetricsCollector));
      pipeline.addLast("String_Node_Str",new MQTTDecoder());
      pipeline.addLast("String_Node_Str",new MQTTEncoder());
      pipeline.addLast("String_Node_Str",new MessageMetricsHandler(m_metricsCollector));
      pipeline.addLast("String_Node_Str",handler);
    }
  }
);
}