Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322771 - Marquee and Delete - Unhandled event loop exception
Summary: Marquee and Delete - Unhandled event loop exception
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 0.5 RC2   Edit
Assignee: Petya Sabeva CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords:
: 323773 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-16 06:09 EDT by Alexander Silgidjian CLA
Modified: 2011-01-17 08:08 EST (History)
3 users (show)

See Also:


Attachments
patch (3.17 KB, patch)
2010-08-17 11:28 EDT, Petya Sabeva CLA
stefan.dimov: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Silgidjian CLA 2010-08-16 06:09:29 EDT
Hello,

I have a diagram with couple of Entities and Relation between them.
Using the Marquee tool, I select both the Entities and press Del. 
As a result NPE is thrown:

java.lang.NullPointerException
at org.eclipse.jpt.ui.diagrameditor.feature.ClickRemoveAttributeButtonFeature.deleteAttribute(ClickRemoveAttributeButtonFeature.java:60)
at org.eclipse.jpt.ui.diagrameditor.feature.ClickRemoveAttributeButtonFeature.delete(ClickRemoveAttributeButtonFeature.java:82)
at org.eclipse.jpt.ui.diagrameditor.feature.ClickRemoveAttributeButtonFeature.delete(ClickRemoveAttributeButtonFeature.java:65)
at org.eclipse.graphiti.ui.features.DefaultDeleteFeature.execute(DefaultDeleteFeature.java:177)
at org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext.execute(GenericFeatureCommandWithContext.java:64)
at org.eclipse.graphiti.ui.internal.command.GefCommandWrapper.execute(GefCommandWrapper.java:54)
....................
Comment 1 Petya Sabeva CLA 2010-08-17 11:28:38 EDT
Created attachment 176799 [details]
patch
Comment 2 Stefan Dimov CLA 2010-08-30 09:12:17 EDT
Patch committed
Comment 3 Stefan Dimov CLA 2010-08-31 10:10:04 EDT
*** Bug 322773 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Dimov CLA 2010-08-31 10:19:47 EDT
(In reply to comment #3)
> *** Bug 322773 has been marked as a duplicate of this bug. ***

This was a mistake ... Wrong bug number ...
Comment 5 Stefan Dimov CLA 2010-08-31 10:20:40 EDT
*** Bug 323773 has been marked as a duplicate of this bug. ***