Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348194 - NPE editing Constraint
Summary: NPE editing Constraint
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 399249
  Show dependency tree
 
Reported: 2011-06-03 07:23 EDT by Ed Willink CLA
Modified: 2015-06-26 15:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-06-03 07:23:14 EDT
RC3:

Attemptint to edit a constraint using Esswential OCL gives

java.lang.NullPointerException
	at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:447)
	at org.eclipse.papyrus.extensionpoints.editors.ui.ExtendedDirectEditionDialog.createDialogArea(ExtendedDirectEditionDialog.java:103)
	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.eclipse.papyrus.extensionpoints.editors.ui.OpenEmbeddedTextEditorObjectActionDelegate.run(OpenEmbeddedTextEditorObjectActionDelegate.java:103)
	at org.eclipse.papyrus.extensionpoints.editors.ui.DirectEditorsContributionItem$1.widgetSelected(DirectEditorsContributionItem.java:155)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Comment 1 Patrick Tessier CLA 2013-01-24 07:58:06 EST
I have not,  this problem can you retry it, I have applied the patch 388529
Comment 2 Patrick Tessier CLA 2013-01-28 09:32:01 EST
I attache this bugs to the task 399249
Comment 3 Ed Willink CLA 2013-01-28 11:23:46 EST
I think the problem code is replaced by the Bug 388529 patch.
Comment 4 Ed Willink CLA 2013-02-15 07:25:14 EST
The invocation of the EssentialOCL editor has been significantly simplified.

Starting the editor now works.