tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Homburg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
Date Tue, 23 Feb 2010 23:58:27 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837531#action_12837531
] 

Sven Homburg commented on TAP5-1026:
------------------------------------

I think, that th exception thrown because Component "CustomerAutoTextField" extends the abstract
class AbstractAutoTextField.
AbstractAutoTextField resists in an other library.


java.lang.RuntimeException
Unable to locate asset 'classpath:de/hsofttec/masterdata/components/AutoTextField.js' (the
file does not exist).

Hide uninteresting stack frames Stack trace

        * org.apache.tapestry5.internal.services.AssetSourceImpl.getLocalizedAssetFromResource(AssetSourceImpl.java:128)
        * org.apache.tapestry5.internal.services.AssetSourceImpl.getAssetInLocale(AssetSourceImpl.java:93)
        * org.apache.tapestry5.internal.services.AssetSourceImpl.getAsset(AssetSourceImpl.java:83)
        * $AssetSource_126fd3c3b82.getAsset($AssetSource_126fd3c3b82.java)
        * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.convertPathsToAssets(AbstractIncludeAssetWorker.java:158)
        * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.access$100(AbstractIncludeAssetWorker.java:43)
        * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:125)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:121)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * de.hsofttec.tapestry.components.AbstractAutoTextField.containingPageDidLoad(AbstractAutoTextField.java)
        * de.hsofttec.masterdata.components.CustomerAutoTextField._$advised$containingPageDidLoad_2(CustomerAutoTextField.java)
        * de.hsofttec.masterdata.components.CustomerAutoTextField$containingPageDidLoad$invocation_126fd3c6a24.invokeAdvisedMethod(CustomerAutoTextField$containingPageDidLoad$invocation_126fd3c6a24.java)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:77)
        * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99)
        * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86)
        * de.hsofttec.masterdata.components.CustomerAutoTextField.containingPageDidLoad(CustomerAutoTextField.java)
        * org.apache.tapestry5.internal.structure.ComponentPageElementImpl$4.run(ComponentPageElementImpl.java:127)
        * org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:982)
        * org.apache.tapestry5.internal.structure.ComponentPageElementImpl.containingPageDidLoad(ComponentPageElementImpl.java:830)
        * org.apache.tapestry5.internal.structure.PageImpl.loaded(PageImpl.java:144)
        * org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:167)
        * $PageLoader_126fd3c3be2.loadPage($PageLoader_126fd3c3be2.java)
        * org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
        * org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
        * $PagePool_126fd3c3be1.checkout($PagePool_126fd3c3be1.java)
        * org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
        * $RequestPageCache_126fd3c3be0.get($RequestPageCache_126fd3c3be0.java)
        * $RequestPageCache_126fd3c3bd9.get($RequestPageCache_126fd3c3bd9.java)
        * org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:53)
        * org.apache.tapestry5.services.TapestryModule$35.handle(TapestryModule.java:2237)
        * $PageRenderRequestHandler_126fd3c3bdc.handle($PageRenderRequestHandler_126fd3c3bdc.java)
        * $PageRenderRequestHandler_126fd3c3bc0.handle($PageRenderRequestHandler_126fd3c3bc0.java)
        * org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48)
        * org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47)
        * $ComponentRequestHandler_126fd3c3bd8.handlePageRender($ComponentRequestHandler_126fd3c3bd8.java)
        * $ComponentRequestHandler_126fd3c3bc5.handlePageRender($ComponentRequestHandler_126fd3c3bc5.java)
        * org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
        * $Dispatcher_126fd3c3bc9.dispatch($Dispatcher_126fd3c3bc9.java)
        * $Dispatcher_126fd3c3bbd.dispatch($Dispatcher_126fd3c3bbd.java)
        * org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:288)
        * org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:913)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:903)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * org.apache.tapestry5.internal.services.URLRewriterRequestFilter.service(URLRewriterRequestFilter.java:47)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        * org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80)
        * org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
        * org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
        * $RequestHandler_126fd3c3bbe.service($RequestHandler_126fd3c3bbe.java)
        * $RequestHandler_126fd3c3bb2.service($RequestHandler_126fd3c3bb2.java)
        * org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:239)
        * org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
        * $HttpServletRequestHandler_126fd3c3bb4.service($HttpServletRequestHandler_126fd3c3bb4.java)
        * org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        * $HttpServletRequestHandler_126fd3c3bb4.service($HttpServletRequestHandler_126fd3c3bb4.java)
        * org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        * $HttpServletRequestFilter_126fd3c3bb0.service($HttpServletRequestFilter_126fd3c3bb0.java)
        * $HttpServletRequestHandler_126fd3c3bb4.service($HttpServletRequestHandler_126fd3c3bb4.java)
        * org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:856)
        * $HttpServletRequestHandler_126fd3c3bb4.service($HttpServletRequestHandler_126fd3c3bb4.java)
        * $HttpServletRequestHandler_126fd3c3bac.service($HttpServletRequestHandler_126fd3c3bac.java)
        * org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147) 

> since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
> --------------------------------------------------------------------------------
>
>                 Key: TAP5-1026
>                 URL: https://issues.apache.org/jira/browse/TAP5-1026
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Sven Homburg
>
> since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
> If i create a component that included some javascript code via @IncludeJavaScriptLibrary
> i must tell @IncludeJavaScriptLibrary the complete package name to read the javascript
file
> even if that file resist in the same package as the component.

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