cisbrh wrote:
Q: Why do I get a NullPointerException when loading a CMP field of type int, float etc... that is null ?
A: the persisted attribute in the bean must use a wrapper class (Integer, Float etc..) and not a primitive type (int, float etc..). That is because primitive types cannot be null.