Project

General

Profile

Bug #3657

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

Added by Alexey Khoroshilov almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
11/02/2012
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.14.172
Platform:
Published in build:
0.14.178

Description

При удалении импортированного документа получил исключение:

Caused by: java.lang.NullPointerException
    at com.unitesk.requality.eclipse.core.ResourceStorage.readFile(ResourceStorage.java:212)
    at com.unitesk.requality.eclipse.core.ResourceStorage.getAttributes(ResourceStorage.java:111)
    at com.unitesk.requality.core.transaction.TransactionStorage.currentAttrs(TransactionStorage.java:230)
    at com.unitesk.requality.core.transaction.TransactionStorage.getAttributes(TransactionStorage.java:104)
    at com.unitesk.requality.core.transaction.TransactionStorage.remove(TransactionStorage.java:164)
    at com.unitesk.requality.core.TreeDB.removeNode(TreeDB.java:87)
    at com.unitesk.requality.core.TreeNode.removeChild(TreeNode.java:100)
    at com.unitesk.requality.core.TreeNode.delete(TreeNode.java:201)
    at com.unitesk.requality.eclipse.handlers.document.DeleteDocumentHandler.recDelNode(DeleteDocumentHandler.java:121)
    at com.unitesk.requality.eclipse.handlers.document.DeleteDocumentHandler.execute(DeleteDocumentHandler.java:66)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
    at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
    at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    ... 48 more

Если окажется важно.
Перед импортом создал несколько папок, в импортированном документе никаких выделений не делал. Документ был - pdf, проект - AADL-CTS.

History

#1

Updated by Alexey Khoroshilov almost 7 years ago

Возможно, это было не при удалении документа, а при удалении пустой папки.

#2

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

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Published in build set to 0.14.178

Не воспроизводится.

#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