[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] AspectJ 1.5.3: java.lang.NullPointerException at org.aspectj.apache.bcel.generic.MethodGen
- From: "Andy Clement" <andrew.clement@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 16:26:57 +0000
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t8vv67fF/YQtKnAnM1eBKJ2Kj9zaXwzp2w8Ne4CTgmbd3ils5Yc7hZ2HmOOmwMBk/yj32ID2qpvOUl5tlZ28mecQ5KiW5sgdnTJG+mXh5zsgBGZHw6mIyLgIjt2tRLWhLAfYDBbFQj+z7S5nG0dSkXh88/LIJ7DiC9w8Yusxr2I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uHRgSNEdSflaHKj6T/X6UQ2yNQ5CaK1F2kGgGQoBJGphe9wG2rZD/R/eG1f03v/yxN+jpDj0LZL/vYWAODQSbRFL6kpc9uISCiWWxkpSCNDBsXEUNhv8H3PJyEV5IhDDM0h5UQRsEnKopzc0pTfmAh53zXBlnGOkA6M1KzBcfNw=
I'm including one of the ajcore files generated when I get the NPE (I get
over 30 ajcore files each time I run the program in the profiler...)
thanks for that.
java.lang.VerifyError: Unable to pop operan when not using -XnoInline
Are you writing annotation style aspects or code style aspects?
Yes, I'm using annotation style aspects. I'm also defining pointcuts on
annotations and pointcuts that weave into classes with parameterized types
(which I suspect is related to the StackOverflowError I reported on a
previous email... and by looking to the bugzilla entry you indicated, they
might be responsible for the NPE also).
With code style aspects we can do more type checking than we can for
annotation style aspects - and there are some bugs related to
specification of parameters for around advice, when using annotation
style, that manifest as this kind of failure (StackOverflow) - when
code style would work perfectly. This is why when I saw your failure,
I assumed annotation style syntax.
The NPE failure is in a piece of code that is processing the
linenumbertable - but non of the attached decompiled fragments you
have included show any of the methods actually has a line number
table, I only see code attributes for the methods. Are you able to
send me (privately if needs be) the .class file that is proving