Q7

Workspace context can't be applied if project has been removed on file system

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.9
  • Fix Version/s: 1.3.10
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

  1. Remove a project on a file system
  2. Apply workspace context:
    • in workspace context editor
    • by running a test case referring to workspace context
    • by recording a test case referring to a workspace context

Context applying fails with the following exception:

  org.eclipse.core.internal.resources.ResourceException:Errors occurred while refreshing resources with the local file system.
     at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:923)
     at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:904)
     at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshRoot(FileSystemResourceManager.java:951)
     at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:897)
     at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1657)
     at com.xored.q7.ctx.resources.WorkspaceContextProcessor$1.run(WorkspaceContextProcessor.java:72)
     at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
     at com.xored.q7.ctx.resources.WorkspaceContextProcessor.apply(WorkspaceContextProcessor.java:95)
     at com.xored.q7.core.ContextTypeManager.apply(ContextTypeManager.java:76)
     at com.xored.q7.internal.ecl.core.commands.EnterContextService.service(EnterContextService.java:50)
     at org.eclipse.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:73)
     at org.eclipse.ecl.internal.core.Session$1.run(Session.java:49)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)               

Activity

Hide
Andrey Sobolev added a comment - 26/Nov/13 12:46 PM

Fixed.

Show
Andrey Sobolev added a comment - 26/Nov/13 12:46 PM Fixed.

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    25/Nov/13 10:07 PM
    Updated:
    26/Nov/13 12:46 PM
    Resolved:
    26/Nov/13 12:46 PM