{"action":"created","issue":{"url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/703","repository_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE","labels_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/703/comments","events_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/703/events","html_url":"https://github.com/FeatureIDE/FeatureIDE/issues/703","id":295557106,"number":703,"title":"Null pointer when clicking on the background of the feature diagram","user":{"login":"tthuem","id":5330357,"avatar_url":"https://avatars1.githubusercontent.com/u/5330357?v=4","gravatar_id":"","url":"https://api.github.com/users/tthuem","html_url":"https://github.com/tthuem","followers_url":"https://api.github.com/users/tthuem/followers","following_url":"https://api.github.com/users/tthuem/following{/other_user}","gists_url":"https://api.github.com/users/tthuem/gists{/gist_id}","starred_url":"https://api.github.com/users/tthuem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthuem/subscriptions","organizations_url":"https://api.github.com/users/tthuem/orgs","repos_url":"https://api.github.com/users/tthuem/repos","events_url":"https://api.github.com/users/tthuem/events{/privacy}","received_events_url":"https://api.github.com/users/tthuem/received_events","type":"User","site_admin":false},"labels":[{"id":80339228,"url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/labels/Feature%20Modeling","name":"Feature Modeling","color":"FFFFFF","default":false},{"id":78135107,"url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/labels/bug%20(minor)","name":"bug (minor)","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/milestones/24","html_url":"https://github.com/FeatureIDE/FeatureIDE/milestone/24","labels_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/milestones/24/labels","id":2970657,"number":24,"title":"3.4.3 (February)","description":"","creator":{"login":"tthuem","id":5330357,"avatar_url":"https://avatars1.githubusercontent.com/u/5330357?v=4","gravatar_id":"","url":"https://api.github.com/users/tthuem","html_url":"https://github.com/tthuem","followers_url":"https://api.github.com/users/tthuem/followers","following_url":"https://api.github.com/users/tthuem/following{/other_user}","gists_url":"https://api.github.com/users/tthuem/gists{/gist_id}","starred_url":"https://api.github.com/users/tthuem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthuem/subscriptions","organizations_url":"https://api.github.com/users/tthuem/orgs","repos_url":"https://api.github.com/users/tthuem/repos","events_url":"https://api.github.com/users/tthuem/events{/privacy}","received_events_url":"https://api.github.com/users/tthuem/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":12,"state":"open","created_at":"2017-12-11T08:51:03Z","updated_at":"2018-02-08T17:27:53Z","due_on":"2018-02-09T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-02-08T15:35:24Z","updated_at":"2018-02-08T17:27:53Z","closed_at":"2018-02-08T17:27:52Z","author_association":"COLLABORATOR","body":"#### Prerequisitives\r\n* **Eclipse Version:**  4.7.2\r\n* **FeatureIDE-Version:**  release branch\r\n* **Operating system:** Win10\r\n\r\n### Issue description\r\nClicking in the feature diagram on the white background gives an exception in the error log. However, I did not face any further problems besides entry in the error log. Does not pop-up to the user.\r\n\r\n```\r\neclipse.buildId=4.7.2.M20171130-0510\r\njava.version=1.8.0_161\r\njava.vendor=Oracle Corporation\r\nBootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE\r\nFramework arguments:  -product org.eclipse.platform.ide\r\nCommand-line arguments:  -product org.eclipse.platform.ide -data C:\\Users\\tthuem\\Tools\\workspace-4.7/../workspace-4.7-runtime -dev file:C:/Users/tthuem/Tools/workspace-4.7/.metadata/.plugins/org.eclipse.pde.core/FeatureIDE/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog\r\n\r\norg.eclipse.ui\r\nError\r\nThu Feb 08 16:26:12 CET 2018\r\nUnhandled event loop exception\r\n\r\njava.lang.NullPointerException\r\n\tat de.ovgu.featureide.fm.ui.editors.elements.GraphicalFeature.toString(GraphicalFeature.java:169)\r\n\tat java.lang.String.valueOf(Unknown Source)\r\n\tat java.lang.StringBuilder.append(Unknown Source)\r\n\tat java.util.AbstractMap.toString(Unknown Source)\r\n\tat de.ovgu.featureide.fm.ui.editors.elements.GraphicalFeatureModel.toString(GraphicalFeatureModel.java:229)\r\n\tat de.ovgu.featureide.fm.ui.editors.featuremodel.actions.colors.SetFeatureColorAction.isSelectionValid(SetFeatureColorAction.java:146)\r\n\tat de.ovgu.featureide.fm.ui.editors.featuremodel.actions.colors.SetFeatureColorAction$1.selectionChanged(SetFeatureColorAction.java:82)\r\n\tat org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)\r\n\tat org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)\r\n\tat org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:156)\r\n\tat org.eclipse.gef.SelectionManager.setSelection(SelectionManager.java:314)\r\n\tat org.eclipse.gef.ui.parts.AbstractEditPartViewer.setSelection(AbstractEditPartViewer.java:751)\r\n\tat org.eclipse.gef.tools.MarqueeSelectionTool.performMarqueeSelect(MarqueeSelectionTool.java:744)\r\n\tat org.eclipse.gef.tools.MarqueeSelectionTool.handleButtonUp(MarqueeSelectionTool.java:487)\r\n\tat org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1200)\r\n\tat org.eclipse.gef.tools.SelectionTool.mouseUp(SelectionTool.java:574)\r\n\tat org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)\r\n\tat org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)\r\n\tat org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)\r\n\tat org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)\r\n\tat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1499)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1472)\r\n```\r\n\r\nWas only able to reproduce it with the following model in a feature modeling project:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\r\n\t<featureModel>\r\n\t\t<properties/>\r\n\t\t<struct>\r\n\t\t\t<alt mandatory=\"true\" name=\"VW\">\r\n\t\t\t\t<feature name=\"Up\"/>\r\n\t\t\t\t<feature name=\"Polo\"/>\r\n\t\t\t\t<alt name=\"Golf\">\r\n\t\t\t\t\t<and name=\"Trendline\">\r\n\t\t\t\t\t\t<alt mandatory=\"true\" name=\"Motor\">\r\n\t\t\t\t\t\t\t<alt name=\"Benzin\">\r\n\t\t\t\t\t\t\t\t<feature name=\"1.0 TSI 5-Gang\"/>\r\n\t\t\t\t\t\t\t\t<feature name=\"1.0 TSI 6-Gang\"/>\r\n\t\t\t\t\t\t\t\t<feature name=\"1.0 TSI 7-Gang\"/>\r\n\t\t\t\t\t\t\t</alt>\r\n\t\t\t\t\t\t\t<alt name=\"Diesel\">\r\n\t\t\t\t\t\t\t\t<feature name=\"1.6 TDI 5-Gang\"/>\r\n\t\t\t\t\t\t\t\t<feature name=\"1.6 TDI 7-Gang\"/>\r\n\t\t\t\t\t\t\t</alt>\r\n\t\t\t\t\t\t</alt>\r\n\t\t\t\t\t\t<feature mandatory=\"true\" name=\"Außenlackierung ...\"/>\r\n\t\t\t\t\t\t<feature mandatory=\"true\" name=\"Felgen ...\"/>\r\n\t\t\t\t\t\t<feature mandatory=\"true\" name=\"Interieur ...\"/>\r\n\t\t\t\t\t\t<and mandatory=\"true\" name=\"Ausstattung\">\r\n\t\t\t\t\t\t\t<feature name=\"Business-Paket\">\r\n\t\t\t\t\t\t\t\t<description>\r\n\t\t\t\t\t\t\t\t\tMittelarmlehne vorn mit Ablagebox und 2 Ausströmern hinten\r\n\t\t\t\t\t\t\t\t\t    Scheibenwaschdüsen vorn automatisch beheizt\r\n\t\t\t\t\t\t\t\t\t    Scheinwerfer-Reinigungsanlage\r\n\t\t\t\t\t\t\t\t\t    Vordersitze beheizbar\r\n\t\t\t\t\t\t\t\t\t    Warnleuchte für Waschwasserstand\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tbraucht\r\n\t\t\t\t\t\t\t\t\tNavigationsfunktion \"Discover Media\" (für \"Composition Media\")\r\n\t\t\t\t\t\t\t\t\toder\r\n\t\t\t\t\t\t\t\t\tRadio \"Composition Media\"\r\n\t\t\t\t\t\t\t\t</description>\r\n\t\t\t\t\t\t\t</feature>\r\n\t\t\t\t\t\t\t<feature name=\"4 Türen\"/>\r\n\t\t\t\t\t\t\t<feature name=\"Airbags\">\r\n\t\t\t\t\t\t\t\t<description>\r\n\t\t\t\t\t\t\t\t\tbraucht\r\n\t\t\t\t\t\t\t\t\tProaktives Insassenschutzsystem\r\n\t\t\t\t\t\t\t\t\toder\r\n\t\t\t\t\t\t\t\t\tProaktives Insassenschutzsystem in Verbindung mit \"Front Assist\"\r\n\t\t\t\t\t\t\t\t</description>\r\n\t\t\t\t\t\t\t</feature>\r\n\t\t\t\t\t\t\t<feature name=\"Anhängevorrichtung anklappbar\"/>\r\n\t\t\t\t\t\t\t<feature name=\"Anschlussgarantie ...\"/>\r\n\t\t\t\t\t\t\t<and name=\"Car-Net\">\r\n\t\t\t\t\t\t\t\t<feature name=\"Guide &amp; Inform Laufzeit 1 Jahr\">\r\n\t\t\t\t\t\t\t\t\t<description>\r\n\t\t\t\t\t\t\t\t\t\tbraucht\r\n\t\t\t\t\t\t\t\t\t\tNavigationsfunktion \"Discover Media\" (für \"Composition Media\")\r\n\t\t\t\t\t\t\t\t\t</description>\r\n\t\t\t\t\t\t\t\t</feature>\r\n\t\t\t\t\t\t\t\t<feature name=\"Guide &amp; Inform und Security &amp; Service Plus Laufzeit 1 Jahr inkl. Security &amp; Service Basic Laufzeit 10 Jahre\">\r\n\t\t\t\t\t\t\t\t\t<description>\r\n\t\t\t\t\t\t\t\t\t\tbraucht\r\n\t\t\t\t\t\t\t\t\t\tNavigationsfunktion \"Discover Media\" (für \"Composition Media\")\r\n\t\t\t\t\t\t\t\t\t</description>\r\n\t\t\t\t\t\t\t\t</feature>\r\n\t\t\t\t\t\t\t\t<feature name=\"Security &amp; Service Plus Laufzeit 1 Jahr inkl. Security &amp; Service Basic Laufzeit 10 Jahre\">\r\n\t\t\t\t\t\t\t\t\t<description>\r\n\t\t\t\t\t\t\t\t\t\tbraucht\r\n\t\t\t\t\t\t\t\t\t\tNotruf-Service, Laufzeit 10 Jahre; keine Registrierung notwendig, Dienst ist bei Auslieferung aktiviert\r\n\t\t\t\t\t\t\t\t\t</description>\r\n\t\t\t\t\t\t\t\t</feature>\r\n\t\t\t\t\t\t\t</and>\r\n\t\t\t\t\t\t</and>\r\n\t\t\t\t\t</and>\r\n\t\t\t\t\t<feature name=\"Comfortline\"/>\r\n\t\t\t\t\t<feature name=\"Highline\"/>\r\n\t\t\t\t\t<feature name=\"GTE\"/>\r\n\t\t\t\t\t<feature name=\"GTD\"/>\r\n\t\t\t\t\t<feature name=\"GTI\"/>\r\n\t\t\t\t\t<feature name=\"GTI Performance\"/>\r\n\t\t\t\t\t<feature name=\"R\"/>\r\n\t\t\t\t\t<feature name=\"e-Golf\"/>\r\n\t\t\t\t\t<feature name=\"TGI Trendline\"/>\r\n\t\t\t\t\t<feature name=\"TGI Comfortline\"/>\r\n\t\t\t\t\t<feature name=\"Join\"/>\r\n\t\t\t\t</alt>\r\n\t\t\t\t<feature name=\"T-Roc\"/>\r\n\t\t\t\t<feature name=\"Golf Sportsvan\"/>\r\n\t\t\t\t<feature name=\"Golf Variant\"/>\r\n\t\t\t\t<feature name=\"Beetle Cabriolet\"/>\r\n\t\t\t\t<feature name=\"Touran\"/>\r\n\t\t\t\t<feature name=\"Tiguan\"/>\r\n\t\t\t\t<feature name=\"Tiguan Allspace\"/>\r\n\t\t\t\t<feature name=\"Passat\"/>\r\n\t\t\t\t<feature name=\"Passat Variant\"/>\r\n\t\t\t\t<feature name=\"Arteon\"/>\r\n\t\t\t\t<feature name=\"Sharan\"/>\r\n\t\t\t\t<feature name=\"Touareg\"/>\r\n\t\t\t\t<feature name=\"Nutzfahrzeuge\"/>\r\n\t\t\t</alt>\r\n\t\t</struct>\r\n\t\t<constraints/>\r\n\t\t<calculations Auto=\"true\" Constraints=\"true\" Features=\"true\" Redundant=\"true\" Tautology=\"true\"/>\r\n\t\t<comments/>\r\n\t\t<featureOrder userDefined=\"false\"/>\r\n\t</featureModel>\r\n```"},"comment":{"url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/comments/364186587","html_url":"https://github.com/FeatureIDE/FeatureIDE/issues/703#issuecomment-364186587","issue_url":"https://api.github.com/repos/FeatureIDE/FeatureIDE/issues/703","id":364186587,"user":{"login":"Subaro","id":6231523,"avatar_url":"https://avatars2.githubusercontent.com/u/6231523?v=4","gravatar_id":"","url":"https://api.github.com/users/Subaro","html_url":"https://github.com/Subaro","followers_url":"https://api.github.com/users/Subaro/followers","following_url":"https://api.github.com/users/Subaro/following{/other_user}","gists_url":"https://api.github.com/users/Subaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Subaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Subaro/subscriptions","organizations_url":"https://api.github.com/users/Subaro/orgs","repos_url":"https://api.github.com/users/Subaro/repos","events_url":"https://api.github.com/users/Subaro/events{/privacy}","received_events_url":"https://api.github.com/users/Subaro/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T17:27:52Z","updated_at":"2018-02-08T17:27:52Z","author_association":"COLLABORATOR","body":"fixed with 62258596f7c63307949a80bb926efbd6314e330d and the other one above"}}
{"actor":{"display_login":"Subaro"}}