tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-559) Occasional asset exception in Workbench
Date Fri, 09 Sep 2005 12:03:49 GMT
    [ http://issues.apache.org/jira/browse/TAPESTRY-559?page=comments#action_12323021 ] 

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

I've seen this once or twice as well, but have no idea how to reproduce it.

> Occasional asset exception in Workbench
> ---------------------------------------
>
>          Key: TAPESTRY-559
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-559
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Mind Bridge
>     Priority: Critical

>
> When using the workbench application in some cases, a page fails to load and the following
exception appears (usually on the second request). It seems to me this is likely a bug with
the annotation support of the framework.
> org.apache.hivemind.ApplicationRuntimeException
> Error: An error occured processing annotation @org.apache.tapestry.annotations.Asset(value=images/tab-active-left.gif)
of public abstract org.apache.tapestry.IAsset org.apache.tapestry.workbench.components.Border.getActiveLeft():
Asset activeLeft has already been declared (at Annotation @org.apache.tapestry.annotations.Asset(value=images/tab-active-left.gif)
of public abstract org.apache.tapestry.IAsset org.apache.tapestry.workbench.components.Border.getActiveLeft()).
> location: 	Annotation @org.apache.tapestry.annotations.Asset(value=images/tab-active-left.gif)
of public abstract org.apache.tapestry.IAsset org.apache.tapestry.workbench.components.Border.getActiveLeft()
>  
> org.apache.hivemind.ApplicationRuntimeException
> Asset activeLeft has already been declared (at Annotation @org.apache.tapestry.annotations.Asset(value=images/tab-active-left.gif)
of public abstract org.apache.tapestry.IAsset org.apache.tapestry.workbench.components.Border.getActiveLeft()).
> location: 	Annotation @org.apache.tapestry.annotations.Asset(value=images/tab-active-left.gif)
of public abstract org.apache.tapestry.IAsset org.apache.tapestry.workbench.components.Border.getActiveLeft()
> Stack Trace:
>     * org.apache.tapestry.spec.ComponentSpecification.addAsset(ComponentSpecification.java:183)
>     * org.apache.tapestry.annotations.AssetAnnotationWorker.performEnhancement(AssetAnnotationWorker.java:56)
>     * org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnhancement(AnnotationEnhancementWorker.java:125)
>     * org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnhancement(AnnotationEnhancementWorker.java:108)
>     * org.apache.tapestry.annotations.AnnotationEnhancementWorker.performEnhancement(AnnotationEnhancementWorker.java:68)
>     * $EnhancementWorker_105b3f8ffe4.performEnhancement($EnhancementWorker_105b3f8ffe4.java)
>     * $EnhancementWorker_105b3f8ffe6.performEnhancement($EnhancementWorker_105b3f8ffe6.java)
>     * $EnhancementWorker_105b3f8ffc6.performEnhancement($EnhancementWorker_105b3f8ffc6.java)
>     * org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:79)
>     * $ComponentConstructorFactory_105b3f8ffaf.getComponentConstructor($ComponentConstructorFactory_105b3f8ffaf.java)
>     * org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:556)
>     * org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:507)
>     * $IPageLoader_105b3f8ffab.createImplicitComponent($IPageLoader_105b3f8ffab.java)
>     * $IPageLoader_105b3f8ffac.createImplicitComponent($IPageLoader_105b3f8ffac.java)
>     * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:219)
>     * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:173)
>     * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:112)
>     * org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:89)
>     * org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:61)
>     * $ComponentTemplateLoader_105b3f8ffb3.loadTemplate($ComponentTemplateLoader_105b3f8ffb3.java)
>     * org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:661)
>     * org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:77)
>     * org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:107)
>     * org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:469)
>     * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:632)
>     * $IPageLoader_105b3f8ffab.loadPage($IPageLoader_105b3f8ffab.java)
>     * $IPageLoader_105b3f8ffac.loadPage($IPageLoader_105b3f8ffac.java)
>     * org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:118)
>     * $IPageSource_105b3f8ff12.getPage($IPageSource_105b3f8ff12.java)
>     * org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:265)
>     * org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:248)
>     * org.apache.tapestry.engine.DirectService.service(DirectService.java:95)

-- 
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


Mime
View raw message