Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 540508

Summary: DOT Graph View - NullPtrExc Colorscheme Attribute not part of attributeProperty for Dot Graph
Product: [Tools] GEF Reporter: Zoey Gerrit Prigge <eclipse>
Component: GEF DOTAssignee: Zoey Gerrit Prigge <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: miklossy
Version: unspecified   
Target Milestone: 5.1.0 (2019-06)   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Zoey Gerrit Prigge CLA 2018-10-26 09:59:49 EDT
The following dot file throws a NullPointerException:

digraph {
	graph [colorscheme=svg,  bgcolor="aqua"];
	1
}

This seems to be due to the colorscheme attribute not being part of the eclipse.org.gef.graph.Graph object's attributeProperty; the Graph object which passed to the setGraph method in DotGraphView.
Comment 1 Tamas Miklossy CLA 2019-05-31 11:08:04 EDT
Thank you Zoey for your contribution! I merged your PR into the master branch.

Resolving as fixed in 5.1.0 (2019-06).