[ http://issues.apache.org/jira/browse/TAPESTRY-344?page=comments#action_12323140 ]
Kevin J. Menard, Jr. commented on TAPESTRY-344: ----------------------------------------------- I've run into an issue recently where I didn't implement an abstract method, and Tapestry reported back the wrong method as being unimplemented. Clearly I was at fault for not implementing the method, but I had an abstract getter marked @Persist, and Tapestry indicated that was the one at fault. Perplexed, I spent a few hours trying to figure out if @Persist couldn't be inherited or something before I caught the error. Anyway, just adding another anecdote as to why this bug hurts. > Unimplemented abstract method check broken > ------------------------------------------ > > Key: TAPESTRY-344 > URL: http://issues.apache.org/jira/browse/TAPESTRY-344 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 4.0 > Reporter: Howard M. Lewis Ship > > Inadventently left off the implementation of a method (specified by an > interface). I should have gotten an early exception about the unimplemented > method, but instead, got a late exception when attempting to invoke the > missing method: > org.apache.hivemind.ApplicationRuntimeException > Failure invoking listener method 'public void > com.vaisala.ww.ui.components.WizardForm.doFormSubmit()' on [EMAIL > PROTECTED]/RegistrationWizard/wizardForm]: > $Credentials_83.validateSubmission(Lorg/apache/tapestry/valid/IValidationDelegate;)V > component: [EMAIL PROTECTED]/RegistrationWizard/wizardForm] > location: context:/regwiz/RegistrationWizard.html, line 3 > 1 <html jwcid="@Border"> > 2 > 3 <div jwcid="[EMAIL PROTECTED]" > 4 pageNames="regwiz/Credentials,regwiz/Contact,regwiz/Billing"/> > 5 > 6 </html> > > java.lang.AbstractMethodError > $Credentials_83.validateSubmission(Lorg/apache/tapestry/valid/IValidationDelegate;)V > Stack Trace: > * com.vaisala.ww.ui.components.WizardForm.doFormSubmit(WizardForm.java:84) > * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > * > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > * > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > * java.lang.reflect.Method.invoke(Method.java:585) > * > org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:183) > * > org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:151) > * > org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:122) > * > org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:63) > * > org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:51) > * > org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:51) > * > $ListenerInvoker_1047d032c35.invokeListener($ListenerInvoker_1047d032c35.java) -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
