tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2427) java.lang.VerifyError on PropertyConduit
Date Wed, 21 May 2008 21:25:56 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598796#action_12598796
] 

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

What are the type of row and id?  Perhaps this a problem working with primitives?

> java.lang.VerifyError on PropertyConduit
> ----------------------------------------
>
>                 Key: TAPESTRY-2427
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2427
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.12
>            Reporter: Dan Adams
>            Priority: Blocker
>
> With this template:
> <t:grid source="source" row="row">
> 	<t:parameter name="namecell">
> 		<t:pagelink page="admin/AddEditUserRole" context="row.id">${row.name}</t:pagelink>
> 	</t:parameter>
> </t:grid>
> I got this exception (also got it with some other uses of grid):
> [ERROR] RequestExceptionHandler Processing of request failed with uncaught exception:
Could not convert 'row.id' into a component parameter binding: (class: $PropertyConduit_11a0c9456e3,
method: set signature: (Ljava/lang/Object;Ljava/lang/Object;)V) Incompatible object argument
for function call
> org.apache.tapestry5.ioc.internal.util.TapestryException: Could not convert 'row.id'
into a component parameter binding: (class: $PropertyConduit_11a0c9456e3, method: set signature:
(Ljava/lang/Object;Ljava/lang/Object;)V) Incompatible object argument for function call [at
classpath:com/ifactory/swan/pages/admin/UserRoles.tml, line 26, column 61]
> 	at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:82)
> 	at $BindingSource_11a0c945495.newBinding($BindingSource_11a0c945495.java)
> 	at org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(PageElementFactoryImpl.java:304)
> 	at $PageElementFactory_11a0c94548f.newBinding($PageElementFactory_11a0c94548f.java)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.findBinding(PageLoaderProcessor.java:265)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.bindParameterFromTemplate(PageLoaderProcessor.java:171)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.attribute(PageLoaderProcessor.java:300)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.loadTemplateForComponent(PageLoaderProcessor.java:505)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.workComponentQueue(PageLoaderProcessor.java:808)
> 	at org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(PageLoaderProcessor.java:393)
> 	at org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(PageLoaderImpl.java:59)
> 	at $PageLoader_11a0c94548d.loadPage($PageLoader_11a0c94548d.java)
> 	at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
> 	at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:107)
> 	at $PagePool_11a0c94548c.checkout($PagePool_11a0c94548c.java)
> 	at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:43)
> 	at $RequestPageCache_11a0c94548b.get($RequestPageCache_11a0c94548b.java)
> 	at $RequestPageCache_11a0c945483.get($RequestPageCache_11a0c945483.java)
> 	at org.apache.tapestry5.internal.services.RequestSecurityManagerImpl.checkForInsecureRequest(RequestSecurityManagerImpl.java:59)
> 	at $RequestSecurityManager_11a0c945482.checkForInsecureRequest($RequestSecurityManager_11a0c945482.java)
> 	at org.apache.tapestry5.services.TapestryModule$28.handle(TapestryModule.java:1672)
> 	at $PageRenderRequestHandler_11a0c945486.handle($PageRenderRequestHandler_11a0c945486.java)
> 	at $PageRenderRequestHandler_11a0c94547a.handle($PageRenderRequestHandler_11a0c94547a.java)
> 	at org.apache.tapestry5.internal.services.PageRenderDispatcher.process(PageRenderDispatcher.java:97)
> 	at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:73)
> 	at $Dispatcher_11a0c945481.dispatch($Dispatcher_11a0c945481.java)
> 	at $Dispatcher_11a0c945473.dispatch($Dispatcher_11a0c945473.java)
> 	at org.apache.tapestry5.services.TapestryModule$12.service(TapestryModule.java:940)
> 	at org.apache.tapestry5.internal.services.LocalizationFilter.service(LocalizationFilter.java:42)
> 	at $RequestHandler_11a0c945474.service($RequestHandler_11a0c945474.java)
> 	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:589)
> 	at $RequestHandler_11a0c945474.service($RequestHandler_11a0c945474.java)
> 	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
> 	at $RequestHandler_11a0c945474.service($RequestHandler_11a0c945474.java)
> 	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
> 	at $RequestHandler_11a0c945474.service($RequestHandler_11a0c945474.java)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
> 	at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:75)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
> 	at $RequestHandler_11a0c945474.service($RequestHandler_11a0c945474.java)
> 	at $RequestHandler_11a0c94546c.service($RequestHandler_11a0c94546c.java)
> 	at org.apache.tapestry5.services.TapestryModule$11.service(TapestryModule.java:920)
> 	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> 	at $HttpServletRequestFilter_11a0c94546b.service($HttpServletRequestFilter_11a0c94546b.java)
> 	at $HttpServletRequestHandler_11a0c94546d.service($HttpServletRequestHandler_11a0c94546d.java)
> 	at $HttpServletRequestHandler_11a0c94546a.service($HttpServletRequestHandler_11a0c94546a.java)
> 	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:168)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: (class: $PropertyConduit_11a0c9456e3,
method: set signature: (Ljava/lang/Object;Ljava/lang/Object;)V) Incompatible object argument
for function call [at classpath:com/ifactory/swan/pages/admin/UserRoles.tml, line 26, column
61]
> 	at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:57)
> 	at $BindingFactory_11a0c9454b2.newBinding($BindingFactory_11a0c9454b2.java)
> 	at $BindingFactory_11a0c9454a9.newBinding($BindingFactory_11a0c9454a9.java)
> 	at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:78)
> 	... 64 more
> Caused by: java.lang.VerifyError: (class: $PropertyConduit_11a0c9456e3, method: set signature:
(Ljava/lang/Object;Ljava/lang/Object;)V) Incompatible object argument for function call
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> 	at java.lang.Class.getConstructors(Class.java:1446)
> 	at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:202)
> 	at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:120)
> 	at $PropertyConduitSource_11a0c9454b1.create($PropertyConduitSource_11a0c9454b1.java)
> 	at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:48)
> 	... 67 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message