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/08 15:33:19 UTC
[jira] Assigned: (TAPESTRY-388) Wrong property type on injected assets fails with confusing message
[ http://issues.apache.org/jira/browse/TAPESTRY-388?page=all ]
Howard M. Lewis Ship reassigned TAPESTRY-388:
---------------------------------------------
Assign To: Howard M. Lewis Ship
> Wrong property type on injected assets fails with confusing message
> -------------------------------------------------------------------
>
> Key: TAPESTRY-388
> URL: http://issues.apache.org/jira/browse/TAPESTRY-388
> Project: Tapestry
> Type: Bug
> Components: Annotations
> Versions: 4.0
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> Two problems:
> 1 - Should detect that the property type for the injected asset was wrong (user specified a property type of Image, not IAsset)
> 2 - Should display the class fab string as part of the exception message (huge, but with the detail needed to figure this kind of thing out!)
> java.lang.VerifyError: (class: $Home_0, method: finishLoad signature:
> (Lorg/apache/tapestry/IRequestCycle;Lorg/apache/tapestry/engine/IPageLoader;
> Lorg/apache/tapestry/spec/IComponentSpecification;)V) Bad type in
> putfield/putstatic
> java.lang.Class.getDeclaredConstructors0(Native Method)
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
> java.lang.Class.getConstructors(Class.java:1446)
> org.apache.tapestry.enhance.EnhancementOperationImpl.findConstructor(Enhance
> mentOperationImpl.java:456)
> org.apache.tapestry.enhance.EnhancementOperationImpl.getConstructor(Enhancem
> entOperationImpl.java:409)
> org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getCompone
> ntConstructor(ComponentConstructorFactoryImpl.java:78)
> $ComponentConstructorFactory_104eca6dc70.getComponentConstructor($ComponentC
> onstructorFactory_104eca6dc70.java)
> $ComponentConstructorFactory_104eca6dc6f.getComponentConstructor($ComponentC
> onstructorFactory_104eca6dc6f.java)
> org.apache.tapestry.pageload.PageLoader.instantiatePage(PageLoader.java:611)
> org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:639)
> $IPageLoader_104eca6dc6b.loadPage($IPageLoader_104eca6dc6b.java)
> $IPageLoader_104eca6dc6c.loadPage($IPageLoader_104eca6dc6c.java)
> org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:118)
> $IPageSource_104eca6dbdc.getPage($IPageSource_104eca6dbdc.java)
> $IPageSource_104eca6dbdb.getPage($IPageSource_104eca6dbdb.java)
> org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:252)
> o
--
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