Bug 17256 Exception due to bug 17208
bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/validation/ObjectToPrimitiveValidator.java
return ValidationStatus.error(getClassHint());
			}
			return Status.OK_STATUS;
		}
		return ValidationStatus.error(getNullHint());
	}
	private boolean mapContainsValues(Class toType, Class fromType) {
		for (int i = 0; i < primitiveMap.length; i++) {
			if ((primitiveMap[i][0].equals(toType))
					&& (primitiveMap[i][1].equals(fromType))) {
				return true;
			}
		}
		return false;
	}
	/**
	 * @return a hint string
	 */
	public String getNullHint() {
		return BindingMessages.getString("Validate_ConversionToPrimitive"); 
	}
	/**
	 * @return a hint string
	 */
	public String getClassHint() {
		return BindingMessages
				.getString("Validate_ConversionFromClassToPrimitive"); 
	}
}