org.eclipse.swt.SWTError: No more handles

jenkins-ci.org | 4 months ago
  1. 0

    [JENKINS-3502] Xvnc does not set the DISPLAY environment - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    org.eclipse.swt.SWTError: No more handles
  2. 0

    Since an update to version 1.6 and Hudson 1.299 the DISPLAY variable is not set during the build process anymore. We try to test a SWT application wich requires this env-var or refuses to start. Below is first the SWT exception - with a cryptic error message but this means not DISPLAY is found. Below the trace are all system properties printed by Sytem.getProperties().list(...) Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source) at org.eclipse.swt.widgets.Display.create(Unknown Source) at org.eclipse.swt.graphics.Device.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.getDefault(Unknown Source) at de.willuhn.jameica.gui.GUI.getDisplay(GUI.java:748) at de.willuhn.jameica.gui.SplashScreen.<init>(SplashScreen.java:69) at de.willuhn.jameica.system.ApplicationCallbackSWT.getStartupMonitor(ApplicationCallbackSWT.java:168) at de.willuhn.jameica.system.Application.init(Application.java:96) at de.willuhn.jameica.system.Application.newInstance(Application.java:86) at de.willuhn.jameica.Main.main(Main.java:78) System Properties: -- listing properties -- java.vendor=Sun Microsystems Inc. JOB_NAME=c - jameica-update-server PWD=/home/markusw/emedia-solutions-wolf.d... localRepository=/home/markusw/.m2/repository sun.java.launcher=SUN_STANDARD sun.management.compiler=HotSpot Client Compiler PATH=/home/markusw/bin:/usr/local/bin:/usr... os.name=Linux sun.boot.class.path=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... EXECUTOR_NUMBER=0 env.PWD=/home/markusw/emedia-solutions-wolf.d... env.LANG=de_DE.UTF-8 java.vm.specification.vendor=Sun Microsystems Inc. java.runtime.version=1.5.0_16-b02 LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.10/jre/... user.name=markusw env._=/usr/bin/nohup env.USER=markusw env.SHELL=/bin/bash env.NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat env.PATH=/usr/lib/jvm/java-1.5.0-sun/bin:/home... user.language=de sun.boot.library.path=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... java.version=1.5.0_16 user.timezone=Europe/Berlin sun.arch.data.model=32 TERM=xterm NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat java.endorsed.dirs=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... BUILD_ID=2009-04-16_08-18-23 sun.cpu.isalist= sun.jnu.encoding=UTF-8 file.encoding.pkg=sun.io env.SHLVL=2 SHELL=/bin/bash file.separator=/ env.SVN_REVISION=67 java.specification.name=Java Platform API Specification java.class.version=49.0 user.country=DE env.BUILD_NUMBER=66 java.home=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre java.vm.info=mixed mode, sharing env.LOGNAME=markusw os.version=2.6.27-11-generic env.HUDSON_COOKIE=42d394fc-8cfa-4a21-b1c0-3d6037b8425a path.separator=: java.vm.version=1.5.0_16-b02 env.LANGUAGE=de_DE:de:en_GB:en env.JOB_NAME=c - jameica-update-server SHLVL=2 _=/usr/bin/nohup env.JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun java.awt.printerjob=sun.print.PSPrinterJob env.TERM=xterm JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun sun.io.unicode.encoding=UnicodeLittle LOGNAME=markusw HOME=/home/markusw env.HUDSON_URL=http://hudson.emedia-solutions-wolf.de/ env.BUILD_TAG=hudson-c - jameica-update-server-66 maven.interceptor=/home/markusw/.hudson/plugins/maven-p... user.home=/home/markusw BUILD_TAG=hudson-c - jameica-update-server-66 HUDSON_URL=http://hudson.emedia-solutions-wolf.de/ env.OLDPWD=/home/markusw/emedia-solutions-wolf.d... java.specification.vendor=Sun Microsystems Inc. CLASSPATH= java.library.path=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... java.vendor.url=http://java.sun.com/ env.HUDSON_HOME=/home/markusw/.hudson java.vm.vendor=Sun Microsystems Inc. java.runtime.name=Java(TM) 2 Runtime Environment, Stand... maven.home=/usr/local/apache-maven-2.0.9 java.class.path=/home/markusw/.hudson/plugins/maven-p... env.EXECUTOR_NUMBER=0 env.XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt java.vm.specification.name=Java Virtual Machine Specification PATH+JDK=/usr/lib/jvm/java-1.5.0-sun/bin java.vm.specification.version=1.0 sun.os.patch.level=unknown sun.cpu.endian=little MAIL=/var/mail/markusw env.HOME=/home/markusw surefire.test.class.path=/home/markusw/.hudson/jobs/c - jameic... java.io.tmpdir=/tmp env.LD_LIBRARY_PATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... HUDSON_HOME=/home/markusw/.hudson java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport... OLDPWD=/home/markusw/emedia-solutions-wolf.d... java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment os.arch=i386 java.ext.dirs=/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/... SVN_REVISION=67 user.dir=/home/markusw/.hudson/jobs/c - jameic... env.BUILD_ID=2009-04-16_08-18-23 line.separator= java.vm.name=Java HotSpot(TM) Client VM BUILD_NUMBER=66 basedir=/home/markusw/.hudson/jobs/c - jameic... file.encoding=UTF-8 env.MAIL=/var/mail/markusw LANG=de_DE.UTF-8 env.WORKSPACE=/home/markusw/.hudson/jobs/c - jameic... WORKSPACE=/home/markusw/.hudson/jobs/c - jameic... java.specification.version=1.5 LANGUAGE=de_DE:de:en_GB:en USER=markusw XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt

    Jenkins JIRA | 8 years ago | knisterpeter
    org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
  3. 0

    JobScheduler / Discussion / Help:Error when trying to start the object editor

    sourceforge.net | 1 year ago
    org.eclipse.swt.SWTError: No more handles
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JobScheduler / Discussion / Help:Error when trying to start the object editor

    sourceforge.net | 4 months ago
    org.eclipse.swt.SWTError: No more handles
  6. 0

    [TUP-2589] java.lang.Exception: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] - Talend Open Integration Solution

    talendforge.org | 1 year ago
    org.talend.commandline.client.command.CommandStatusWrapException: java.lang.Exception: org.eclipse.swt.SWTError: No more handles

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTError

      No more handles

      at org.eclipse.swt.SWT.error()
    2. RWT
      Display.getDefault
      1. org.eclipse.swt.SWT.error(Unknown Source)
      2. org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
      3. org.eclipse.swt.widgets.Display.create(Unknown Source)
      4. org.eclipse.swt.graphics.Device.<init>(Unknown Source)
      5. org.eclipse.swt.widgets.Display.<init>(Unknown Source)
      6. org.eclipse.swt.widgets.Display.<init>(Unknown Source)
      7. org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
      7 frames
    3. de.willuhn.jameica
      SplashScreen.<init>
      1. de.willuhn.jameica.gui.GUI.getDisplay(GUI.java:748)
      2. de.willuhn.jameica.gui.SplashScreen.<init>(SplashScreen.java:69)
      2 frames