https://bugzilla.redhat.com/show_bug.cgi?id=1767770
Bug ID: 1767770 Summary: Eclipse fails to start after update to Fedora 31 Product: Fedora Version: 31 Hardware: x86_64 OS: Linux Status: NEW Component: eclipse Severity: high Assignee: mat.booth@redhat.com Reporter: tom.tdw@gmail.com QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, andjrobins@gmail.com, dbhole@redhat.com, ebaron@fedoraproject.org, eclipse-sig@lists.fedoraproject.org, jerboaa@gmail.com, jjohnstn@redhat.com, lef@fedoraproject.org, mat.booth@redhat.com, rgrunber@redhat.com Target Milestone: --- Classification: Fedora
Created attachment 1631438 --> https://bugzilla.redhat.com/attachment.cgi?id=1631438&action=edit Eclipse log file including crash details.
Description of problem:
After upgrading to Fedora 31, opening eclipse fails and an error message is shown, pointing to workspace/.metadata/.log , the contents of which are shown (perhaps also including a successful launch after the crash?). The entries of interest are those up until !ENTRY org.eclipse.osgi 4 0 2019-11-01 11:23:43.694, which includes the following error: !ENTRY org.eclipse.osgi 4 0 2019-11-01 11:23:43.694 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:181) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:385) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:260) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:589) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155) 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:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) at org.eclipse.equinox.launcher.Main.run(Main.java:1476) at org.eclipse.equinox.launcher.Main.main(Main.java:1449)
Quite a few of the of the previous log entries refer to requirements not being found.
It was possible to workaround this issue by deleting ~/.eclipse, however, this is obviously not ideal behaviour on upgrade.
For interest, it seems that a similar bug was noted in 2010: https://bugzilla.redhat.com/show_bug.cgi?id=601352 (I have not marked this as a duplicate since given how much time has passed this is probably a distinct issue).
Version-Release number of selected component (if applicable):
How reproducible:
Steps to reproduce: 1. Use eclipse in Fedora 30
2. Upgrade to Fedora 31
3. Try to launch Eclipse
Actual results:
Crash
Expected results: Eclipse opens successfully
Additional info: