I added
@Inject
private TypeCoercer typeCoercer;
and change the method to
return new EnumValueEncoder(typeCoercer, UserRole.class);
that seems to resolve the NPE issue.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save
.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
I used rc2, it gave the same exception. What else I could do? :(
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4962763.html
Sent from the Tapestry - User mailing list archive at Nabble.com
On Tue, 01 Nov 2011 22:18:04 -0200, TG wrote:
Caused by: java.lang.NullPointerException
at
org.apache.tapestry5.util.EnumValueEncoder.toValue(EnumValueEncoder.java:51)
Weird . . .
Any idea if this is an existing issue with Tapestry 5.3 beta 18.
Please try with the latest beta.
--
Thia
.tapestry5.corelib.components.Form.executeStoredActions(Form.java:664)
... 96 more
Any idea if this is an existing issue with Tapestry 5.3 beta 18.
Thanks!
TG
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4956725.html
Sent from the Tapestry - User ma