Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » An internal error occurred during: "BuildConfiguration change action".
An internal error occurred during: "BuildConfiguration change action". [message #69175] Fri, 12 January 2007 16:23 Go to next message
Dwight Carter is currently offline Dwight Carter
Messages: 4
Registered: July 2009
Junior Member
I am getting a lot of these errors when I convert a java project to an
aspectj project.

I have one project (call it project A) which contains my aspects for
logging. I have a couple other projects that contain the java code
which the aspects will be weaved into. These other projects are in cvs
as java projects, and since most of the developers do not need the
logging aspect to be weaved, we plan to leave these as java projects. I
hijack the .classpath and .project files for these java projects, and
convert them to java projects for the weaving. I have specified the bin
folder of the A project in the aspectpath. Seems to be working fine but
whenever I convert from a java project to a aspectj project I get these
error popups.

In the .log file, they show up as:
!ENTRY org.eclipse.core.runtime 4 2 Jan 11, 2007 17:36:16.180
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/QuestPersistence
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

Initially, I was not getting these errors. I believe they started
occurring when I added the build.ajproperties and
org.eclipse.ajdt.ui.prefs files for the java projects to cvs source
control. I get them even if I hijack these files prior to converting
the java project to an aspectj project.

I am running Rational Software Architect 6.0.1.1 with interim fix 3a
applied. My understanding is that this is based on Eclipse 3.0.2. I am
using the Eclipse AspectJ Development Tools 1.2.3.20061123081404.

Thanks for your help.
Re: An internal error occurred during: "BuildConfiguration change action". [message #69196 is a reply to message #69175] Fri, 12 January 2007 17:04 Go to previous messageGo to next message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hi Dwight,

Firstly, is it possible for you to upgrade to V7, based on Eclipse 3.2?
This would allow you to use AJDT 1.4.1, which is much improved,
particular in the buildconfig area that appears to be causing the
problems here (from the stack trace).

If that's not feasible, then we'll have to dig a little deeper. Can you
reproduce this error with a small test project?

Regards,

Matt.

Dwight Carter wrote:
> I am getting a lot of these errors when I convert a java project to an
> aspectj project.
>
> I have one project (call it project A) which contains my aspects for
> logging. I have a couple other projects that contain the java code
> which the aspects will be weaved into. These other projects are in cvs
> as java projects, and since most of the developers do not need the
> logging aspect to be weaved, we plan to leave these as java projects. I
> hijack the .classpath and .project files for these java projects, and
> convert them to java projects for the weaving. I have specified the bin
> folder of the A project in the aspectpath. Seems to be working fine but
> whenever I convert from a java project to a aspectj project I get these
> error popups.
>
> In the .log file, they show up as:
> !ENTRY org.eclipse.core.runtime 4 2 Jan 11, 2007 17:36:16.180
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/QuestPersistence
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
>
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> Initially, I was not getting these errors. I believe they started
> occurring when I added the build.ajproperties and
> org.eclipse.ajdt.ui.prefs files for the java projects to cvs source
> control. I get them even if I hijack these files prior to converting
> the java project to an aspectj project.
>
> I am running Rational Software Architect 6.0.1.1 with interim fix 3a
> applied. My understanding is that this is based on Eclipse 3.0.2. I am
> using the Eclipse AspectJ Development Tools 1.2.3.20061123081404.
>
> Thanks for your help.
Re: An internal error occurred during: "BuildConfiguration change action". [message #69217 is a reply to message #69196] Fri, 12 January 2007 18:21 Go to previous messageGo to next message
Dwight Carter is currently offline Dwight Carter
Messages: 4
Registered: July 2009
Junior Member
Matt,

Unfortunately, I'm working on a large project and we are keeping all
developers on the same release of RSA, so upgrading is not an option.

First, let me correct an error in my earlier note. We are using
Clearcase, not cvs. We are using snapshot views, which means that we
have directories on our local harddrives that basically mirror what is
on the server. Clearcase changes the files to readonly so that we
cannot change them. When we check them out or hijack them the readonly
attribute is unchecked.

I just created a new Java project in an external directory that isn't
under clearcase control, and I can convert it to aspectj and back
without the error.

I then created a new Java project (no code in it yet) in a new external
directory that is in a directory that is under clearcase control, and I
get errors when I attempt to convert it to aspectj.

I received the following errors the first time I try to convert it to
aspectj.

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
!MESSAGE An internal error occurred during: "Build configuration update".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
Source)
at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)


If I convert it back to a java project, I then get the following error
on subsequent attempts to convert to aspectj:

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

At this point, the new project has not been added to source control, it
is just in a folder that is in a folder that is under clearcase control.

This certainly seems to have something to do with clearcase but I'm not
sure what since at this point the new project has not yet been added to
source control so clearcase should not care about it.

Thoughts?
Re: An internal error occurred during: "BuildConfiguration change action". [message #69260 is a reply to message #69217] Fri, 12 January 2007 19:58 Go to previous messageGo to next message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hmm, it looks like some sort of resource locking issue, between the
ClearCase team provider and AJDT. I'll need to investigate further.

--Matt.

Dwight Carter wrote:
> Matt,
>
> Unfortunately, I'm working on a large project and we are keeping all
> developers on the same release of RSA, so upgrading is not an option.
>
> First, let me correct an error in my earlier note. We are using
> Clearcase, not cvs. We are using snapshot views, which means that we
> have directories on our local harddrives that basically mirror what is
> on the server. Clearcase changes the files to readonly so that we
> cannot change them. When we check them out or hijack them the readonly
> attribute is unchecked.
>
> I just created a new Java project in an external directory that isn't
> under clearcase control, and I can convert it to aspectj and back
> without the error.
>
> I then created a new Java project (no code in it yet) in a new external
> directory that is in a directory that is under clearcase control, and I
> get errors when I attempt to convert it to aspectj.
>
> I received the following errors the first time I try to convert it to
> aspectj.
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
> !MESSAGE An internal error occurred during: "Build configuration update".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
> Source)
> at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
>
> If I convert it back to a java project, I then get the following error
> on subsequent attempts to convert to aspectj:
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> At this point, the new project has not been added to source control, it
> is just in a folder that is in a folder that is under clearcase control.
>
> This certainly seems to have something to do with clearcase but I'm not
> sure what since at this point the new project has not yet been added to
> source control so clearcase should not care about it.
>
> Thoughts?
Re: An internal error occurred during: "BuildConfiguration change action". [message #69282 is a reply to message #69217] Mon, 15 January 2007 10:48 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
We discussed this further off-line. Just in case anyone else hits the
same issue (using ClearCase), there is a development build of AJDT 1.2
for Eclipse 3.0 which seems to improve things a little. This is
available via this update site URL:
http://download.eclipse.org/tools/ajdt/30/dev/update/

Timing issues mean you may still get the error, but it should at least
be safe to ignore it, as the build.ajproperties file should be generated
later.

--Matt

Dwight Carter wrote:
> Matt,
>
> Unfortunately, I'm working on a large project and we are keeping all
> developers on the same release of RSA, so upgrading is not an option.
>
> First, let me correct an error in my earlier note. We are using
> Clearcase, not cvs. We are using snapshot views, which means that we
> have directories on our local harddrives that basically mirror what is
> on the server. Clearcase changes the files to readonly so that we
> cannot change them. When we check them out or hijack them the readonly
> attribute is unchecked.
>
> I just created a new Java project in an external directory that isn't
> under clearcase control, and I can convert it to aspectj and back
> without the error.
>
> I then created a new Java project (no code in it yet) in a new external
> directory that is in a directory that is under clearcase control, and I
> get errors when I attempt to convert it to aspectj.
>
> I received the following errors the first time I try to convert it to
> aspectj.
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
> !MESSAGE An internal error occurred during: "Build configuration update".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
> Source)
> at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
>
> If I convert it back to a java project, I then get the following error
> on subsequent attempts to convert to aspectj:
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> At this point, the new project has not been added to source control, it
> is just in a folder that is in a folder that is under clearcase control.
>
> This certainly seems to have something to do with clearcase but I'm not
> sure what since at this point the new project has not yet been added to
> source control so clearcase should not care about it.
>
> Thoughts?
Re: An internal error occurred during: "BuildConfiguration change action". [message #595701 is a reply to message #69175] Fri, 12 January 2007 17:04 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hi Dwight,

Firstly, is it possible for you to upgrade to V7, based on Eclipse 3.2?
This would allow you to use AJDT 1.4.1, which is much improved,
particular in the buildconfig area that appears to be causing the
problems here (from the stack trace).

If that's not feasible, then we'll have to dig a little deeper. Can you
reproduce this error with a small test project?

Regards,

Matt.

Dwight Carter wrote:
> I am getting a lot of these errors when I convert a java project to an
> aspectj project.
>
> I have one project (call it project A) which contains my aspects for
> logging. I have a couple other projects that contain the java code
> which the aspects will be weaved into. These other projects are in cvs
> as java projects, and since most of the developers do not need the
> logging aspect to be weaved, we plan to leave these as java projects. I
> hijack the .classpath and .project files for these java projects, and
> convert them to java projects for the weaving. I have specified the bin
> folder of the A project in the aspectpath. Seems to be working fine but
> whenever I convert from a java project to a aspectj project I get these
> error popups.
>
> In the .log file, they show up as:
> !ENTRY org.eclipse.core.runtime 4 2 Jan 11, 2007 17:36:16.180
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/QuestPersistence
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
>
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
>
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> Initially, I was not getting these errors. I believe they started
> occurring when I added the build.ajproperties and
> org.eclipse.ajdt.ui.prefs files for the java projects to cvs source
> control. I get them even if I hijack these files prior to converting
> the java project to an aspectj project.
>
> I am running Rational Software Architect 6.0.1.1 with interim fix 3a
> applied. My understanding is that this is based on Eclipse 3.0.2. I am
> using the Eclipse AspectJ Development Tools 1.2.3.20061123081404.
>
> Thanks for your help.
Re: An internal error occurred during: "BuildConfiguration change action". [message #595713 is a reply to message #69196] Fri, 12 January 2007 18:21 Go to previous message
Dwight Carter is currently offline Dwight Carter
Messages: 4
Registered: July 2009
Junior Member
Matt,

Unfortunately, I'm working on a large project and we are keeping all
developers on the same release of RSA, so upgrading is not an option.

First, let me correct an error in my earlier note. We are using
Clearcase, not cvs. We are using snapshot views, which means that we
have directories on our local harddrives that basically mirror what is
on the server. Clearcase changes the files to readonly so that we
cannot change them. When we check them out or hijack them the readonly
attribute is unchecked.

I just created a new Java project in an external directory that isn't
under clearcase control, and I can convert it to aspectj and back
without the error.

I then created a new Java project (no code in it yet) in a new external
directory that is in a directory that is under clearcase control, and I
get errors when I attempt to convert it to aspectj.

I received the following errors the first time I try to convert it to
aspectj.

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
!MESSAGE An internal error occurred during: "Build configuration update".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
Source)
at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
Source)
at
org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
Source)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown
Source)
at
org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
Source)
at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)


