Could the following codes cause the exception?

public class UserSave {
...

        public ValueEncoder getEncoder() {
        return new EnumValueEncoder(null, UserRole.class);
    }

If so, how do I need to change it to avoid the NPE?

Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4965565.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to