code: protected void logProblem(PropertyDescriptor pd, Object anObject, Object aValue, String msg)
      {
          Logger logger = getLog();
          logger.error("Error in [PersistentFieldPropertyImpl], " + msg);
          logger.error("Declaring class [" + getDeclaringClass().getName() + "]");
          logger.error("Property Name [" + getName() + "]");
          logger.error("Property Type [" + pd.getPropertyType().getName() + "]");
  
          if (anObject != null)
          {
              logger.error("anObject was class [" + anObject.getClass().getName() + "]");
          }
          else
          {
              logger.error("anObject was null");
          }
          if (aValue != null)
          {
              logger.error("aValue was class [" + aValue.getClass().getName() + "]");
          }
          else
          {
              logger.error("aValue was null");
          }
      }
docs: Let's give the user some hints as to what could be wrong.