Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError
thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #26248] Tue, 30 September 2003 15:58 Go to next message
Eclipse UserFriend
Originally posted by: stoerzer.fmi.uni-passau.de

Hi everybody!

I have a problem using the thisJoinPoint construct when calling
getSignature(). Unfortunately, I always get a
IncompatibleClassChangeError. Here is an example:

public aspect Alpha {
pointcut test() : execution(* * (..)) && within(Foo);
after() : test() {
System.out.println(thisJoinPoint.getSignature());
}

public static void main(String[] args) {
Foo f = new Foo();
f.f();
}
}

class Foo {
void f() {
}
}

Result:
131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
Alpha
Exception in thread "main" java.lang.IncompatibleClassChangeError
at Alpha.ajc$after$Alpha$54(Alpha.java:4)
at Foo.f(Alpha.java:15)
at Alpha.main(Alpha.java:9)


I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
1.4.2. on Linux (RedHat 7.1.) and WinXP.

It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
any signature changes for the AspectJ API?

Can anyone help?

Thanks in advance,

Max

--
Maximilian Stoerzer
Lehrstuhl Software Systeme - FMI - University of Passau
Tel: +49 851 509 3096, eMail: stoerzer@fmi.uni-passau.de
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #26332 is a reply to message #26248] Wed, 01 October 2003 07:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stoerzer.fmi.uni-passau.de

Followup:
If compiler compliance is set to Java 1.3 in the Eclipse preference,
everything works fine, when set to 1.4, the exception occurs.

Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
1.1.1?

Regards,
Max

Maximilian Stoerzer wrote:
> Hi everybody!
>
> I have a problem using the thisJoinPoint construct when calling
> getSignature(). Unfortunately, I always get a
> IncompatibleClassChangeError. Here is an example:
>
> public aspect Alpha {
> pointcut test() : execution(* * (..)) && within(Foo);
> after() : test() {
> System.out.println(thisJoinPoint.getSignature());
> }
>
> public static void main(String[] args) {
> Foo f = new Foo();
> f.f();
> }
> }
>
> class Foo {
> void f() {
> }
> }
>
> Result:
> 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> Alpha
> Exception in thread "main" java.lang.IncompatibleClassChangeError
> at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> at Foo.f(Alpha.java:15)
> at Alpha.main(Alpha.java:9)
>
>
> I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> 1.4.2. on Linux (RedHat 7.1.) and WinXP.
>
> It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> any signature changes for the AspectJ API?
>
> Can anyone help?
>
> Thanks in advance,
>
> Max
>
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #27078 is a reply to message #26332] Fri, 24 October 2003 21:21 Go to previous messageGo to next message
Julie Waterhouse is currently offline Julie WaterhouseFriend
Messages: 42
Registered: July 2009
Member
It was a bug. It's been fixed in the tree. See
http://bugs.eclipse.org/bugs/show_bug.cgi?id=45441

Regards,

Julie
AJDT Team

Maximilian Stoerzer wrote:

> Followup:
> If compiler compliance is set to Java 1.3 in the Eclipse preference,
> everything works fine, when set to 1.4, the exception occurs.

> Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
> 1.1.1?

> Regards,
> Max

> Maximilian Stoerzer wrote:
> > Hi everybody!
> >
> > I have a problem using the thisJoinPoint construct when calling
> > getSignature(). Unfortunately, I always get a
> > IncompatibleClassChangeError. Here is an example:
> >
> > public aspect Alpha {
> > pointcut test() : execution(* * (..)) && within(Foo);
> > after() : test() {
> > System.out.println(thisJoinPoint.getSignature());
> > }
> >
> > public static void main(String[] args) {
> > Foo f = new Foo();
> > f.f();
> > }
> > }
> >
> > class Foo {
> > void f() {
> > }
> > }
> >
> > Result:
> > 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> > Alpha
> > Exception in thread "main" java.lang.IncompatibleClassChangeError
> > at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> > at Foo.f(Alpha.java:15)
> > at Alpha.main(Alpha.java:9)
> >
> >
> > I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> > 1.4.2. on Linux (RedHat 7.1.) and WinXP.
> >
> > It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> > any signature changes for the AspectJ API?
> >
> > Can anyone help?
> >
> > Thanks in advance,
> >
> > Max
> >
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #27117 is a reply to message #26332] Fri, 24 October 2003 21:23 Go to previous message
Julie Waterhouse is currently offline Julie WaterhouseFriend
Messages: 42
Registered: July 2009
Member
It was a bug. It's been fixed in the tree. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=45441

Regards,

Julie
AJDT Team

Maximilian Stoerzer wrote:

> Followup:
> If compiler compliance is set to Java 1.3 in the Eclipse preference,
> everything works fine, when set to 1.4, the exception occurs.

> Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
> 1.1.1?

> Regards,
> Max

