I cannot even breakpoint at the onActivate now...

This error says input string "coach"

Not sure if thats whats being transmitted into the method signature or not

I cannot seem to come up with a onActivate method signature that will hold 
water for me.

somehow the page context is grabbing strings instead of ID's for the first 
formal parameter

Any ideas on how to fix are appreciated

I believe I have tried every sort of method signature that takes ONLY an ID as 
a formal parameter

Ken

An unexpected application exception has 
occurred.org.apache.tapestry5.runtime.ComponentEventExceptionException
 in method 
org.tynamo.examples.hibernatesecurity.pages.edit.CoachEdit.onActivate(java.lang.Integer),
 parameter #1: Coercion of coach to type java.lang.Integer (via String 
--> Long, Long --> Integer) failed: For input string: 
"coach"contextcoach3eventTypeactivateorg.apache.tapestry5.ioc.internal.OperationExceptionException
 in method 
org.tynamo.examples.hibernatesecurity.pages.edit.CoachEdit.onActivate(java.lang.Integer),
 parameter #1: Coercion of coach to type java.lang.Integer (via String 
--> Long, Long --> Integer) failed: For input string: "coach"traceTriggering 
event 'activate' on edit/CoachObtaining value for parameter #1 of 
org.tynamo.examples.hibernatesecurity.pages.edit.CoachEdit.onActivate(java.lang.Integer)java.lang.IllegalArgumentExceptionException
 in method 
org.tynamo.examples.hibernatesecurity.pages.edit.CoachEdit.onActivate(java.lang.Integer),
 parameter #1: Coercion of coach to type java.lang.Integer (via String 
--> Long, Long --> Integer) failed: For input string: 
"coach"java.lang.RuntimeExceptionCoercion of coach to type java.lang.Integer 
(via String --> Long, Long --> Integer) failed: For input string: 
"coach"java.lang.NumberFormatExceptionFor input string: "coach"Filter stack 
frames
Stack trace

java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

java.lang.Long.parseLong(Long.java:410)

java.lang.Long.<init>(Long.java:678)

org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:241)

org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:238)

org.apache.tapestry5.ioc.services.CoercionTuple$CoercionWrapper.coerce(CoercionTuple.java:54)

org.apache.tapestry5.ioc.internal.services.CompoundCoercion.coerce(CompoundCoercion.java:43)

org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl$TargetCoercion.coerce(TypeCoercerImpl.java:71)

org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl.coerce(TypeCoercerImpl.java:146)

org.apache.tapestry5.internal.services.TypeCoercedValueEncoderFactory$1.toValue(TypeCoercedValueEncoderFactory.java:45)

org.apache.tapestry5.internal.services.ContextValueEncoderImpl.toValue(ContextValueEncoderImpl.java:47)

org.apache.tapestry5.internal.URLEventContext.get(URLEventContext.java:43)

org.apache.tapestry5.internal.services.ComponentEventImpl.coerceContext(ComponentEventImpl.java:83)

org.apache.tapestry5.internal.transform.OnEventWorker$10.valueForEventHandlerMethodParameter(OnEventWorker.java:475)

org.apache.tapestry5.internal.transform.EventHandlerMethodParameterSource$1.invoke(EventHandlerMethodParameterSource.java:54)

org.apache.tapestry5.internal.transform.EventHandlerMethodParameterSource.get(EventHandlerMethodParameterSource.java:49)

org.tynamo.examples.hibernatesecurity.pages.edit.CoachEdit.dispatchComponentEvent(CoachEdit.java)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:927)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1112)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3100(ComponentPageElementImpl.java:61)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1057)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1054)

org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:146)

org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1053)

org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.triggerContextEvent(InternalComponentResourcesImpl.java:302)

org.apache.tapestry5.internal.services.PageActivatorImpl.activatePage(PageActivatorImpl.java:34)

org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:68)

org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)

org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)

org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75)

org.apache.tapestry5.services.TapestryModule$40.handle(TapestryModule.java:2458)

org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)

org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)

org.tynamo.security.SecurityComponentRequestFilter.handleComponentEvent(SecurityComponentRequestFilter.java:41)

org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)

org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)

org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)

org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)

org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)

org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)

org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105)

org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95)

org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)

org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119)

org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)

org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44)

org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)

org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)

org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:58)

org.tynamo.security.services.impl.SecurityConfiguration$1.call(SecurityConfiguration.java:53)

org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380)

org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:53)

org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)

