Program: 48345
Project: 48345
Buggy source:
public final void init(final FilterConfig config) throws ServletException {
  filterConfig=config;
  servletContext=config.getServletContext();
  initInstance();
  String mapName=getParam("String_Node_Str");
  if (mapName != null) {
    clusterMapName=mapName;
  }
 else {
    clusterMapName="String_Node_Str" + servletContext.getServletContextName();
  }
  try {
    Config hzConfig=hazelcastInstance.getConfig();
    String sessionTTL=getParam("String_Node_Str");
    if (sessionTTL != null) {
      MapConfig mapConfig=hzConfig.getMapConfig(clusterMapName);
      mapConfig.setTimeToLiveSeconds(Integer.valueOf(sessionTTL));
      hzConfig.addMapConfig(mapConfig);
    }
  }
 catch (  UnsupportedOperationException ignored) {
  }
  String cookieName=getParam("String_Node_Str");
  if (cookieName != null) {
    sessionCookieName=cookieName;
  }
  String cookieDomain=getParam("String_Node_Str");
  if (cookieDomain != null) {
    sessionCookieDomain=cookieDomain;
  }
  String cookieSecure=getParam("String_Node_Str");
  if (cookieSecure != null) {
    sessionCookieSecure=Boolean.valueOf(cookieSecure);
  }
  String cookieHttpOnly=getParam("String_Node_Str");
  if (cookieHttpOnly != null) {
    sessionCookieHttpOnly=Boolean.valueOf(cookieHttpOnly);
  }
  String stickySessionParam=getParam("String_Node_Str");
  if (stickySessionParam != null) {
    stickySession=Boolean.valueOf(stickySessionParam);
  }
  String shutdownOnDestroyParam=getParam("String_Node_Str");
  if (shutdownOnDestroyParam != null) {
    shutdownOnDestroy=Boolean.valueOf(shutdownOnDestroyParam);
  }
  String deferredWriteParam=getParam("String_Node_Str");
  if (deferredWriteParam != null) {
    deferredWrite=Boolean.parseBoolean(deferredWriteParam);
  }
  if (!stickySession) {
    getClusterMap().addEntryListener(new EntryListener<String,Object>(){
      public void entryAdded(      EntryEvent<String,Object> entryEvent){
      }
      public void entryRemoved(      EntryEvent<String,Object> entryEvent){
        if (entryEvent.getMember() == null || !entryEvent.getMember().localMember()) {
          removeSessionLocally(entryEvent.getKey());
        }
      }
      public void entryUpdated(      EntryEvent<String,Object> entryEvent){
      }
      public void entryEvicted(      EntryEvent<String,Object> entryEvent){
        entryRemoved(entryEvent);
      }
    }
,false);
  }
  if (logger.isLoggable(Level.FINEST)) {
    logger.finest("String_Node_Str" + stickySession + "String_Node_Str"+ shutdownOnDestroy+ "String_Node_Str"+ clusterMapName);
  }
}

Fixed version (ground truth):
public final void init(final FilterConfig config) throws ServletException {
  filterConfig=config;
  servletContext=config.getServletContext();
  initInstance();
  String mapName=getParam("String_Node_Str");
  if (mapName != null) {
    clusterMapName=mapName;
  }
 else {
    clusterMapName="String_Node_Str" + servletContext.getServletContextName();
  }
  try {
    Config hzConfig=hazelcastInstance.getConfig();
    String sessionTTL=getParam("String_Node_Str");
    if (sessionTTL != null) {
      MapConfig mapConfig=hzConfig.getMapConfig(clusterMapName);
      mapConfig.setTimeToLiveSeconds(Integer.parseInt(sessionTTL));
      hzConfig.addMapConfig(mapConfig);
    }
  }
 catch (  UnsupportedOperationException ignored) {
  }
  String cookieName=getParam("String_Node_Str");
  if (cookieName != null) {
    sessionCookieName=cookieName;
  }
  String cookieDomain=getParam("String_Node_Str");
  if (cookieDomain != null) {
    sessionCookieDomain=cookieDomain;
  }
  String cookieSecure=getParam("String_Node_Str");
  if (cookieSecure != null) {
    sessionCookieSecure=Boolean.valueOf(cookieSecure);
  }
  String cookieHttpOnly=getParam("String_Node_Str");
  if (cookieHttpOnly != null) {
    sessionCookieHttpOnly=Boolean.valueOf(cookieHttpOnly);
  }
  String stickySessionParam=getParam("String_Node_Str");
  if (stickySessionParam != null) {
    stickySession=Boolean.valueOf(stickySessionParam);
  }
  String shutdownOnDestroyParam=getParam("String_Node_Str");
  if (shutdownOnDestroyParam != null) {
    shutdownOnDestroy=Boolean.valueOf(shutdownOnDestroyParam);
  }
  String deferredWriteParam=getParam("String_Node_Str");
  if (deferredWriteParam != null) {
    deferredWrite=Boolean.parseBoolean(deferredWriteParam);
  }
  if (!stickySession) {
    getClusterMap().addEntryListener(new EntryListener<String,Object>(){
      public void entryAdded(      EntryEvent<String,Object> entryEvent){
      }
      public void entryRemoved(      EntryEvent<String,Object> entryEvent){
        if (entryEvent.getMember() == null || !entryEvent.getMember().localMember()) {
          removeSessionLocally(entryEvent.getKey());
        }
      }
      public void entryUpdated(      EntryEvent<String,Object> entryEvent){
      }
      public void entryEvicted(      EntryEvent<String,Object> entryEvent){
        entryRemoved(entryEvent);
      }
    }
,false);
  }
  if (logger.isLoggable(Level.FINEST)) {
    logger.finest("String_Node_Str" + stickySession + "String_Node_Str"+ shutdownOnDestroy+ "String_Node_Str"+ clusterMapName);
  }
}