Hi Andy,
I've seen that if you exclude the aspect from being woven in the XML
configuration for ltw - we must be able to weave the aspect if you are
using cflow since it will have that field added to it. See bugs like
https://bugs.eclipse.org/bugs/show_bug.cgi?id=166647
Are you including the aspect in what can be woven?
Thanks for the quick pointer to the bug. My issue seems to be closely
related but also slightly different... ;-)
In my case I have an abstract aspect containing the cflow pointcut and a
concrete aspect inheriting from that aspect (so no aop.xml-based concretized
aspect). And in my setting the abstract aspect seems to be excluded from
weaving. Could that cause the problem? And has this behavior changed really
between the builds I mentioned? I just wanna be sure where the problem is to
find a good solution for my case... :-)
Thanks a lot for your help!
-Martin
Andy.
2008/5/2 Martin Lippert <lippert@xxxxxxx>:
Hi!
When using load-time weaving with AJDT 1.5.2 I get this exception:
java.lang.NoSuchFieldError: ajc$cflowCounter$0
(invoking a woven class)
I tried to track this down. Seems like this problem was introduced by
build
1.5.2.200804031532 of AJDT. It worked well with the previous build
1.5.2.200801291327.
Any idea what is going on?
Thanks in advance!
-Martin
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev