Project

General

Profile

Bug #3010

Ошибка при удалении закрытого проекта

Added by Viktoria Kopach over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
06/13/2012
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.13.155
Platform:
Windows x64
Published in build:
0.14.177

Description

1. Создаем проект.
2. Закрываем проект (Close project).
3. Удаляем проект.
В Error log view появляется ошибка:

eclipse.buildId=M20120208-0800
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

Error
Wed Jun 13 15:54:46 MSK 2012
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

java.lang.NullPointerException
at com.unitesk.requality.eclipse.core.TreesTracker.stopTracking(TreesTracker.java:210)
at com.unitesk.requality.eclipse.Activator$1.resourceChanged(Activator.java:328)
at org.eclipse.core.internal.events.NotificationManager$1.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.handleEvent(NotificationManager.java:261)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:390)
at org.eclipse.core.internal.resources.Resource.broadcastPreDeleteEvent(Resource.java:1994)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:765)
at org.eclipse.core.internal.resources.Project.delete(Project.java:344)
at org.eclipse.ltk.core.refactoring.resource.DeleteResourceChange.perform(DeleteResourceChange.java:132)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306)
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Associated revisions

Revision 3174 (diff)
Added by Denis Kildishev over 6 years ago

fixes #3010: add check for db to be null(maybe better to avoid double StopTracking call)

History

#1

Updated by Denis Kildishev over 6 years ago

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

Applied in changeset r3174.

#2

Updated by Андрей Третьяков over 6 years ago

  • Assignee set to Denis Kildishev
  • Target version set to 0.14
  • Published in build set to 0.14.177
#3

Updated by Viktoria Kopach over 6 years ago

  • Status changed from Resolved to Verified
#4

Updated by Alexey Khoroshilov about 6 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF