code: private static Object getValue(final Object o, final Field f) {
          try {
              f.setAccessible(true);
              return f.get(o);
          } catch (final IllegalArgumentException e) {
              LOGGER.error("failure accessing field value {}", new Object[] { f.getName(), e });
          } catch (final IllegalAccessException e) {
              LOGGER.error("failure accessing field value {}", new Object[] { f.getName(), e });
          }
          return null;
      }
docs: Gets a field value regardless of reflection errors.
  
  @param o
  the object instance
  @param f
  the field
  @return the field value or null if a reflection error occurred