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

ASF subversion and git services commented on TAP5-2030:
-------------------------------------------------------

Commit 5649174f0fc642bd01baf5dcc81958a48b636556 in tapestry-5's branch 
refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=5649174 ]

TAP5-2030: Allow blank values to bypass value encoder and go directly to null, 
if enabled by annotation


> @RequestParameter with Long fails with blank values even if allowBlank = true
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-2030
>                 URL: https://issues.apache.org/jira/browse/TAP5-2030
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: DI Florian Hackenberger
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.4
>
>
> The fix could either be done in the type coercer for the object wrappers for 
> numbers in TapestryIOCModule#provideBasicTypeCoercions
> which could return null if the input string is empty, or in 
> OnEventWorker#createQueryParameterProvider which could handle the exception 
> thrown on line 448 in 
> Object value = valueEncoder.toValue(parameterValue);
> Here is the stacktrace for the error:
> org.apache.tapestry5.runtime.ComponentEventException: Unable process query 
> parameter 'guestGroupId' as parameter #1 of event handler method 
> org.acoveo.topfive.frontend.components.Layout.openGuestGroup(java.lang.Long): 
> Coercion of  to type java.lang.Long (via String --> Long) failed: For input 
> string: ""
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1136)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3100(ComponentPageElementImpl.java:61)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1057)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1054)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) 
> ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:146)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1053)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler.handle(AjaxComponentEventRequestHandler.java:110)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.services.ajax.AjaxFormUpdateFilter.handle(AjaxFormUpdateFilter.java:56)
>  ~[tapestry-core-5.3.6.jar:na]
>       at $ComponentEventRequestHandler_b5c7a34926c8.handle(Unknown Source) 
> ~[na:na]
>       at $ComponentEventRequestHandler_b5c7a34926c0.handle(Unknown Source) 
> ~[na:na]
>       at 
> org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42) 
> ~[tapestry-core-5.3.6.jar:na]
>       at $ComponentEventRequestHandler_b5c7a34926c2.handle(Unknown Source) 
> ~[na:na]
>       at 
> org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75)
>  ~[tapestry-upload-5.3.6.jar:na]
>       at $ComponentEventRequestHandler_b5c7a34926c2.handle(Unknown Source) 
> ~[na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$41.handle(TapestryModule.java:2476)
>  ~[tapestry-core-5.3.6.jar:na]
>       at $ComponentEventRequestHandler_b5c7a34926c2.handle(Unknown Source) 
> ~[na:na]
>       at $ComponentEventRequestHandler_b5c7a349230c.handle(Unknown Source) 
> ~[na:na]
>       at 
> org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)
>  ~[tapestry-core-5.3.6.jar:na]
>       at $ComponentRequestHandler_b5c7a349230e.handleComponentEvent(Unknown 
> Source) ~[na:na]
>       at $ComponentRequestHandler_b5c7a34922d8.handleComponentEvent(Unknown 
> Source) ~[na:na]
>       at 
> org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
>  ~[tapestry-core-5.3.6.jar:na]
>       at $Dispatcher_b5c7a34922de.dispatch(Unknown Source) ~[na:na]
>       at $Dispatcher_b5c7a34922d6.dispatch(Unknown Source) ~[na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
>  ~[tapestry-core-5.3.6.jar:na]
>       at $RequestHandler_b5c7a34922d7.service(Unknown Source) [na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
>  [tapestry-core-5.3.6.jar:na]
>       at $RequestHandler_b5c7a34922d7.service(Unknown Source) [na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
>  [tapestry-core-5.3.6.jar:na]
>       at $RequestHandler_b5c7a34922d7.service(Unknown Source) [na:na]
>       at 
> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
>  [tapestry-core-5.3.6.jar:na]
>       at $RequestHandler_b5c7a34922d7.service(Unknown Source) [na:na]
>       at 
> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105)
>  [tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95)
>  [tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
>  [tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119)
>  [tapestry-core-5.3.6.jar:na]
>       at $RequestHandler_b5c7a34922d7.service(Unknown Source) [na:na]
>       at $RequestHandler_b5c7a34922cb.service(Unknown Source) [na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
>  [tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)
>  [tapestry-upload-5.3.6.jar:na]
>       at $HttpServletRequestHandler_b5c7a34922cd.service(Unknown Source) 
> [na:na]
>       at 
> org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) 
> [tapestry-core-5.3.6.jar:na]
>       at $HttpServletRequestHandler_b5c7a34922cd.service(Unknown Source) 
> [na:na]
>       at 
> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
>  [tapestry-core-5.3.6.jar:na]
>       at $HttpServletRequestFilter_b5c7a34922c8.service(Unknown Source) 
> [na:na]
>       at $HttpServletRequestHandler_b5c7a34922cd.service(Unknown Source) 
> [na:na]
>       at 
> org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
>  [tapestry-core-5.3.6.jar:na]
>       at $HttpServletRequestHandler_b5c7a34922cd.service(Unknown Source) 
> [na:na]
>       at $HttpServletRequestHandler_b5c7a34922c7.service(Unknown Source) 
> [na:na]
>       at 
> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171) 
> [tapestry-core-5.3.6.jar:na]
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
>  [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
>  [spring-security-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>  [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>  [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
>  [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.acoveo.acoveotapestry.services.SpringJpaTransactionHttpRequestFilterBean.doFilter(SpringJpaTransactionHttpRequestFilterBean.java:53)
>  [classes/:na]
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>  [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>  [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
>  [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
>  [spring-orm-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>  [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
>  [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477) 
> [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) 
> [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) 
> [jetty-security-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) 
> [jetty-servlet-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) 
> [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) 
> [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at org.eclipse.jetty.server.Server.handle(Server.java:349) 
> [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) 
> [jetty-http-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) 
> [jetty-http-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
>  [jetty-server-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
>  [jetty-io-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
>  [jetty-io-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
>  [jetty-util-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
>  [jetty-util-7.6.1.v20120215.jar:7.6.1.v20120215]
>       at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
> Caused by: org.apache.tapestry5.ioc.internal.OperationException: Unable 
> process query parameter 'guestGroupId' as parameter #1 of event handler 
> method 
> org.acoveo.topfive.frontend.components.Layout.openGuestGroup(java.lang.Long): 
> Coercion of  to type java.lang.Long (via String --> Long) failed: For input 
> string: ""
>       at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) 
> ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.transform.EventHandlerMethodParameterSource.get(EventHandlerMethodParameterSource.java:49)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.acoveo.topfive.frontend.components.Layout.dispatchComponentEvent(Layout.java)
>  ~[classes/:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:927)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1112)
>  ~[tapestry-core-5.3.6.jar:na]
>       ... 112 common frames omitted
> Caused by: java.lang.RuntimeException: Unable process query parameter 
> 'guestGroupId' as parameter #1 of event handler method 
> org.acoveo.topfive.frontend.components.Layout.openGuestGroup(java.lang.Long): 
> Coercion of  to type java.lang.Long (via String --> Long) failed: For input 
> string: ""
>       at 
> org.apache.tapestry5.internal.transform.OnEventWorker$9.valueForEventHandlerMethodParameter(OnEventWorker.java:459)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.transform.EventHandlerMethodParameterSource$1.invoke(EventHandlerMethodParameterSource.java:54)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       ... 118 common frames omitted
> Caused by: java.lang.RuntimeException: Coercion of  to type java.lang.Long 
> (via String --> Long) failed: For input string: ""
>       at 
> org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl$TargetCoercion.coerce(TypeCoercerImpl.java:74)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl.coerce(TypeCoercerImpl.java:146)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at $TypeCoercer_b5c7a34922a2.coerce(Unknown Source) ~[na:na]
>       at 
> org.apache.tapestry5.internal.services.TypeCoercedValueEncoderFactory$1.toValue(TypeCoercedValueEncoderFactory.java:45)
>  ~[tapestry-core-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.internal.transform.OnEventWorker$9.valueForEventHandlerMethodParameter(OnEventWorker.java:448)
>  ~[tapestry-core-5.3.6.jar:na]
>       ... 120 common frames omitted
> Caused by: java.lang.NumberFormatException: For input string: ""
>       at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) 
> ~[na:1.6.0_26]
>       at java.lang.Long.parseLong(Long.java:431) ~[na:1.6.0_26]
>       at java.lang.Long.<init>(Long.java:678) ~[na:1.6.0_26]
>       at 
> org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:241)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:238)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.services.CoercionTuple$CoercionWrapper.coerce(CoercionTuple.java:54)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       at 
> org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl$TargetCoercion.coerce(TypeCoercerImpl.java:71)
>  ~[tapestry-ioc-5.3.6.jar:na]
>       ... 124 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to