Program: 154670
Project: 154670
Buggy source:
JmxData(KernelData kernel,Neo4jMBean[] beans){
  this.beans=beans;
  @SuppressWarnings("String_Node_Str") JMXServiceURL url=null;
  try {
    Class<?> cal=Class.forName("String_Node_Str");
    try {
      Method importRemoteFrom=cal.getMethod("String_Node_Str",int.class);
      @SuppressWarnings("String_Node_Str") Map<String,String> remote=(Map<String,String>)importRemoteFrom.invoke(null,Integer.valueOf(0));
      url=getUrlFrom(remote);
    }
 catch (    NoSuchMethodException ex) {
    }
    if (url == null) {
      Method importFrom=cal.getMethod("String_Node_Str",int.class);
      url=getUrlFrom((String)importFrom.invoke(null,Integer.valueOf(0)));
    }
  }
 catch (  LinkageError e) {
    log.log(Level.INFO,"String_Node_Str",e);
  }
catch (  Exception e) {
    log.log(Level.INFO,"String_Node_Str",e);
  }
  if (url == null) {
    Object portObj=kernel.getParam("String_Node_Str");
    int port=0;
    if (portObj instanceof Integer) {
      port=((Integer)portObj).intValue();
    }
 else     if (portObj instanceof String) {
      try {
        port=Integer.parseInt((String)portObj);
      }
 catch (      NumberFormatException ok) {
      }
    }
    if (port > 0) {
      Object useSslObj=kernel.getParam("String_Node_Str");
      boolean useSSL=false;
      if (useSslObj instanceof Boolean) {
        useSSL=((Boolean)useSslObj).booleanValue();
      }
 else       if (useSslObj instanceof String) {
        useSSL=Boolean.parseBoolean((String)useSslObj);
      }
      JMXConnectorServer server=createServer(port,useSSL);
      if (server != null) {
        try {
          server.getMBeanServer().registerMBean(server,getObjectName(kernel,null,"String_Node_Str"));
        }
 catch (        Exception e) {
          log.log(Level.INFO,"String_Node_Str",e);
        }
        url=server.getAddress();
      }
    }
  }
  this.url=url;
}

Fixed version (ground truth):
JmxData(KernelData kernel,Neo4jMBean[] beans){
  this.beans=beans;
  @SuppressWarnings("String_Node_Str") JMXServiceURL url=null;
  try {
    Class<?> cal=Class.forName("String_Node_Str");
    try {
      Method importRemoteFrom=cal.getMethod("String_Node_Str",int.class);
      @SuppressWarnings("String_Node_Str") Map<String,String> remote=(Map<String,String>)importRemoteFrom.invoke(null,Integer.valueOf(0));
      url=getUrlFrom(remote);
    }
 catch (    NoSuchMethodException ex) {
    }
    if (url == null) {
      Method importFrom=cal.getMethod("String_Node_Str",int.class);
      url=getUrlFrom((String)importFrom.invoke(null,Integer.valueOf(0)));
    }
  }
 catch (  InvocationTargetException e) {
    log.log(Level.CONFIG,"String_Node_Str",e.getTargetException());
  }
catch (  LinkageError e) {
    log.log(Level.CONFIG,"String_Node_Str",e);
  }
catch (  Exception e) {
    log.log(Level.CONFIG,"String_Node_Str",e);
  }
  if (url == null) {
    Object portObj=kernel.getParam("String_Node_Str");
    int port=0;
    if (portObj instanceof Integer) {
      port=((Integer)portObj).intValue();
    }
 else     if (portObj instanceof String) {
      try {
        port=Integer.parseInt((String)portObj);
      }
 catch (      NumberFormatException ok) {
      }
    }
    if (port > 0) {
      Object useSslObj=kernel.getParam("String_Node_Str");
      boolean useSSL=false;
      if (useSslObj instanceof Boolean) {
        useSSL=((Boolean)useSslObj).booleanValue();
      }
 else       if (useSslObj instanceof String) {
        useSSL=Boolean.parseBoolean((String)useSslObj);
      }
      log.log(Level.CONFIG,"String_Node_Str",new Object[]{port,useSSL ? "String_Node_Str" : "String_Node_Str"});
      JMXConnectorServer server=createServer(port,useSSL);
      if (server != null) {
        try {
          server.start();
        }
 catch (        IOException e) {
          log.log(Level.CONFIG,"String_Node_Str",e);
          server=null;
        }
        if (server != null) {
          try {
            server.getMBeanServer().registerMBean(server,getObjectName(kernel,null,"String_Node_Str"));
          }
 catch (          Exception e) {
            log.log(Level.CONFIG,"String_Node_Str",e);
          }
          url=server.getAddress();
        }
      }
    }
  }
  this.url=url;
}