tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Hennebrueder (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-820) Misleading error message if page misses a no-argument constructor
Date Wed, 19 Aug 2009 16:21:14 GMT
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.


Mime
View raw message