Project

General

Profile

Actions

Task #1020

closed

User Story #627: Разрешить удалять проект.

Exception при удалении проекта

Added by Alexey Demakov about 13 years ago. Updated about 13 years ago.

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

100%

Estimated time:
Detected in build:
0.10.61
Published in build:
0.10.64

Description

При удалении проекта случилось исключение и корень проекта остался в Requality Explorer

!ENTRY org.eclipse.core.resources 4 2 2011-04-04 15:34:09.687
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at com.unitesk.requality.eclipse.tools.ResourceStorage.getChildren(ResourceStorage.java:195)
at com.unitesk.requality.core.TreeDB.createFromStorage(TreeDB.java:249)
at com.unitesk.requality.core.TreeDB.access$200(TreeDB.java:15)
at com.unitesk.requality.core.TreeDB$1.created(TreeDB.java:67)
at com.unitesk.requality.eclipse.tools.DeltaProcessor.processDelta(DeltaProcessor.java:81)
at com.unitesk.requality.eclipse.tools.DeltaProcessor.resourceChanged(DeltaProcessor.java:34)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Actions #1

Updated by Alexey Khoroshilov about 13 years ago

  • Parent task set to #627
Actions #2

Updated by Yuriy Shekochihin about 13 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Yuriy Shekochihin about 13 years ago

  • % Done changed from 0 to 100

Applied in changeset r1818.

Actions #4

Updated by Alexey Demakov about 13 years ago

  • Published in build set to 0.10.64
Actions #5

Updated by Viktoria Kopach about 13 years ago

Проекты обычно удаляются без проблем.

Но когда были проблемы с XULRunner (не удавалось зарегистрировать), были проблемы с удалением проектов в следующем случае:
Создаем проект, добавляем документ. Пытаемся открыть документ. Возникает ошибка. Потом такой проект удалить не получается, остается корень.
С одной стороны, при нормальной работе такой дефект не возникнет. Но не у всех же сразу XULRunner встанет правильно. И вот такие проблемы будут.

Actions #6

Updated by Alexey Khoroshilov about 13 years ago

Предлагаю для некорректного поведения в случае отсутствия XULRunner завести отдельный тикет, а этот считать завершенным, если в обычных ситуациях проблем с удалением проекта больше нет.

Actions #7

Updated by Viktoria Kopach about 13 years ago

  • Status changed from Resolved to Verified
Actions #8

Updated by Alexey Khoroshilov about 13 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF