From 13d9371e40b2d78188dd75b05d3ebf4b948f9e45 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: 89ace71c6d9d3a9db84bb9bb2b2abe4779a516f6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-mars.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 1.2.3-korg