You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/20 17:14:46 UTC

[jira] Commented: (TAPESTRY-415) For component should use line precise error reporting for data conversions

    [ http://issues.apache.org/jira/browse/TAPESTRY-415?page=comments#action_12316237 ] 

Howard M. Lewis Ship commented on TAPESTRY-415:
-----------------------------------------------

In my case, I got this because I mis-spelled "volatile".

> For component should use line precise error reporting for data conversions
> --------------------------------------------------------------------------
>
>          Key: TAPESTRY-415
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-415
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>      Fix For: 4.0

>
> When a value used by the For component can not be converted by the DataSqueezer, the raw exception is reported and doesn't have any line-precise data in it, making it very hard to track down:
> org.apache.hivemind.ApplicationRuntimeException
> Could not find a strategy instance for class $Location_319.
> component: 	$ReportWizard_309@b6b2a5[report/ReportWizard]
>  
> java.lang.IllegalArgumentException
> Could not find a strategy instance for class $Location_319.
> Stack Trace:
>     * org.apache.hivemind.lib.util.StrategyRegistryImpl.searchForAdaptor(StrategyRegistryImpl.java:176)
>     * org.apache.hivemind.lib.util.StrategyRegistryImpl.getStrategy(StrategyRegistryImpl.java:74)
>     * org.apache.tapestry.util.io.DataSqueezerImpl.squeeze(DataSqueezerImpl.java:165)
>     * $DataSqueezer_10534c3251b.squeeze($DataSqueezer_10534c3251b.java)
>     * org.apache.tapestry.components.ForBean.storeSourceData(ForBean.java:118)
>     * org.apache.tapestry.components.ForBean.renderComponent(ForBean.java:203)
>     * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:612)
>     * org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:429)
>     * org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:445)
>     * org.apache.tapestry.form.Form.renderComponent(Form.java:250)
>     * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:612)
>     * org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:429)
>     * org.apache.tapestry.html.Body.renderComponent(Body.java:129)
>     * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:612)
>     * org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:429)
>     * org.apache.tapestry.html.Shell.renderComponent(Shell.java:114)
>     * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:61

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org