Program: 152885
Project: 152885
Buggy source:
/** 
 * Initialise adapter. Determine custom methods and do validation.
 */
private void initialize(){
  Class clazz=(target == null ? beanFactory.getType(targetBeanName) : target.getClass());
  isLifecycleListener=OsgiServiceLifecycleListener.class.isAssignableFrom(clazz);
  if (isLifecycleListener)   if (log.isDebugEnabled())   log.debug(clazz.getName() + "String_Node_Str");
  bindMethods=CustomListenerAdapterUtils.determineCustomMethods(clazz,bindMethod);
  unbindMethods=CustomListenerAdapterUtils.determineCustomMethods(clazz,unbindMethod);
  if (StringUtils.hasText(bindMethod)) {
    bindReference=org.springframework.util.ReflectionUtils.findMethod(clazz,bindMethod,new Class[]{ServiceReference.class});
    if (bindReference != null)     org.springframework.util.ReflectionUtils.makeAccessible(bindReference);
  }
  if (StringUtils.hasText(unbindMethod)) {
    unbindReference=org.springframework.util.ReflectionUtils.findMethod(clazz,unbindMethod,new Class[]{ServiceReference.class});
    if (unbindReference != null)     org.springframework.util.ReflectionUtils.makeAccessible(unbindReference);
  }
  if (!isLifecycleListener && (bindMethods.isEmpty() && unbindMethods.isEmpty() && bindReference == null && unbindReference == null))   throw new IllegalArgumentException("String_Node_Str" + OsgiServiceLifecycleListener.class.getName() + "String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Initialise adapter. Determine custom methods and do validation.
 */
private void initialize(){
  Class clazz=(target == null ? beanFactory.getType(targetBeanName) : target.getClass());
  isLifecycleListener=OsgiServiceLifecycleListener.class.isAssignableFrom(clazz);
  if (isLifecycleListener)   if (log.isDebugEnabled())   log.debug(clazz.getName() + "String_Node_Str");
  bindMethods=CustomListenerAdapterUtils.determineCustomMethods(clazz,bindMethod);
  if (StringUtils.hasText(bindMethod)) {
    bindReference=org.springframework.util.ReflectionUtils.findMethod(clazz,bindMethod,new Class[]{ServiceReference.class});
    if (bindReference != null) {
      org.springframework.util.ReflectionUtils.makeAccessible(bindReference);
    }
 else     if (bindMethods.isEmpty()) {
      String beanName=(target == null ? "String_Node_Str" : "String_Node_Str" + targetBeanName + "String_Node_Str");
      throw new IllegalArgumentException("String_Node_Str" + bindMethod + "String_Node_Str"+ beanName+ "String_Node_Str"+ clazz);
    }
  }
  unbindMethods=CustomListenerAdapterUtils.determineCustomMethods(clazz,unbindMethod);
  if (StringUtils.hasText(unbindMethod)) {
    unbindReference=org.springframework.util.ReflectionUtils.findMethod(clazz,unbindMethod,new Class[]{ServiceReference.class});
    if (unbindReference != null) {
      org.springframework.util.ReflectionUtils.makeAccessible(unbindReference);
    }
 else     if (unbindMethods.isEmpty()) {
      String beanName=(target == null ? "String_Node_Str" : "String_Node_Str" + targetBeanName + "String_Node_Str");
      throw new IllegalArgumentException("String_Node_Str" + unbindMethod + "String_Node_Str"+ beanName+ "String_Node_Str"+ clazz);
    }
  }
  if (!isLifecycleListener && (bindMethods.isEmpty() && unbindMethods.isEmpty() && bindReference == null && unbindReference == null))   throw new IllegalArgumentException("String_Node_Str" + OsgiServiceLifecycleListener.class.getName() + "String_Node_Str");
}