[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Exception ajdt

Hi

I have filed a bug. 

Hermod 
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andrew Eisenberg
Sent: Thursday, November 20, 2008 5:12 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Exception ajdt

This seems like a bug.  Please file one under AspectJ.

Looks like the aspectj builder is trying to send a message to the
previous state, but the previous state is null because there are errors
in the program (likely a successful build has never completed) and a NPE
is thrown.

--a

On Thu, Nov 20, 2008 at 3:23 AM,  <hermod.opstvedt@xxxxxxxxx> wrote:
> Hi
>
> Before posting a bug for ajdt, I was wondering if anybody else is 
> experiencing a problem with it. The scenario is that if there is any 
> kind error in my aspect (missing import, mispelled variable etc.) I 
> get the following exception from ajdt when I save it:
>
> java.lang.NullPointerException
> at
> org.aspectj.ajde.core.internal.AjdeCoreBuildManager.performBuild(AjdeC
> or
> eBuildManager.java:121)
> at org.aspectj.ajde.core.AjCompiler.build(AjCompiler.java:88)
> at org.eclipse.ajdt.core.builder.AJBuilder.build(AJBuilder.java:228)
> at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
> 63
> 3)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.internal.events.B ...
> oBuildJob.run(AutoBuildJob.java:238)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> Compile error: NullPointerException thrown: null
>
>
> I am using version 1.6.1.20081104192500
>
> Hermod
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * *
>
> This email with attachments is solely for the use of the individual or

> entity to whom it is addressed. Please also be aware that the DnB NOR 
> Group cannot accept any payment orders or other legally binding 
> correspondence with customers as a part of an email.
>
> This email message has been virus checked by the anti virus programs 
> used in the DnB NOR Group.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * *
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *