From: Scott Rifenbark Date: Tue, 29 Nov 2016 23:57:35 +0000 (-0800) Subject: sdk-manual: Added note about nullpointer error for launch eclipse X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13d9371e40b2d78188dd75b05d3ebf4b948f9e45;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/documentation/sdk-manual/sdk-appendix-mars.xml b/documentation/sdk-manual/sdk-appendix-mars.xml index 144e0720ae3..521f682634e 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 + +