'odd' error when DISPLAY not set.

11 views
Skip to first unread message

Ian P. Christian

unread,
Nov 18, 2008, 9:00:11 AM11/18/08
to Google-We...@googlegroups.com
I suggest this error is a little misleading. I'm not sure if this
could be considered a bug, and if so - where the bug actaully lies.

"export DISPLAY=:0" fixes the problem (the var became unset as I was
working in a chroot'ed 32bit env within a 64bit platform)

pookey@fork:~/workspace/net-orcades-spring-read-only/orcades-spring-gwt-sample$
mvn gwt:gwt
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'gwt'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring GWT Sample
[INFO] task-segment: [gwt:gwt]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing gwt:gwt
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [gwt:gwt]
[INFO] source web.xml present -
/home/pookey/workspace/net-orcades-spring-read-only/orcades-spring-gwt-sample/src/main/webapp/WEB-INF/web.xml
- using it with embedded Tomcat
[INFO] establishing classpath list (buildClaspathList - scope = RUNTIME)
[INFO] google.webtoolkit.home (gwtHome) set, using it for GWT
dependencies - /home/pookey/src/gwt-linux-1.5.3
Exception in thread "main" org.eclipse.swt.SWTError: No more handles
[gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:793)
at org.eclipse.swt.widgets.Display.create(Display.java:781)
at org.eclipse.swt.graphics.Device.<init>(Device.java:145)
at org.eclipse.swt.widgets.Display.<init>(Display.java:452)
at org.eclipse.swt.widgets.Display.<init>(Display.java:443)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1522)
at com.google.gwt.dev.GWTShell.<init>(GWTShell.java:366)
at com.google.gwt.dev.GWTShell.<init>(GWTShell.java:401)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:355)

Reply all
Reply to author
Forward
0 new messages