You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sebastian Hennebrueder (JIRA)" <ji...@apache.org> on 2009/08/19 18:21:14 UTC

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

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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.