I have met the T5's bug, https://issues.apache.org/jira/browse/TAPESTRY-1648
I have a domain class, which has a BigDecimal property. While I submit form, it would happen the bug "TAPESTRY-1648". Caused by: org.apache.tapestry.ioc.internal.util.TapestryException: Failure writing parameter value of component basicinformation/AddOrEditDriver:carlong: Coercion of null to type java.math.BigDecimal (via null --> String, String --> java.math.BigDecimal) failed: java.lang.NullPointerException [at classpath:com/javaeye/dengyin2000/gtts/pages/basicinformation/AddOrEditDriver.html, line 50, column 115] at org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.writeParameter (InternalComponentResourcesImpl.java:239) at org.apache.tapestry.corelib.base.AbstractTextField._$update_parameter_value( AbstractTextField.java) at org.apache.tapestry.corelib.base.AbstractTextField.processSubmission( AbstractTextField.java:181) at org.apache.tapestry.corelib.base.AbstractField.processSubmission( AbstractField.java:200) at org.apache.tapestry.corelib.base.AbstractField.access$100( AbstractField.java:45) at org.apache.tapestry.corelib.base.AbstractField$ProcessSubmissionAction.execute (AbstractField.java:114) at org.apache.tapestry.corelib.base.AbstractField$ProcessSubmissionAction.execute (AbstractField.java:108) at org.apache.tapestry.corelib.components.Form.onAction(Form.java:364) ... 45 more Caused by: java.lang.RuntimeException: Coercion of null to type java.math.BigDecimal (via null --> String, String --> java.math.BigDecimal) failed: java.lang.NullPointerException at org.apache.tapestry.ioc.internal.services.TypeCoercerImpl.coerce( TypeCoercerImpl.java:154) at $TypeCoercer_1149d2e0ddf.coerce($TypeCoercer_1149d2e0ddf.java) at org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.writeParameter (InternalComponentResourcesImpl.java:233) ... 52 more Caused by: java.lang.NullPointerException at java.math.BigDecimal.<init>(BigDecimal.java:594) at org.apache.tapestry.ioc.services.TapestryIOCModule$7.coerce( TapestryIOCModule.java:219) at org.apache.tapestry.ioc.services.TapestryIOCModule$7.coerce( TapestryIOCModule.java:217) at org.apache.tapestry.ioc.services.CoercionTuple$CoercionWrapper.coerce (CoercionTuple.java:53) at org.apache.tapestry.ioc.internal.services.CompoundCoercion.coerce( CompoundCoercion.java:48) at org.apache.tapestry.ioc.internal.services.TypeCoercerImpl.coerce( TypeCoercerImpl.java:150) ... 54 more I have contribute a BigDecimal translator, Yes, I know it's a T5 bug and it would be fix in version 5.0.6. I searched tapestry mailling list, but I haven't gotten the answer. Does anybody know how to fix it? do your guys don't meet this problem. Or I should modify the T5.0.5' source code? Thanks. -- Regards Denny Site: http://dengyin2000.javaeye.com