| When using CompositeUserType(s) in attribute mappings which get wrapped by CompositeCustomType, NPE is thrown when selecting an entity using such type. This last worked in 3.3.2 (maybe more), but in 4.3 series it was already broken. There are 2 places in AbstractCompositionAttribute#getAttributes that guard against NPE, but the 3rd place has been missed (line 176). This gets triggered when the type is CompositeCustomType which returns null for getPropertyNullability(). I propose a patch that does the same for the missed place too... NPE_in_AbstractCompositeType_getAttributes.patch |