Bug 565075 - eclipse crashes after selecting workspace
Summary: eclipse crashes after selecting workspace
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.16   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2020-07-09 03:46 EDT by Miroslav Zaťko CLA
Modified: 2020-07-10 02:23 EDT (History)
2 users (show)

See Also:


Attachments
.log file from eclipse workspace (115.77 KB, text/x-log)
2020-07-09 04:08 EDT, Miroslav Zaťko CLA
no flags Details
new .log file from eclipse workspace (32.93 KB, text/x-log)
2020-07-09 19:43 EDT, Miroslav Zaťko CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Zaťko CLA 2020-07-09 03:46:00 EDT
Eclipse crashes after selecting workspace.
Loading workspace progress-bar is shown for few seconds, it disappears and exception "java.lang.IllegalStateException: Job manager has been shut down." is shown in console.
Comment 1 Andrey Loskutov CLA 2020-07-09 03:56:28 EDT
Please attach Eclipse error log and specify your OS / GTK3 / Java version.
Comment 2 Miroslav Zaťko CLA 2020-07-09 04:06:45 EDT
OS: Linux(Ubuntu 20.04)
Java: OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
GTK: 
libgtk-3-0:amd64  3.24.20-0ubuntu1 amd64        GTK graphical user interface library
libgtk2.0-0:amd64 2.24.32-4ubuntu4 amd64        GTK graphical user interface library - old version

and attaching .log file from workspace soon
Comment 3 Miroslav Zaťko CLA 2020-07-09 04:08:18 EDT
Created attachment 283544 [details]
.log file from eclipse workspace

I cleaned it before starting eclipse, so it should be "clean" from other exceptions
Comment 4 Andrey Loskutov CLA 2020-07-09 05:42:38 EDT
You can try to download & check if default Eclipse SDK works on your machine, but for me it looks like an error with concrete installation that probably caused by 3rd party code (genuitec).

So I would report this to genuitec bug tracker. 

!ENTRY com.genuitec.eclipse.codetogether.ui 2 0 2020-07-09 09:34:47.296
!MESSAGE A low-level error has occurred in CodeTogether
!STACK 0
java.lang.NullPointerException
	at com.genuitec.eclipse.codetogether.ui.actions.EclipseOfferOnSelection.setupEventHandling(EclipseOfferOnSelection.java:152)
	at com.genuitec.eclipse.codetogether.ui.actions.EclipseOfferOnSelection.lambda$0(EclipseOfferOnSelection.java:136)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4928)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4449)
	at org.eclipse.swt.widgets.Display.release(Display.java:4501)
	at org.eclipse.swt.graphics.Device.dispose(Device.java:236)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:166)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
Comment 5 Miroslav Zaťko CLA 2020-07-09 19:43:47 EDT
Created attachment 283550 [details]
new .log file from eclipse workspace
Comment 6 Miroslav Zaťko CLA 2020-07-09 19:44:26 EDT
Hi Andrey,
I tried with pure new eclipse bundle with no single additional plugin installed Behavior is the same, it crashes after choosing workspace.
.log file doesn't show any visible(for me) exception or problem. In console there is different exception:
Exception in thread "Event Loop Monitor" org.eclipse.swt.SWTException: Device is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4723)
	at org.eclipse.swt.SWT.error(SWT.java:4638)
	at org.eclipse.swt.SWT.error(SWT.java:4609)
	at org.eclipse.swt.widgets.Display.error(Display.java:1446)
	at org.eclipse.swt.widgets.Display.asyncExec(Display.java:913)
	at org.eclipse.ui.internal.monitoring.EventLoopMonitorThread.run(EventLoopMonitorThread.java:493)

I attached new .log file as well.
Thank you
Comment 7 Andrey Loskutov CLA 2020-07-10 01:12:30 EDT
Please do not use same workspace, the log shows again some genuitec errors.
Are you using Waylamd or X11?
Comment 8 Miroslav Zaťko CLA 2020-07-10 02:23:47 EDT
yeah, there are messages(not errors nor exceptions) containing word "genuitec", however it is produced by downloaded eclipse bundle without any single additional plugin installed.

If I use new/empty workspace, there will not be any problem of course, however I prefer to fixing the problem not to create new workspace from scratch with all it's content and setting, without any possibility to copy from old one.

I use Xorg/X11.