Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335287 - Cant delete shapes
Summary: Cant delete shapes
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sketch (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 05:11 EST by Ugo Braga Sangiorgi CLA
Modified: 2014-01-09 14:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ugo Braga Sangiorgi CLA 2011-01-25 05:11:42 EST
Caused by: java.lang.NullPointerException
	at org.eclipse.sketch.examples.shapes.diagram.edit.policies.ShapesBaseItemSemanticEditPolicy.addDestroyShortcutsCommand(ShapesBaseItemSemanticEditPolicy.java:303)
	at org.eclipse.sketch.examples.shapes.diagram.edit.policies.UnknownItemSemanticEditPolicy.getDestroyElementCommand(UnknownItemSemanticEditPolicy.java:95)
	at org.eclipse.sketch.examples.shapes.diagram.edit.policies.ShapesBaseItemSemanticEditPolicy.getSemanticCommandSwitch(ShapesBaseItemSemanticEditPolicy.java:184)
	at org.eclipse.sketch.examples.shapes.diagram.edit.policies.ShapesBaseItemSemanticEditPolicy.getSemanticCommand(ShapesBaseItemSemanticEditPolicy.java:114)
	at org.eclipse.gmf.runtime.diagram.ui.editpolicies.SemanticEditPolicy.getCommand(SemanticEditPolicy.java:69)
	at org.eclipse.sketch.examples.shapes.diagram.edit.policies.ShapesBaseItemSemanticEditPolicy.getCommand(ShapesBaseItemSemanticEditPolicy.java:97)
	at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:501)
	at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$1(GraphicalEditPart.java:1)
	at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$1.run(GraphicalEditPart.java:482)
	at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
	at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.getCommand(GraphicalEditPart.java:477)
	at org.eclipse.sketch.examples.shapes.diagram.part.DeleteElementAction.getCommand(DeleteElementAction.java:91)
	at org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction.getCommand(DiagramAction.java:161)
	at org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction.calculateEnabled(DiagramAction.java:124)
	at org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction.refresh(DiagramAction.java:114)
	at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.selectionChanged(AbstractActionHandler.java:387)
	at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.flushSelectionEvents(DiagramGraphicalViewer.java:269)
	at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer$1.run(DiagramGraphicalViewer.java:247)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	... 23 more