Eclipse 霓虹灯 "Customize perspective" 引发了 "StackOverflowError"

Eclipse Neon "Customize perspective" provokes a "StackOverflowError"

Eclipse "Customize perspective" 引发 "WhosebugError"(请参阅下面的部分堆栈跟踪),屏幕将永远不会显示并且 Eclipse 可能变得不稳定并且可能无法再次启动。

这发生在 Spring 基于 Eclipse 4.6.2 运行 的工具套件 (sts-3.8.3) Ubuntu 16.x 上(可能在其他 Linux 也是)。

如何解锁 Eclipse 以及如何使 "Custom perspective" 使用此版本?

堆栈跟踪:

java.lang.WhosebugError
at org.eclipse.swt.events.ControlEvent.<init>(ControlEvent.java:35)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:225)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1345)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:1100)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1527)
at org.eclipse.swt.widgets.ToolBar.setBounds(ToolBar.java:589)
at org.eclipse.swt.widgets.Control.setLocation(Control.java:1187)
at org.eclipse.e4.ui.widgets.ImageBasedFrame.setFramedControlLocation(ImageBasedFrame.java:124)
at org.eclipse.e4.ui.widgets.ImageBasedFrame.access[=12=](ImageBasedFrame.java:120)
at org.eclipse.e4.ui.widgets.ImageBasedFrame.controlMoved(ImageBasedFrame.java:109)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:225)
(...)

如果 Eclipse 被锁定,删除日志中可见的 "writer.lock" 文件没有用,您必须删除工作区中的 "workbench.xmi" :

<workspace_path>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

(此处提示:Eclipse (C/C++) Error: Job found still running after platform shutdown

要启用 "Customize perspective" 屏幕,您必须切换到 GTK 2。为此,只需编辑您的 eclipse.ini(或 STS.ini)并替换它:

--launcher.defaultAction

通过这个 :

--launcher.GTK_version
2