Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » cflow error :
cflow error : [message #593672] Fri, 19 May 2006 09:32
danny foncke is currently offline danny fonckeFriend
Messages: 92
Registered: July 2009
Member
hi,

using :
Eclipse AspectJ Development Tools
Version: 1.3.1
Build id: 20060410063641
AspectJ version: 1.5.1a

trying to execute a very very simple cflow i get
ava.lang.NoSuchMethodError:
org.aspectj.runtime.internal.cflowstack.ThreadStackFactory.g etNewThreadCounter()Lorg/aspectj/runtime/internal/cflowstack /ThreadCounter;
at org.aspectj.runtime.internal.CFlowCounter.<init>(CFlowCounter.java:33)
at x.y.log.CallTrace.ajc$preClinit(CallTrace.aj:1)
at x.y.log.CallTrace.<clinit>(CallTrace.aj)
at
x.y.someapp.TestSignatureThirdLevel.<clinit>(TestSignatureThirdLevel.java:1)


the code :
public aspect CallTrace {

pointcut callInitialPointcut( ) : call(
* x.y.someapp.TestSignatureSecondLevel.testNoArguments());


pointcut testTrace():
cflow(callInitialPointcut( ))
&& !within(x.y.log..*);

before(): testTrace() && !within(CallTrace +) {
System.out.println(
"matched joinpoint = "+
thisJoinPoint);
}



probably a very very stupid thing I do, or don't do

If somebody can tell me what ?

if I try a : before(): callIntialPointcut() ...........
-> no problem : finds one match

if I try a : before(): testTrace() ...........
-> above problem
AND
-> finds matches (reported through eclipse) for numerous non-related
jointpoints


Thanks in advance

Danny
Previous Topic:A question about using AJDT in plugin projects
Next Topic:AJDT New Feature: Drag and drop aspects
Goto Forum:
  


Current Time: Thu Apr 25 04:35:49 GMT 2024

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top