[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] java.lang.VerifyError


Any java.lang.VerifyError is indication of a bug (unless you've been using the -XnoWeave option). Please could you submit a bug report? If you are able to attach a self-contained test case to the bug report that reproduces the error that would be very helpful too.

Thanks, Adrian.

-- Adrian
Adrian_Colyer@xxxxxxxxxx



Irum Godil <softwarengineer2004@xxxxxxxxx>
Sent by: aspectj-users-admin@xxxxxxxxxxx

26/01/2005 04:41

Please respond to
aspectj-users@xxxxxxxxxxx

To
AJDT USER <aspectj-users@xxxxxxxxxxx>
cc
Subject
[aspectj-users] java.lang.VerifyError





Hi,
 
I am weaving my aspects in the code, and I keep getting the java.lang.VerifyError.
 
Basically, the situation is as follows. I have an abstract class; which has a constructor defined in it. I moved that constructor into an aspect and I get the error now on running. Following is the error from Eclipse.
 
Can someone please tell me what to do?
 
thanks a lot.
 

java.lang.VerifyError: (class: aspects/clock/weave/ClockPublisher, method: ajc$postInterConstructor$aspects_clock_weave_ClockPublisher$org_prevayler_implementation_publishing_CentralPublisher signature: (Lorg/prevayler/implementation/publishing/CentralPublisher;Laspects/clock/Clp\5

at org.prevayler.implementation.publishing.AbstractPublisher.<init>(AbstractPublisher.java:18)

at org.prevayler.implementation.publishing.CentralPublisher.<init>(CentralPublisher.java:48)

at org.prevayler.implementation.publishing.CentralPublisher.<init>(CentralPublisher.java)

at aspects.snapshot.weave.SnapshotFactoryAspect.init$_aroundBody3$advice(SnapshotFactoryAspect.aj:239)

at aspects.snapshot.weave.SnapshotFactoryAspect.publisher_aroundBody4(SnapshotFactoryAspect.aj:37)

at aspects.snapshot.weave.SnapshotFactoryAspect.publisher_aroundBody5$advice(SnapshotFactoryAspect.aj:420)

at aspects.snapshot.weave.SnapshotFactoryAspect.ajc$interMethod$aspects_snapshot_weave_SnapshotFactoryAspect$org_prevayler_PrevaylerFactory$publisher(SnapshotFactoryAspect.aj)

at org.prevayler.PrevaylerFactory.ajc$interMethodDispatch2$aspects_snapshot_weave_SnapshotFactoryAspect$publisher(PrevaylerFactory.java)

at aspects.snapshot.weave.SnapshotFactoryAspect.ajc$interMethodDispatch1$aspects_snapshot_weave_SnapshotFactoryAspect$org_prevayler_PrevaylerFactory$publisher(SnapshotFactoryAspect.aj)

at aspects.snapshot.weave.SnapshotFactoryAspect.ajc$around$aspects_snapshot_weave_SnapshotFactoryAspect$2$61470fd9(SnapshotFactoryAspect.aj:57)

at aspects.persistentLogging.weave.PersistentAspect.ajc$interMethod$aspects_persistentLogging_weave_PersistentAspect$org_prevayler_PrevaylerFactory$createPrevayler(PersistentAspect.aj:49)

at org.prevayler.PrevaylerFactory.createPrevayler(PrevaylerFactory.java)

at aspects.persistentLogging.weave.PersistentAspect.ajc$interMethodDispatch1$aspects_persistentLogging_weave_PersistentAspect$org_prevayler_PrevaylerFactory$createPrevayler(PersistentAspect.aj)

at org.prevayler.demos.demo2.Main.createTransientPrevayler_aroundBody1$advice(Main.java:119)

at org.prevayler.demos.demo2.Main.main(Main.java:21)


Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.