org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
Tapestry FrameworkTapestry Version5.3.4Application 
Version1.0-SNAPSHOT-1356444220013RequestContext Pathnone (deployed as 
root)Request Path/edit/coach.formLocaleen_USSecurefalseServer 
NamelocalhostQuery ParametersETeamRole
displayableNameq qemailAddressqencodedPassword
file
firstNameqlastNameqorganization
palette_set-values["legal","associate","manager","director","admin","representative","standard","user","anon","founder","financial"]palette_set_0-values["view","update","read","create","edit","delete"]password
passwordSalt
saveAndReturnOkt:accoach/3t:formdataH4sIAAAAAAAAAN2YS09TQRTHx4ZKsaBIwjMuUMFX9NYIbHChhVQeqQSpj5Uhc++dwpXpzDAzpa2JrljoR3DjF0BdqUtjwsK48SsYP4AbNG504bmlECoP71zTxXXVzOT8zznzm7lzpufFVxQvdaNO4no6Nc6xszhqE8z8IZdKolEuFywsYJ5YGguitKyMWA6XhHo2/BYEZ4RpZY2BKlNVDcxKIrAk99pnkmvlt70xhMqidAL17RnDopwLCGQFDZQF+4ErGyJ/fqJr7VojnA+9P7c6OfT9Jdp0fgYN7O1cSC6I1JVtWBNBw8zWlDVgOaKLIsNWPMlZAQymj8eWPw+lLsXQoSxKbIXRqCP7AK/gFMVsIZXT0mMLV8tCo0RREclwgZROo5N+tNRO/2OUO0tqVJOyznuEupDnyIF52lgRK23DJHb0DV+ymeDgnfXkl84Pv6pZJR3OtOR0BsIuo8eoOVQiadNEwJ9DlMoV7YKnlMfZ+it3OP/j+SfTrZoKuVXjFJzWbVbh7rtH/ZPdPxtxEocNjrm/C/HABHzrwxq15D2p9EzgLfNlR4xlvupo0NR84/a/L7WjATQSFIeAYaaKCotWUsAeTbuuhO/NiIe5MipM2rDj8CLTWUifuKWzaHC/pcHn7SzZvFwHJqQ8KnQ6HElcuLs8TFWmLDwZAtG/+IgKpziUTaL8ZekKFEu+18IEpkRrMq+I3kKT3DEXWBwVJkmYq1V0czJtO+bmL/93bOJikWteuogu7L8sm3LbKgrKsWvlPTheNTRN/sBMGhUsx1xPCYor2KbEuGaHEkeGDGEOd4k7i6H+cnngDSpqNvV0wjqICqHWraxzmGqzx42xMipMEiLscTFXRoVJS+Y2wYU5qNelU6h//ztUEUqc7XpkpooKiyYNizLBEFgQFQKt8N8dM+8h1vBMMSFhLGwMkQPafJkQbb7drZD5m9NPP97/9mSzW9GDunaEU3gFzF2lcQXiXQ8ar9rp0bv7Ps9yG71vXq+Ox1AsixIO9cB6qnqvNGdREiD6+dQ1p5J+Bmnm5iCD+lGpD/XszlQSXZSsuoW34I1Zs5+rzv45/g0BCqqCRhUAAA==t:submit["saveAndReturn","saveAndReturn"]team
usernameqHeadersAccepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Encodinggzip,
 
deflateAccept-Languageen-US,en;q=0.5Connectionkeep-aliveContent-Length3236Content-Typemultipart/form-data;
 
boundary=---------------------------311962194825072CookieJSESSIONID=1sh6owtgpabq81wxc5b1ln80uzHostlocalhost:8080Refererhttp://localhost:8080/edit/coach/3User-AgentMozilla/5.0
 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0Context 
Attributescom.sun.jsp.tagFileJarUrlsCache{}com.sun.jsp.taglibraryCache{}javax.servlet.context.tempdirC:\Prototype\Mavenized\Product\tynamo\trunk\tynamo-examples\hibernatesecurity\target\workorg.apache.tapestry5.application-registryorg.apache.tapestry5.ioc.internal.RegistryWrapper@809883Sessionorg.apache.shiro.subject.support.DefaultSubjectContext_AUTHENTICATED_SESSION_KEYtrueorg.apache.shiro.subject.support.DefaultSubjectContext_PRINCIPALS_SESSION_KEYadminorg.apache.shiro.web.session.HttpServletSession.HOST_SESSION_KEY127.0.0.1sso:org.tynamo.examples.hibernatesecurity.model.AdminLayoutorg.tynamo.examples.hibernatesecurity.model.AdminLayout@1sso:org.tynamo.examples.hibernatesecurity.model.Personadmin
 
adminstate:Home::cursor0state:Home::itemsPerPage10state:Home::tableColumns3state:Home:gallerywidget:collectiona
 aq qw we er rt td df fz zx xv vqq qqeee eeegg ggggggg ggggggxxxxx xxxxxu ub bn 
