Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.2.0
-
None
Description
NPE is appropriate, but a blank message is not. The message should be something like:
"Parameter com.example.components.Layout.section is primitive type int and may not be bound to null. You should convert this parameter to type java.lang.Integer."
Possibly we could get some similar effect by automatically forcing allowNull to false for primitive type parameters.