[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-users] RuntimeException: cannot register non aspect?
|
- From: Daniel <daniel.rampanelli@xxxxxxxxx>
- Date: Wed, 19 Aug 2009 16:30:36 +0200
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=fcnji09mmuEAFIHVTRLbPo2AbXqmS8EkGWlWYjg7JB8=; b=QaGcL/RSaUIXpReSB6u5raw1bpMdcrk/mdYvWQpsplSHzWECxdx/G2jpy0JXAVDFeR 5hnC9Me4FeCpznN9xCS3zR1Md4VwYE4/6jw5tUQTQ5YMQhOSAYWzOVMOcgJ/SK8kaDVz YKSXaRXNT36Lyp2w37TPb47rQR27OtJn+Ns9E=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=VAr46uIF01bHsJciY57EQ7kvuE5OfBXs9xYoBn6EH7YyvQLMI+FTvStlsUgsHMf3/3 neaG5lx7n33tDkEZ2S1Rj0+jeMWhSKFY0YnsjrUjr4p669Ut6hLvsjcVylo7RlE1tgmt XuJNw+0Z+s3exalVTNmFR6z+U23f3+aB7pRVc=
Hi to everyone,
I'm working on a Eclipse RCP application and I obviously am using
aspects in my software. So, I setup a special bundle containing the
aspects and the aop.xml (in the META-INF folder). The weaving is
performed by the functionality provided by Equinox Aspects bundle.
That means I have,
client bundle : containing classes that are to be woven
aspect bundle : containing aspects and aop.xml
As long as I'm using Eclipse to start and run my application,
everything is fine. But today I tried to export the software and I
discovered this exception stack trace in the Console.
8/19/09 3:58:50 PM [0x0-0xd80d8].org.eclipse.eclipse[2546]
java.lang.RuntimeException: Cannot register non aspect:
client$aspects$ThreadSafeExecutor , client.aspects.ThreadSafeExecutor
8/19/09 3:58:50 PM [0x0-0xd80d8].org.eclipse.eclipse[2546] at
org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspect(BcelWeaver.java:219)
8/19/09 3:58:50 PM [0x0-0xd80d8].org.eclipse.eclipse[2546] at
org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerAspects(ClassLoaderWeavingAdaptor.java:432)
8/19/09 3:58:50 PM [0x0-0xd80d8].org.eclipse.eclipse[2546] at
org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerDefinitions(ClassLoaderWeavingAdaptor.java:267)
[...]
The software is being deployed with all the needed bundles and
dependencies and I also checked that the aspects are being included in
the binary build of the bundle.
Has anybody a clue about my problem?
Daniel