> Maximilian Stoerzer wrote:
> > Hi everybody!
> >
> > I have a problem using the thisJoinPoint construct when calling
> > getSignature(). Unfortunately, I always get a
> > IncompatibleClassChangeError. Here is an example:
> >
> > public aspect Alpha {
> > pointcut test() : execution(* * (..)) && within(Foo);
> > after() : test() {
> > System.out.println(thisJoinPoint.getSignature());
> > }
> >
> > public static void main(String[] args) {
> > Foo f = new Foo();
> > f.f();
> > }
> > }
> >
> > class Foo {
> > void f() {
> > }
> > }
> >
> > Result:
> > 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> > Alpha
> > Exception in thread "main" java.lang.IncompatibleClassChangeError
> > at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> > at Foo.f(Alpha.java:15)
> > at Alpha.main(Alpha.java:9)
> >
> >
> > I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> > 1.4.2. on Linux (RedHat 7.1.) and WinXP.
> >
> > It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> > any signature changes for the AspectJ API?
> >
> > Can anyone help?
> >
> > Thanks in advance,
> >
> > Max
> >
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #571599 is a reply to message #26248] Wed, 01 October 2003 07:24 Go to previous message
Maximilian Stoerzer is currently offline Maximilian StoerzerFriend
Messages: 4
Registered: July 2009
Junior Member
Followup:
If compiler compliance is set to Java 1.3 in the Eclipse preference,
everything works fine, when set to 1.4, the exception occurs.

Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
1.1.1?

Regards,
Max

Maximilian Stoerzer wrote:
> Hi everybody!
>
> I have a problem using the thisJoinPoint construct when calling
> getSignature(). Unfortunately, I always get a
> IncompatibleClassChangeError. Here is an example:
>
> public aspect Alpha {
> pointcut test() : execution(* * (..)) && within(Foo);
> after() : test() {
> System.out.println(thisJoinPoint.getSignature());
> }
>
> public static void main(String[] args) {
> Foo f = new Foo();
> f.f();
> }
> }
>
> class Foo {
> void f() {
> }
> }
>
> Result:
> 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> Alpha
> Exception in thread "main" java.lang.IncompatibleClassChangeError
> at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> at Foo.f(Alpha.java:15)
> at Alpha.main(Alpha.java:9)
>
>
> I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> 1.4.2. on Linux (RedHat 7.1.) and WinXP.
>
> It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> any signature changes for the AspectJ API?
>
> Can anyone help?
>
> Thanks in advance,
>
> Max
>
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #572343 is a reply to message #26332] Fri, 24 October 2003 21:21 Go to previous message
Julie Waterhouse is currently offline Julie WaterhouseFriend
Messages: 42
Registered: July 2009
Member
It was a bug. It's been fixed in the tree. See
http://bugs.eclipse.org/bugs/show_bug.cgi?id=45441

Regards,

Julie
AJDT Team

Maximilian Stoerzer wrote:

> Followup:
> If compiler compliance is set to Java 1.3 in the Eclipse preference,
> everything works fine, when set to 1.4, the exception occurs.

> Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
> 1.1.1?

> Regards,
> Max

> Maximilian Stoerzer wrote:
> > Hi everybody!
> >
> > I have a problem using the thisJoinPoint construct when calling
> > getSignature(). Unfortunately, I always get a
> > IncompatibleClassChangeError. Here is an example:
> >
> > public aspect Alpha {
> > pointcut test() : execution(* * (..)) && within(Foo);
> > after() : test() {
> > System.out.println(thisJoinPoint.getSignature());
> > }
> >
> > public static void main(String[] args) {
> > Foo f = new Foo();
> > f.f();
> > }
> > }
> >
> > class Foo {
> > void f() {
> > }
> > }
> >
> > Result:
> > 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> > Alpha
> > Exception in thread "main" java.lang.IncompatibleClassChangeError
> > at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> > at Foo.f(Alpha.java:15)
> > at Alpha.main(Alpha.java:9)
> >
> >
> > I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> > 1.4.2. on Linux (RedHat 7.1.) and WinXP.
> >
> > It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> > any signature changes for the AspectJ API?
> >
> > Can anyone help?
> >
> > Thanks in advance,
> >
> > Max
> >
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #572356 is a reply to message #26332] Fri, 24 October 2003 21:23 Go to previous message
Julie Waterhouse is currently offline Julie WaterhouseFriend
Messages: 42
Registered: July 2009
Member
It was a bug. It's been fixed in the tree. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=45441

Regards,

Julie
AJDT Team

Maximilian Stoerzer wrote:

> Followup:
> If compiler compliance is set to Java 1.3 in the Eclipse preference,
> everything works fine, when set to 1.4, the exception occurs.

> Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
> 1.1.1?

> Regards,
> Max

> Maximilian Stoerzer wrote:
> > Hi everybody!
> >
> > I have a problem using the thisJoinPoint construct when calling
> > getSignature(). Unfortunately, I always get a
> > IncompatibleClassChangeError. Here is an example:
> >
> > public aspect Alpha {
> > pointcut test() : execution(* * (..)) && within(Foo);
> > after() : test() {
> > System.out.println(thisJoinPoint.getSignature());
> > }
> >
> > public static void main(String[] args) {
> > Foo f = new Foo();
> > f.f();
> > }
> > }
> >
> > class Foo {
> > void f() {
> > }
> > }
> >
> > Result:
> > 131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
> > Alpha
> > Exception in thread "main" java.lang.IncompatibleClassChangeError
> > at Alpha.ajc$after$Alpha$54(Alpha.java:4)
> > at Foo.f(Alpha.java:15)
> > at Alpha.main(Alpha.java:9)
> >
> >
> > I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
> > 1.4.2. on Linux (RedHat 7.1.) and WinXP.
> >
> > It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
> > any signature changes for the AspectJ API?
> >
> > Can anyone help?
> >
> > Thanks in advance,
> >
> > Max
> >
Previous Topic:Ant build Aspect Project from with eclipse
Next Topic:Sharing aspects between AspectJ projects
Goto Forum:
  


Current Time: Tue Mar 19 08:06:04 GMT 2024

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

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

Back to the top