[
https://issues.jboss.org/browse/TEIIDDES-2264?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2264:
----------------------------------------
[~johnathonlee] The "out scope rule" is Eclipse error. I think we'd need
some actual artifacts to reproduce.
I did find a thread:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=410011 that indicated
it was coming from a older version of EGit... but who knows. Another linked to that BZ
stated:
The problem was that IgnoreOperation#calcSchedulingRule and IgnoreOperation#addIgnore used
different methods to get an IContainer from the IPath. In case of nested projects, this
could result in them getting different IContainers, which lead to an error like
"Attempted to beginRule: /container1, does not match outer scope rule
/container2".
In Tom's case, there appears to be a "views" folder in the Project. Also he
was trying figure out what corrupted his workspace by cloning a project (i.e. not
extensively tested) first.
[~virtualdatabase] Tom, could you update your notes on this one? have you rebuilt your
workspace and moved on? Do you have the Model Project that was "corrupted"
available?
Problem Saving view model: outer scope rule issue
-------------------------------------------------
Key: TEIIDDES-2264
URL:
https://issues.jboss.org/browse/TEIIDDES-2264
Project: Teiid Designer
Issue Type: Bug
Components: Teiid Integration
Affects Versions: 8.5
Reporter: Tom Johnston
While trying to figure out what corrupted my workspace I have done the following:
Cloned my project.
figured out the likely model containing the problem
one by one copied off the transformations
deleted the table that I felt was the issue.
Saved
I got this message upon saving:
Problem occured:
Attempted to beginRule: F/August/views, does not match outer scope rule:
L/August/views/metadataStuff.xmi
Attempted to beginRule: F/August/views, does not match outer scope rule:
L/August/views/metadataStuff.xmi
This is the stacktrace:
java.lang.IllegalArgumentException: Attempted to beginRule: F/August/views, does not
match outer scope rule: L/August/views/metadataStuff.xmi
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:134)
at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:333)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:286)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2283)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1691)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:333)
at org.teiid.designer.core.workspace.ModelBufferImpl.save(ModelBufferImpl.java:509)
at org.teiid.designer.core.workspace.OpenableImpl.save(OpenableImpl.java:319)
at
org.teiid.designer.core.workspace.ModelResourceImpl.save(ModelResourceImpl.java:1013)
at
org.teiid.designer.ui.viewsupport.ModelUtilities.saveModelResource(ModelUtilities.java:1750)
at org.teiid.designer.ui.editors.ModelEditor$1.runInWorkspace(ModelEditor.java:416)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)