Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] java.lang.AbstractMethodError?

I just saw some behavior that I thought was a little bit weird and was wondering if someone could explain how it might happen.

A class advised by a (surprise!) ITD is throwing an AbstractMethodError from within an $interMethodDispatch1$ method. The class is compiling fine and has an implementation of the method in question both in the ITD and directly within the advised class. Seems to me like this shouldn't be possible.... If the method has no implementation (and I can't see inside the $interMethodDispatch1$ call, so I'm not sure what exactly is throwing the error, but regardless) then the class shouldn't compile in the first place. Or am I missing something..... Some stack below:

Caused by: java.lang.AbstractMethodError
at h2.actions.SelectActionAspect.ajc $interMethodDispatch1$h2_actions_SelectActionAspect $h2_actions_SelectAction$setSele
cted(SelectActionAspect.aj)
at h2 .actions.AbstractSelectAction.setSelectedId(AbstractSelectAction.java: 57) at h2.actions.SelectActionAspect.ajc $interMethodDispatch1$h2_actions_SelectActionAspect $h2_actions_SelectAction$setSele
ctedId(SelectActionAspect.aj)
at mhc .training .TrainingProgramAction.setSelectedId(TrainingProgramAction.java:86)

Dave



Back to the top