Hi,
Following exception throw when close the eclipse after run as eclipse
application.
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4397)
at org.eclipse.swt.SWT.error(SWT.java:4312)
...
Caused by:
Hi Lali,
Can you try following code snippet for getEditingDomain() method ?
/**
* @generated NOT
*/
public TransactionalEditingDomain getEditingDomain() {
IDocument document = null;
if (getDocumentProvider() != null) {
document = getEditorInput() != null ? getDocumentProvider().getDocument(