I had a few issues with Eclipse running. Here are my notes on fixing the errors…
Problem 1: GLib-Critical errors
If I were to run Eclipse from the command line, I would see a bunch of these errors:
(Eclipse:12800): GLib-CRITICAL **: g_base64_encode_step: assertion 'in != NULL' failed
I don’t think the errors were really causing me any problems except that it made it hard to read any other errors that might have indicated something else was wrong.
To fix them, I set the SWT_GTK3 variable to “0”. On the command line, I ran Eclipse like this:
env SWT_GTK3=0 bin/eclipse/java-neon/eclipse/eclipse
To make the fix permanent, I updated my links with MenuLibre to include this in the command from the menu.
Problem 2: Workspace crash
Eclipse was crashing before it started …
There’s a workspace specific log, and that had some clues…
[workspace path]/.metadata/.log
This seemed to be the main error:
!ENTRY org.eclipse.core.jobs 4 2 2017-06-06 17:58:53.650 !MESSAGE An internal error occurred during: "Initializing Eclipse Error Reporting System". !STACK 0 org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.epp.internal.logging.aeri.ide.IDEWorkflow at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:384) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162) at org.eclipse.epp.internal.logging.aeri.ide.IDEStartup.initializeIdeContext(IDEStartup.java:113) at org.eclipse.epp.internal.logging.aeri.ide.IDEStartup.access$0(IDEStartup.java:73) at org.eclipse.epp.internal.logging.aeri.ide.IDEStartup$1.run(IDEStartup.java:62) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
To fix it, I simply deleted this file:
rm app/workspaces/peoplesoft/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Believe it or not, it fixed a few things in my workspace. The toolbar had also gone missing and suddenly came back after this fix.