nzzzzzzzzzzzz zzzzzzzzzzzzvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvzzzzz zzzzzdddddddddd 
ddddddddfffffffff fffffffffffSystem PropertiesMAVEN_OPTS
-Xdebug
awt.toolkit
sun.awt.windows.WToolkit
classworlds.conf
C:\Prototype\Mavenized\Product\.metadata\.plugins\org.maven.ide.eclipse\launches\m2conf8628928330086548638.tmp
downloadJavadocs
true
downloadSources
true
file.encoding
Cp1252
file.encoding.pkg
sun.io
file.separator
\
guice.disable.misplaced.annotation.check
true
java.awt.graphicsenv
sun.awt.Win32GraphicsEnvironment
java.awt.printerjob
sun.awt.windows.WPrinterJob
java.class.path
C:\DEVTOOLS\apache-maven-3.0.3\boot\plexus-classworlds-2.4.jar
java.class.version
50.0
java.endorsed.dirs
C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\endorsed
java.ext.dirs
C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home
C:\DEVTOOLS\sun\jdk1.6.0_32\jre
java.io.tmpdir
C:\Users\Owner\AppData\Local\Temp\
java.library.path
C:\DEVTOOLS\sun\jdk1.6.0_32\bin

C:\Windows\Sun\Java\bin

C:\Windows\system32

C:\Windows

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\bin

C:/Program Files (x86)/Java/jre7/bin/client

C:/Program Files (x86)/Java/jre7/bin

C:/Program Files (x86)/Java/jre7/lib/i386

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common

C:\Windows\system32

C:\Windows

C:\Windows\System32\Wbem

C:\Windows\System32\WindowsPowerShell\v1.0\

C:\Program Files (x86)\Common Files\Ulead Systems\MPEG

C:\Program Files (x86)\Common Files\HP\Digital Imaging\bin

C:\Program Files (x86)\HP\Digital Imaging\bin\

C:\Program Files (x86)\HP\Digital Imaging\bin\Qt\Qt 4.3.3

C:\Program Files\SlikSvn\bin

C:\Program Files\TortoiseSVN\bin

C:\DEVTOOLS\sun\jdk1.6.0_32\bin

C:\DEVTOOLS\apache-maven-3.0.3\bin

C:\MySQL-5.1.46-winx64\bin

C:\Program Files\SlikSvn\bin

C:\USB.Corsair.Survivor\DEVTOOLS\CygWin\bin

C:\apache-tomcat-6.0.26.x64\bin

C:\DEVTOOLS\bat

C:\DEVTOOLS\bat\util

C:\DEVTOOLS\eclipse\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\bin

C:\DEVTOOLS\eclipse




.
java.runtime.name
Java(TM) SE Runtime Environment
java.runtime.version
1.6.0_32-b05
java.specification.name
Java Platform API Specification
java.specification.vendor
Sun Microsystems Inc.
java.specification.version
1.6
java.vendor
Sun Microsystems Inc.
java.vendor.url
http://java.sun.com/
java.vendor.url.bug
http://java.sun.com/cgi-bin/bugreport.cgi
java.version
1.6.0_32
java.vm.info
mixed mode
java.vm.name
Java HotSpot(TM) Client VM
java.vm.specification.name
Java Virtual Machine Specification
java.vm.specification.vendor
Sun Microsystems Inc.
java.vm.specification.version
1.0
java.vm.vendor
Sun Microsystems Inc.
java.vm.version
20.7-b02
line.separator



m2eclipse.workspace.state
C:\Prototype\Mavenized\Product\.metadata\.plugins\org.maven.ide.eclipse\workspacestate.properties
maven.home
C:\DEVTOOLS\apache-maven-3.0.3
maven.test.skip
true
os.arch
x86
os.name
Windows 7
os.version
6.1
path.separator
;
sun.arch.data.model
32
sun.boot.class.path
C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\resources.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\rt.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\sunrsasign.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\jsse.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\jce.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\charsets.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\lib\modules\jdk.boot.jar

C:\DEVTOOLS\sun\jdk1.6.0_32\jre\classes
sun.boot.library.path
C:\DEVTOOLS\sun\jdk1.6.0_32\jre\bin
sun.cpu.endian
little
sun.cpu.isalist
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop
windows
sun.io.unicode.encoding
UnicodeLittle
sun.java.command
org.codehaus.plexus.classworlds.launcher.Launcher -DMAVEN_OPTS=-Xdebug 
-DdownloadSources=true -DdownloadJavadocs=true -B -X -e 
-Dmaven.test.skip=true -s 
C:\DEVTOOLS\apache-maven-3.0.3\conf\settings.xml jetty:run
sun.java.launcher
SUN_STANDARD
sun.jnu.encoding
Cp1252
sun.management.compiler
HotSpot Client Compiler
sun.os.patch.level
Service Pack 1
tapestry.compress-whitespace
false
tapestry.production-mode
false
user.country
US
user.dir
C:\Prototype\Mavenized\Product\tynamo\trunk\tynamo-examples\hibernatesecurity
user.home
C:\Users\Owner
user.language
en
user.name
Owner
user.timezone
America/New_York
user.variant



                                          

Reply via email to