From dae00fbb913c24b6bab00d5b99bd61f3455b4728 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 29 Nov 2016 15:57:35 -0800 Subject: 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 Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-mars.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'documentation') diff --git a/documentation/sdk-manual/sdk-appendix-mars.xml b/documentation/sdk-manual/sdk-appendix-mars.xml index 144e0720ae..521f682634 100644 --- a/documentation/sdk-manual/sdk-appendix-mars.xml +++ b/documentation/sdk-manual/sdk-appendix-mars.xml @@ -72,6 +72,24 @@ Launch Eclipse: Double click the "Eclipse" file in the folder to launch Eclipse. + + If you experience a NullPointer Exception after + launch Eclipse or the debugger from within Eclipse, + try adding the following + to your eclipse.ini file, + which is located in the directory in which you + unpacked the Eclipse tar file: + + --launcher.GTK_version + 2 + + Alternatively, you can export the + SWT_GTK variable in your + shell as follows: + + $ export SWT_GTK3=0 + + -- cgit v1.2.3-54-g00ecf