[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3628/8267] sdk-manual: Added note about nullpointer error for launch eclipse
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3628/8267] sdk-manual: Added note about nullpointer error for launch eclipse
- Date: Sun, 17 Dec 2017 00:54:02 +0000 (UTC)
commit dae00fbb913c24b6bab00d5b99bd61f3455b4728
Author: Scott Rifenbark <srifenbark gmail com>
Date: Tue Nov 29 15:57:35 2016 -0800
sdk-manual: Added note about nullpointer error for launch eclipse
Fixes [YOCTO #10714]
Apparently there is some issues with GTK3 libraries for the Mars
Eclipse version. The note provides a workaround that requires
editing the eclipse.ini file.
(From yocto-docs rev: f940d5d3f7bf446af8f3c7cec5958c8395425a69)
Signed-off-by: Scott Rifenbark <srifenbark gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
documentation/sdk-manual/sdk-appendix-mars.xml | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/documentation/sdk-manual/sdk-appendix-mars.xml b/documentation/sdk-manual/sdk-appendix-mars.xml
index 144e072..521f682 100644
--- a/documentation/sdk-manual/sdk-appendix-mars.xml
+++ b/documentation/sdk-manual/sdk-appendix-mars.xml
@@ -72,6 +72,24 @@
<listitem><para><emphasis>Launch Eclipse:</emphasis>
Double click the "Eclipse" file in the folder to
launch Eclipse.
+ <note>
+ If you experience a NullPointer Exception after
+ launch Eclipse or the debugger from within Eclipse,
+ try adding the following
+ to your <filename>eclipse.ini</filename> file,
+ which is located in the directory in which you
+ unpacked the Eclipse tar file:
+ <literallayout class='monospaced'>
+ --launcher.GTK_version
+ 2
+ </literallayout>
+ Alternatively, you can export the
+ <filename>SWT_GTK</filename> variable in your
+ shell as follows:
+ <literallayout class='monospaced'>
+ $ export SWT_GTK3=0
+ </literallayout>
+ </note>
</para></listitem>
</orderedlist>
</para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]