Project

General

Profile

Actions

Bug #1292

closed

Бесконечный цикл при удалении папки содержащей невалидный документ

Added by Vladimir Fedotov over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
05/27/2011
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Linux x86
Published in build:
0.11.83

Description

1. Создать папку в проекте
2. Импортировать приложенный файл (упадет SAXException)
3. Удалить папку

Ожидалось:
папка и вложенные документы удалены

На самом деле:
requality ушел в бесконечный цикл

В консоль валится следующее:
Contains: Resource is out of sync with the file system: '/Test1/root/Documents/test/10_1.xhtml_resources/10_1.xhtml'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:799)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:752)
at com.unitesk.requality.eclipse.tools.ResourceStorage$2.run(ResourceStorage.java:289)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at com.unitesk.requality.eclipse.tools.ResourceStorage.remove(ResourceStorage.java:303)
at com.unitesk.requality.core.TreeNode.removeChild(TreeNode.java:76)
at com.unitesk.requality.core.TreeNode.delete(TreeNode.java:156)
at com.unitesk.requality.eclipse.handlers.document.RemoveDocumentHandler.removeDocument(RemoveDocumentHandler.java:99)
at com.unitesk.requality.eclipse.handlers.document.RemoveDocumentHandler.recDelNode(RemoveDocumentHandler.java:86)
at com.unitesk.requality.eclipse.handlers.document.RemoveDocumentHandler.recDelNode(RemoveDocumentHandler.java:91)
at com.unitesk.requality.eclipse.handlers.document.RemoveDocumentHandler.execute(RemoveDocumentHandler.java:46)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)


Files

10.xhtml (5.27 KB) 10.xhtml невалидный документ Vladimir Fedotov, 05/27/2011 12:48 PM
Actions #1

Updated by Alexey Khoroshilov over 13 years ago

  • Target version set to 0.11
Actions #2

Updated by Yuriy Shekochihin over 13 years ago

У меня не повторяется.

Actions #3

Updated by Alexey Demakov over 13 years ago

  • Assignee set to Yuriy Shekochihin
Actions #4

Updated by Yuriy Shekochihin over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1988.

Actions #5

Updated by Yuriy Shekochihin over 13 years ago

Если я правильно угадал причину, то баг поправил.

Actions #6

Updated by Alexey Demakov over 13 years ago

  • Published in build set to 0.11.83
Actions #7

Updated by Viktoria Kopach over 13 years ago

  • Status changed from Resolved to Verified
Actions #8

Updated by Viktoria Kopach over 13 years ago

  • Assignee changed from Yuriy Shekochihin to Alexey Khoroshilov
Actions #9

Updated by Alexey Khoroshilov over 13 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF