Program: 8745
Project: 8745
Buggy source:
/** 
 * Reconstructs a   {@link} Document) based on the persisted {@link RDBRow}.
 */
@Nonnull public <T extends Document>T fromRow(@Nonnull Collection<T> collection,@Nonnull RDBRow row) throws DocumentStoreException {
  T doc=collection.newDocument(store);
  doc.put(ID,row.getId());
  doc.put(MODIFIED,row.getModified());
  doc.put(MODCOUNT,row.getModcount());
  if (RDBDocumentStore.USECMODCOUNT) {
    doc.put(CMODCOUNT,row.getCollisionsModcount());
  }
  if (row.hasBinaryProperties()) {
    doc.put(HASBINARY,NodeDocument.HAS_BINARY_VAL);
  }
  if (row.deletedOnce()) {
    doc.put(DELETEDONCE,Boolean.TRUE);
  }
  byte[] bdata=row.getBdata();
  boolean blobInUse=false;
  JsopTokenizer json;
  try {
    if (bdata != null && bdata.length != 0) {
      String s=fromBlobData(bdata);
      json=new JsopTokenizer(s);
      json.read('{');
      readDocumentFromJson(json,doc);
      json.read(JsopReader.END);
      blobInUse=true;
    }
  }
 catch (  Exception ex) {
    throw new DocumentStoreException(ex);
  }
  String charData=row.getData();
  json=new JsopTokenizer(charData);
  try {
    int next=json.read();
    if (next == '{') {
      if (blobInUse) {
        throw new DocumentStoreException("String_Node_Str" + row.getData());
      }
      readDocumentFromJson(json,doc);
    }
 else     if (next == JsopReader.STRING) {
      if (!blobInUse) {
        throw new DocumentStoreException("String_Node_Str" + row.getData());
      }
      if (!"String_Node_Str".equals(json.getToken())) {
        throw new DocumentStoreException("String_Node_Str");
      }
    }
 else {
      throw new DocumentStoreException("String_Node_Str" + next + "String_Node_Str"+ row.getData());
    }
    next=json.read();
    if (next == ',') {
      do {
        Object ob=JSON.parse(json);
        if (!(ob instanceof List)) {
          throw new DocumentStoreException("String_Node_Str" + ob);
        }
        List<List<Object>> update=(List<List<Object>>)ob;
        for (        List<Object> op : update) {
          applyUpdate(doc,update,op);
        }
      }
 while (json.matches(','));
    }
    json.read(JsopReader.END);
    return doc;
  }
 catch (  Exception ex) {
    String message=String.format("String_Node_Str",row.getId());
    if (charData.length() > 0) {
      int last=charData.charAt(charData.length() - 1);
      if (last != '}' && last != '"' && last != ']') {
        message+="String_Node_Str";
      }
    }
    LOG.error(message,ex);
    throw new DocumentStoreException(message,ex);
  }
}

Fixed version (ground truth):
/** 
 * Reconstructs a   {@link Document} based on the persisted {@link RDBRow}.
 */
@Nonnull public <T extends Document>T fromRow(@Nonnull Collection<T> collection,@Nonnull RDBRow row) throws DocumentStoreException {
  T doc=collection.newDocument(store);
  doc.put(ID,row.getId());
  doc.put(MODIFIED,row.getModified());
  doc.put(MODCOUNT,row.getModcount());
  if (RDBDocumentStore.USECMODCOUNT) {
    doc.put(CMODCOUNT,row.getCollisionsModcount());
  }
  if (row.hasBinaryProperties()) {
    doc.put(HASBINARY,NodeDocument.HAS_BINARY_VAL);
  }
  if (row.deletedOnce()) {
    doc.put(DELETEDONCE,Boolean.TRUE);
  }
  byte[] bdata=row.getBdata();
  boolean blobInUse=false;
  JsopTokenizer json;
  try {
    if (bdata != null && bdata.length != 0) {
      String s=fromBlobData(bdata);
      json=new JsopTokenizer(s);
      json.read('{');
      readDocumentFromJson(json,doc);
      json.read(JsopReader.END);
      blobInUse=true;
    }
  }
 catch (  Exception ex) {
    throw new DocumentStoreException(ex);
  }
  String charData=row.getData();
  json=new JsopTokenizer(charData);
  try {
    int next=json.read();
    if (next == '{') {
      if (blobInUse) {
        throw new DocumentStoreException("String_Node_Str" + row.getData());
      }
      readDocumentFromJson(json,doc);
    }
 else     if (next == JsopReader.STRING) {
      if (!blobInUse) {
        throw new DocumentStoreException("String_Node_Str" + row.getData());
      }
      if (!"String_Node_Str".equals(json.getToken())) {
        throw new DocumentStoreException("String_Node_Str");
      }
    }
 else {
      throw new DocumentStoreException("String_Node_Str" + next + "String_Node_Str"+ row.getData());
    }
    next=json.read();
    if (next == ',') {
      do {
        Object ob=JSON.parse(json);
        if (!(ob instanceof List)) {
          throw new DocumentStoreException("String_Node_Str" + ob);
        }
        List<List<Object>> update=(List<List<Object>>)ob;
        for (        List<Object> op : update) {
          applyUpdate(doc,update,op);
        }
      }
 while (json.matches(','));
    }
    json.read(JsopReader.END);
    return doc;
  }
 catch (  Exception ex) {
    String message=String.format("String_Node_Str",row.getId());
    if (charData.length() > 0) {
      int last=charData.charAt(charData.length() - 1);
      if (last != '}' && last != '"' && last != ']') {
        message+="String_Node_Str";
      }
    }
    LOG.error(message,ex);
    throw new DocumentStoreException(message,ex);
  }
}