You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/13 15:23:25 UTC

[jira] [Closed] (TAP5-820) Misleading error message if page misses a no-argument constructor

     [ https://issues.apache.org/jira/browse/TAP5-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade closed TAP5-820.
-------------------------------

    Resolution: Not a Problem

Another year has passed since the last comment. Therefore, we assume this issue has either been resolved in the meantime or it is no longer relevant to you.
If recent versions of Tapestry (i.e. 5.4 betas and 5.3.7) are still affected, please reopen the issue and adjust the "Affected Version/s" property.

> Misleading error message if page misses a no-argument constructor
> -----------------------------------------------------------------
>
>                 Key: TAP5-820
>                 URL: https://issues.apache.org/jira/browse/TAP5-820
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Sebastian Hennebrueder
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> If a page has only constructores requiring parameters, then the following error message is shown.
> It should tell the user as well, that a no-argument constructor is missing.
> 8:12:58,223 ERROR RequestExceptionHandler:62 - Processing of request failed with uncaught exception: Class de.laliluna.bibabook.pages.Index was not transformed for use as a component; this can happen if it is an interface, or was not in a package subject to component transformation.
> java.lang.RuntimeException: Class de.laliluna.bibabook.pages.Index was not transformed for use as a component; this can happen if it is an interface, or was not in a package subject to component transformation.
> 	at org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.createInstantiator(ComponentClassTransformerImpl.java:190)



--
This message was sent by Atlassian JIRA
(v6.2#6252)