Community
Participate
Working Groups
org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.util.DiagramIOUtil throws NPE when logging another exception. On line 196 thrownExcp = new CoreException(new Status(IStatus.ERROR, EditorPlugin.getPluginId(), EditorStatusCodes.ERROR, e.getMessage(), e)); e.getMessage() is null and Status can't be created with null message. Status throws NPE. at org.eclipse.core.runtime.Assert.isLegal(Assert.java:60) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:44) at org.eclipse.core.runtime.Status.setMessage(Status.java:175) at org.eclipse.core.runtime.Status.<init>(Status.java:82) at org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.util.DiagramIOUtil.load(DiagramIOUtil.java:196)
A patch for this is attached in bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=149987
Committed patch to R1_0_maintenance
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug