Bug 535994 - NPE when deleting Table editor with dirty editor
Summary: NPE when deleting Table editor with dirty editor
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Table (show other bugs)
Version: 6.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-06-18 05:18 EDT by Pierre Guilet CLA
Modified: 2018-06-20 10:31 EDT (History)
1 user (show)

See Also:


Attachments
project to reproduce (12.18 KB, application/x-zip-compressed)
2018-06-18 05:18 EDT, Pierre Guilet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guilet CLA 2018-06-18 05:18:33 EDT
Created attachment 274500 [details]
project to reproduce

The following NPE occurs when deleting a modeling project with dirty table editor:

java.lang.NullPointerException
	at org.eclipse.sirius.ui.tools.internal.editor.AbstractDTreeEditor$1.run(AbstractDTreeEditor.java:897)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

Steps to reproduce:
I am not sure it will reproduce all the time.

1-import project,
2-open the table and add new lines
3-Delete project from model explorer and hit enter all the time when asked.
KO the NPE may occurs.
Comment 1 Pierre Guilet CLA 2018-06-18 05:47:49 EDT
And check the option remove from disk
Comment 2 Florian Barbin CLA 2018-06-20 10:31:11 EDT
In my case the Eclipse is blocked on the Delete Resources dialog.