I have a TextField on a Form which is bound to a Double property. This
field is not required so it is OK for the user to leave it empty. But
when Tapestry updates the property, a NullPointerException is thrown:

Caused by: java.lang.RuntimeException: Coercion of null to type
java.lang.Double (via null --> String, String --> Double) failed:
java.lang.NullPointerException
      at 
org.apache.tapestry.ioc.internal.services.TypeCoercerImpl.coerce(TypeCoercerImpl.java:154)
      at $TypeCoercer_11183ff0378.coerce($TypeCoercer_11183ff0378.java)
      at 
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.writeParameter(InternalComponentResourcesImpl.java:217)


Thanks,


Bogdan Calmac.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to