Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse breaks on update #12

Open
AlleywayCat opened this issue Jun 18, 2020 · 4 comments
Open

Eclipse breaks on update #12

AlleywayCat opened this issue Jun 18, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@AlleywayCat
Copy link

AlleywayCat commented Jun 18, 2020

After updating Eclipse, it fails to start afterwards.
This is the error message that is displayed when launching Eclipse.
Here's the log that is mentioned in the error message.

OS: Pop!_OS 20.04

----------------------------------------

After looking in the closed issues, I've found that the issue with starting Eclipse after update is resolved with launching Eclipse with command flatpak run org.eclipse.Java -clean.

The only issue that persists is that extensions (ie. CDT) need to be reinstalled.

@mbooth101
Copy link
Collaborator

Thanks for the report; running flatpak run org.eclipse.Java -clean is what I would have suggested too.

@mauromol
Copy link

Also updating from 2020-06 to 2020-09 requires -clean otherwise Eclipse won't start.

@Mailaender
Copy link
Collaborator

It shows a stack trace with not too much information:

!ENTRY org.eclipse.osgi 4 0 2025-03-08 06:30:19.530
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:86)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1454)

rm -rf ~/.var/app/org.eclipse.Java/ brings it back to a state where it starts and plug-ins can be reinstalled.

@Mailaender
Copy link
Collaborator

See also #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants