Project

General

Profile

Actions

Bug #3657

closed

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

Added by Alexey Khoroshilov about 12 years ago. Updated over 11 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.

Actions

Also available in: Atom PDF