If I convert it back to a java project, I then get the following error
on subsequent attempts to convert to aspectj:

!ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
!MESSAGE An internal error occurred during: "BuildConfiguration change
action".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
match outer scope rule: P/TestAspectJProject2
at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own Source)
at
org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
Source)
at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
Source)
at
org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

At this point, the new project has not been added to source control, it
is just in a folder that is in a folder that is under clearcase control.

This certainly seems to have something to do with clearcase but I'm not
sure what since at this point the new project has not yet been added to
source control so clearcase should not care about it.

Thoughts?
Re: An internal error occurred during: "BuildConfiguration change action". [message #595732 is a reply to message #69217] Fri, 12 January 2007 19:58 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hmm, it looks like some sort of resource locking issue, between the
ClearCase team provider and AJDT. I'll need to investigate further.

--Matt.

Dwight Carter wrote:
> Matt,
>
> Unfortunately, I'm working on a large project and we are keeping all
> developers on the same release of RSA, so upgrading is not an option.
>
> First, let me correct an error in my earlier note. We are using
> Clearcase, not cvs. We are using snapshot views, which means that we
> have directories on our local harddrives that basically mirror what is
> on the server. Clearcase changes the files to readonly so that we
> cannot change them. When we check them out or hijack them the readonly
> attribute is unchecked.
>
> I just created a new Java project in an external directory that isn't
> under clearcase control, and I can convert it to aspectj and back
> without the error.
>
> I then created a new Java project (no code in it yet) in a new external
> directory that is in a directory that is under clearcase control, and I
> get errors when I attempt to convert it to aspectj.
>
> I received the following errors the first time I try to convert it to
> aspectj.
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
> !MESSAGE An internal error occurred during: "Build configuration update".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
> Source)
> at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
>
> If I convert it back to a java project, I then get the following error
> on subsequent attempts to convert to aspectj:
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> At this point, the new project has not been added to source control, it
> is just in a folder that is in a folder that is under clearcase control.
>
> This certainly seems to have something to do with clearcase but I'm not
> sure what since at this point the new project has not yet been added to
> source control so clearcase should not care about it.
>
> Thoughts?
Re: An internal error occurred during: "BuildConfiguration change action". [message #595739 is a reply to message #69217] Mon, 15 January 2007 10:48 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
We discussed this further off-line. Just in case anyone else hits the
same issue (using ClearCase), there is a development build of AJDT 1.2
for Eclipse 3.0 which seems to improve things a little. This is
available via this update site URL:
http://download.eclipse.org/tools/ajdt/30/dev/update/

Timing issues mean you may still get the error, but it should at least
be safe to ignore it, as the build.ajproperties file should be generated
later.

--Matt

Dwight Carter wrote:
> Matt,
>
> Unfortunately, I'm working on a large project and we are keeping all
> developers on the same release of RSA, so upgrading is not an option.
>
> First, let me correct an error in my earlier note. We are using
> Clearcase, not cvs. We are using snapshot views, which means that we
> have directories on our local harddrives that basically mirror what is
> on the server. Clearcase changes the files to readonly so that we
> cannot change them. When we check them out or hijack them the readonly
> attribute is unchecked.
>
> I just created a new Java project in an external directory that isn't
> under clearcase control, and I can convert it to aspectj and back
> without the error.
>
> I then created a new Java project (no code in it yet) in a new external
> directory that is in a directory that is under clearcase control, and I
> get errors when I attempt to convert it to aspectj.
>
> I received the following errors the first time I try to convert it to
> aspectj.
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.23
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.133
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:35.153
> !MESSAGE An internal error occurred during: "Build configuration update".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Un known
> Source)
> at org.eclipse.core.internal.resources.File.refreshLocal(Unknow n
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.refreshFile (Unknown
> Source)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createEleme ntInfo(Unknown
> Source)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(U nknown Source)
> at
> org.eclipse.ajdt.pde.internal.ui.editor.context.InputContext .create(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildInputConte xt. <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildEditor.mon itoredFileAdded(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties .initBuild(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.editor.BuildProperties . <init>(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.BuildConfiguration.<init >(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getBuildConfigurations(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.UpdateJob.classpathCha nged(Unknown
> Source)
> at org.eclipse.ajdt.internal.buildconfig.UpdateJob.run(Unknown Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
>
> If I convert it back to a java project, I then get the following error
> on subsequent attempts to convert to aspectj:
>
> !ENTRY org.eclipse.core.runtime 4 2 Jan 12, 2007 12:03:56.153
> !MESSAGE An internal error occurred during: "BuildConfiguration change
> action".
> !STACK 0
> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not
> match outer scope rule: P/TestAspectJProject2
> at org.eclipse.core.internal.runtime.Assert.isLegal(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(Unknown Source)
> at org.eclipse.core.internal.jobs.ThreadJob.push(Unknown Source)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(Unknown Source)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(Unknown Source)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(Unkn own
> Source)
> at
> org.eclipse.core.internal.resources.Workspace.prepareOperati on(Unknown
> Source)
> at org.eclipse.core.internal.resources.Resource.touch(Unknown Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.setActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.makeSureThereIsAtLeastOneActiveConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.ProjectBuildConfigurat or.getActiveBuildConfiguration(Unknown
> Source)
> at
> org.eclipse.ajdt.internal.buildconfig.actions.BuildConfigura tionChangeAction$1.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
>
> At this point, the new project has not been added to source control, it
> is just in a folder that is in a folder that is under clearcase control.
>
> This certainly seems to have something to do with clearcase but I'm not
> sure what since at this point the new project has not yet been added to
> source control so clearcase should not care about it.
>
> Thoughts?
Previous Topic:AJDT New Feature: Crosscutting Maps and View changes
Next Topic:How to get method bindings with AsmHierarchyBuilder?
Goto Forum:
  


Current Time: Tue Sep 23 04:17:18 GMT 2014

Powered by FUDForum. Page generated in 0.02632 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software