Skip to main content

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

AspectJ 5 M2 (despite being the last published milestone, we're
looking to rectify that real soon now) was a long time ago in terms of
codebase development. If you use the latest development build do you
still see the problem? Please raise a bug report if so, but hopefully
the issue has been fixed.

On 21/08/05, Nemanja Kostic <n.kostic@xxxxxxxxxxxxxxxx> wrote:
> Hi,
> 
>    I am getting this strange exception:
> 
> Exception in thread "main" java.lang.AbstractMethodError:
> com.aspectcms.service.components.cache.Cache.init(Lcom/aspectcms/IEngine;)V
>     at
> com.aspectcms.service.content.Content.getContentById_aroundBody3$advice(Content.java:163)
>     at com.aspectcms.service.content.Content.getContentById(Content.java:1)
>     at AspectCMSTester.main(AspectCMSTester.java:19)
> 
> it happens on a line in my aspect:  cache.init(engine);
> 
> cache is interface visible to aspect, engine is also interface visible
> to aspect.
> Implementation of cache interface is
> com.aspectcms.service.components.cache.Cache which
> is dynamicaly loaded in the aspect just before line above.
> 
> The rest of Cache methods works fine, just this one where I try to pass
> interface as a type
> breaks with the above exception.
> 
> Am I doing something wrong or this is bug?  I am using AspectJ 1.5M2.
> I saw that same problem happened before (bug 49657) but it seems to be
> resolved in 1.2.1 version.
> 
> Rgds,
> Nemanja.
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 


-- 
-- Adrian
adrian.colyer@xxxxxxxxx


Back to the top