Program: 179391
Project: 179391
Buggy source:
/** 
 * This method deserializes the specified Json into an object of the specified type. This method is useful if the specified object is a generic type. For non-generic objects, use  {@link #fromJson(String,Class)} instead.
 * @param json the string from which the object is to be deserialized.
 * @param typeOfT The specific genericized type of src. You can obtain this type by using the{@link com.google.gson.reflect.TypeToken} class. For example, to get the type for{@code Collection<Foo>}, you should use: <pre> Type typeOfT = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType(); </pre>
 * @param < T > the type of the desired object.
 * @return an object of type T from the string.
 * @throws JsonParseException if json is not a valid representation for an object of type typeOfT.
 */
public <T>T fromJson(String json,Type typeOfT) throws JsonParseException {
  try {
    StringReader reader=new StringReader(json);
    JsonParser parser=new JsonParser(reader);
    JsonElement root=parser.parse();
    JsonDeserializationContext context=new JsonDeserializationContextDefault(navigatorFactory,deserializers,objectConstructor,typeAdapter);
    return context.deserialize(root,typeOfT);
  }
 catch (  TokenMgrError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  ParseException e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  StackOverflowError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  OutOfMemoryError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
}

Fixed version (ground truth):
/** 
 * This method deserializes the specified Json into an object of the specified type. This method is useful if the specified object is a generic type. For non-generic objects, use  {@link #fromJson(String,Class)} instead.
 * @param json the string from which the object is to be deserialized.
 * @param typeOfT The specific genericized type of src. You can obtain this type by using the{@link com.google.gson.reflect.TypeToken} class. For example, to get the type for{@code Collection<Foo>}, you should use: <pre> Type typeOfT = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType(); </pre>
 * @param < T > the type of the desired object.
 * @return an object of type T from the string.
 * @throws JsonParseException if json is not a valid representation for an object of type typeOfT.
 */
@SuppressWarnings("String_Node_Str") public <T>T fromJson(String json,Type typeOfT) throws JsonParseException {
  try {
    StringReader reader=new StringReader(json);
    JsonParser parser=new JsonParser(reader);
    JsonElement root=parser.parse();
    JsonDeserializationContext context=new JsonDeserializationContextDefault(navigatorFactory,deserializers,objectConstructor,typeAdapter);
    return (T)context.deserialize(root,typeOfT);
  }
 catch (  TokenMgrError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  ParseException e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  StackOverflowError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
catch (  OutOfMemoryError e) {
    throw new JsonParseException("String_Node_Str" + json + "String_Node_Str",e);
  }
}