Version ubuntu:

Distributor ID:	Ubuntu
Description:	Ubuntu 16.10
Release:	16.10
Codename:	yakkety

Cas de la perte des icônes de base et message d’erreur au lancement

Si les messages sont du type:

(Eclipse:14401): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:309:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'
(Eclipse:14401): GLib-CRITICAL **: g_base64_encode_step: assertion 'in != NULL' failed

Créer le script sh suivant :

#!/bin/bash
export GDK_BACKEND=x11
export SWT_GTK3=0
ECLIPSE_PATH=`dirname "$(readlink -f "$0")"`
echo $ECLIPSE_PATH
$ECLIPSE_PATH/eclipse

puis lancer eclipse via ce script.

Cas d’une exception

Si eclipse plante complètement avec ce message :

Exception in thread "DLTK indexing" java.lang.ExceptionInInitializerError
	at org.eclipse.dltk.internal.core.index.lucene.LuceneIndexer.getDocuments(LuceneIndexer.java:104)
	at org.eclipse.dltk.internal.core.index2.AbstractIndexRequest.analyzeSourceModuleChanges(AbstractIndexRequest.java:124)
	at org.eclipse.dltk.internal.core.index2.SourceModulesRequest.run(SourceModulesRequest.java:64)
	at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:80)
	at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:482)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.eclipse.dltk.internal.core.index.lucene.LuceneManager.<init>(LuceneManager.java:212)
	at org.eclipse.dltk.internal.core.index.lucene.LuceneManager.<clinit>(LuceneManager.java:74)
	... 6 more

Dans ce cas il faut supprimer le workspace et le recréer.