Program: 60186
Project: 60186
Buggy source:
@Override public Object get(String name,Scriptable start){
  PropertyInfo pinfo=this.classWrapper.getProperty(name);
  if (pinfo != null) {
    Method getter=pinfo.getGetter();
    if (getter == null) {
      throw new EvaluatorException("String_Node_Str" + name + "String_Node_Str");
    }
    try {
      Object javaObject=this.getJavaObject();
      if (javaObject == null) {
        throw new IllegalStateException("String_Node_Str" + this.classWrapper + "String_Node_Str");
      }
      Object val=getter.invoke(javaObject,(Object[])null);
      return JavaScript.getInstance().getJavascriptObject(val,start.getParentScope());
    }
 catch (    Exception err) {
      throw new WrappedException(err);
    }
  }
 else {
    Function f=this.classWrapper.getFunction(name);
    if (f != null) {
      return f;
    }
 else {
      Object result=super.get(name,start);
      if (result != Scriptable.NOT_FOUND) {
        return result;
      }
      PropertyInfo ni=this.classWrapper.getNameIndexer();
      if (ni != null) {
        Method getter=ni.getGetter();
        if (getter != null) {
          Object javaObject=this.getJavaObject();
          if (javaObject == null) {
            throw new IllegalStateException("String_Node_Str" + this.classWrapper + "String_Node_Str");
          }
          try {
            Object val=getter.invoke(javaObject,new Object[]{name});
            if (val == null) {
              return super.get(name,start);
            }
 else {
              return JavaScript.getInstance().getJavascriptObject(val,start.getParentScope());
            }
          }
 catch (          Exception err) {
            throw new WrappedException(err);
          }
        }
      }
      return Scriptable.NOT_FOUND;
    }
  }
}

Fixed version (ground truth):
@Override public Object get(String name,Scriptable start){
  PropertyInfo pinfo=this.classWrapper.getProperty(name);
  if (pinfo != null) {
    Method getter=pinfo.getGetter();
    if (getter == null) {
      throw new EvaluatorException("String_Node_Str" + name + "String_Node_Str");
    }
    try {
      Object javaObject=this.getJavaObject();
      if (javaObject == null) {
        throw new IllegalStateException("String_Node_Str" + this.classWrapper + "String_Node_Str");
      }
      Object val=getter.invoke(javaObject,(Object[])null);
      return JavaScript.getInstance().getJavascriptObject(val,start.getParentScope());
    }
 catch (    Exception err) {
      err.printStackTrace();
      return new Object();
    }
  }
 else {
    Function f=this.classWrapper.getFunction(name);
    if (f != null) {
      return f;
    }
 else {
      Object result=super.get(name,start);
      if (result != Scriptable.NOT_FOUND) {
        return result;
      }
      PropertyInfo ni=this.classWrapper.getNameIndexer();
      if (ni != null) {
        Method getter=ni.getGetter();
        if (getter != null) {
          Object javaObject=this.getJavaObject();
          if (javaObject == null) {
            throw new IllegalStateException("String_Node_Str" + this.classWrapper + "String_Node_Str");
          }
          try {
            Object val=getter.invoke(javaObject,new Object[]{name});
            if (val == null) {
              return super.get(name,start);
            }
 else {
              return JavaScript.getInstance().getJavascriptObject(val,start.getParentScope());
            }
          }
 catch (          Exception err) {
            throw new WrappedException(err);
          }
        }
      }
      return Scriptable.NOT_FOUND;
    }
  }
}