Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » SWT problems on Linux
SWT problems on Linux [message #305603] Thu, 06 July 2006 12:09 Go to next message
Eclipse UserFriend
I'm trying to run the Eclipse Automated tests using Linux and gtk. Whenever I try to run the
jdttext tests I run into the exception below.

I do have a valid X session running. The DISPLAY variable is set and I can start the Eclipse
IDE without problems. I have no clue where to start looking. I'm using a VNC server. Can
that be the problem?

Kind Regards,
Thomas Hallgren

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:7 93)
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.ui.internal.Workbench.createDisplay(Workbench.ja va:448)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
at org.eclipse.test.UITestApplication.runApplication(UITestAppl ication.java:131)
at org.eclipse.test.UITestApplication.run(UITestApplication.jav a:58)
Re: SWT problems on Linux [message #305645 is a reply to message #305603] Fri, 07 July 2006 09:53 Go to previous messageGo to next message
Eclipse UserFriend
I did a search for gtk_init_check and found the following:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=119156
https://bugs.eclipse.org/bugs/show_bug.cgi?id=106396

Though neither of these bugs are resolved, they have discussion (in
particular the first report) about possible ways to make this work.

Grant


"Thomas Hallgren" <thomas@tada.se> wrote in message
news:e8jck6$h76$1@utils.eclipse.org...
> I'm trying to run the Eclipse Automated tests using Linux and gtk.
Whenever I try to run the
> jdttext tests I run into the exception below.
>
> I do have a valid X session running. The DISPLAY variable is set and I can
start the Eclipse
> IDE without problems. I have no clue where to start looking. I'm using a
VNC server. Can
> that be the problem?
>
> Kind Regards,
> Thomas Hallgren
>
> 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:7 93)
> 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.ui.internal.Workbench.createDisplay(Workbench.ja va:448)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java
:122)
> at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
> at
org.eclipse.test.UITestApplication.runApplication(UITestAppl ication.java:131
)
> at org.eclipse.test.UITestApplication.run(UITestApplication.jav a:58)
Re: SWT problems on Linux [message #305767 is a reply to message #305645] Wed, 12 July 2006 06:55 Go to previous message
Eclipse UserFriend
Hi Grant,

Grant Gayed wrote:
> I did a search for gtk_init_check and found the following:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=119156
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=106396
>
> Though neither of these bugs are resolved, they have discussion (in
> particular the first report) about possible ways to make this work.
>
> Grant
>
Thanks for the pointers. The information did help me understand the probable cause of the
problem. Unfortunately non of the suggested workarounds works for me but I added an entry to
the 106396 bug to encourage further discussion. I hope we'll find a solution to this soon.

Regards,
Thomas Hallgren
Previous Topic:How to create auto-saving feature?
Next Topic:Which classes should/can be internal.
Goto Forum:
  


Current Time: Sat May 10 21:50:28 EDT 2025

Powered by FUDForum. Page generated in 0.04787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top