Bug #1292
closedБесконечный цикл при удалении папки содержащей невалидный документ
100%
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
Updated by Yuriy Shekochihin over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1988.
Updated by Yuriy Shekochihin over 13 years ago
Если я правильно угадал причину, то баг поправил.
Updated by Viktoria Kopach over 13 years ago
- Status changed from Resolved to Verified
Updated by Viktoria Kopach over 13 years ago
- Assignee changed from Yuriy Shekochihin to Alexey Khoroshilov
Updated by Alexey Khoroshilov over 13 years ago
- Status changed from Verified to Closed