Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Compiler problem when building with Maven

Hi,

I guess you probably half suspect what I'm going to say :)

I see you are on AspectJ1.6.5 - can you upgrade?  The problem in the
original attachment is due to 'P' signatures (an internal optimized
type of signature we use) leaking out into the class files we create.
There were one or two bugs fixed related to those during 1.6.6
development (eg. https://bugs.eclipse.org/bugs/show_bug.cgi?id=284297
- slightly different manifestation but the same underlying issue).

Andy

2009/11/9 prg@xxxxxxxxxxxxxxx <prg@xxxxxxxxxxxxxxx>:
> Andy Clement schrieb:
>> Do you think this NPE may be what is triggering the crash out of the
>> maven build process? I'm guessing something must have changed to
>> start triggering this issue - did you switch compiler levels, or
>> change something else?
>
>
> Hi Andy,
>
> so it seems we've gotten two different problems here.
> Generally speaking, we're in the transition from building with Ant
> to a Maven based build; and in order to get it working, we've splitted
> up our project into dependent modules and now are working our way up
> through the dependency hierarchy to make things first compile
> (and later run again on the server).
>
> That said -- it's thus a bit difficult to compare the "previous"
> and the new situation. Anyway, building the rearranged projects
> in Eclipse (AspectJ = 1.6.6.20090930185500) works.
> >From the AJCore I see that the 1.3-SNAPSHOT version of the
> maven/AspecJ plugin uses AspectJ 1.6.5 from 20090618-034232
>
> * the IllegalStateException from the first AJCore (attached to my mail)
>   seems to be connected to an "perthis" aspect. (I am about to try to
>   get this one more isolated). We saw this exception several times the
>   last days on slightly different (generic) types, but always in
>   conjunction with this aspect.
>
> * the Null pointer exception from the AJCore attached to Maxim's mail
>   seems to be triggered by missing dependencies, judging from the
>   compiler messages immediately before the stacktrace (see bottom
>   of the AJCore). We changed the project dependencies in order
>   to avoid weaving in the aspect known to trigger the first
>   problem -- but anyway, missing dependencies are something
>   that can be sorted out.
>
> Hermann V.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top