#vulnerable code 
                              @Test
  public void canConvertDoubles() throws IOException {
    List<Double> doubles = Arrays.asList(Double.MAX_VALUE, Double.MIN_VALUE, Double.MIN_NORMAL);
    for (Double original : doubles) {
      String jsonString = JsonMapper.serializeJsonValue(original);
      double converted = (Double) JsonMapper.parseJsonValue(jsonString);
      assertEquals(original, converted, 0);
    }
  } 
                            #location 6 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                              @Test
  public void canConvertDoubles() throws IOException {
    List<Double> doubles = Arrays.asList(Double.MAX_VALUE, Double.MIN_VALUE, Double.MIN_NORMAL);
    for (Double original : doubles) {
      String jsonString = JsonMapper.serializeJson(original);
      double converted = (Double) JsonMapper.parseJsonValue(jsonString);
      assertEquals(original, converted, 0);
    }
  }