Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumscflow error :
https://www.eclipse.org/forums/index.php/mv/msg/20231/64925/#msg_64925
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)
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]]>danny foncke2006-05-19T09:32:48-00:00Re: cflow error : Problem solved
https://www.eclipse.org/forums/index.php/mv/msg/20231/65037/#msg_65037
an old (27/10/2005) aspectjrt.jar was added to the windows system classpath
how the file ended up there ? I have no clue
Danny
danny wrote:
> 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]]>danny foncke2006-05-19T12:49:10-00:00Re: cflow error : Problem solved
https://www.eclipse.org/forums/index.php/mv/msg/20231/593740/#msg_593740
an old (27/10/2005) aspectjrt.jar was added to the windows system classpath
how the file ended up there ? I have no clue
Danny
danny wrote:
> 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]]>danny foncke2006-05-19T12:49:10-00:00