Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Unhandled event loop exception
Unhandled event loop exception [message #300720] Thu, 16 March 2006 07:00 Go to next message
Eclipse UserFriend
Originally posted by: pksr.wanadoo.nl

Hello all,

I get an internal error when i click on the hint in the margin of a line
of java code. The hint pops up and then i get the internal error message
stating that an SWT error has occured. In the .log file I see the
following lines:
eclipse.buildId=M20050929-0840
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 4 2006-03-16 12:02:01.796
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-03-16 12:02:01.796
!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2968)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.SWT.error(SWT.java:2836)
at org.eclipse.swt.widgets.Widget.error(Widget.java:395)
at org.eclipse.swt.widgets.Control.createHandle(Control.java:48 2)
at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:229)
at org.eclipse.swt.widgets.Decorations.createHandle(Decorations .java:413)
at org.eclipse.swt.widgets.Shell.createHandle(Shell.java:448)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:49 7)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:131)
at org.eclipse.swt.widgets.Decorations.createWidget(Decorations .java:421)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:255)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:332)
at
org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:130)
at
org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:110)
at
org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:211)
at
org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:250)
at
org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAs sistant$1.createInformationControl(JavaCorrectionAssistant.j ava:98)
at
org.eclipse.jface.text.AbstractInformationControlManager.get InformationControl(AbstractInformationControlManager.java:61 9)
at
org.eclipse.jface.text.AbstractInformationControlManager.int ernalShowInformationControl(AbstractInformationControlManage r.java:850)
at
org.eclipse.jface.text.AbstractInformationControlManager.pre sentInformation(AbstractInformationControlManager.java:836)
at
org.eclipse.jface.text.AbstractInformationControlManager.set Information(AbstractInformationControlManager.java:291)
at
org.eclipse.jface.text.contentassist.AdditionalInfoControlle r.computeInformation(AdditionalInfoController.java:236)
at
org.eclipse.jface.text.AbstractInformationControlManager.doS howInformation(AbstractInformationControlManager.java:820)
at
org.eclipse.jface.text.AbstractInformationControlManager.sho wInformation(AbstractInformationControlManager.java:810)
at
org.eclipse.jface.text.contentassist.AdditionalInfoControlle r$1.run(AdditionalInfoController.java:173)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3102)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2761)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

what is the poroblem? I'm workin with Eclipse 3.1.2 and Java SDK 1.5.0_06
on a Windows XP machine.
Re: Unhandled event loop exception [message #300723 is a reply to message #300720] Thu, 16 March 2006 07:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

You are running out of handles for your widgets
Seems like you have a seriouse handle leak in your app. Remember to
dispose any widget you created you no longer need.

Regards
Stefan

Peter wrote:
> Hello all,
>
> I get an internal error when i click on the hint in the margin of a line
> of java code. The hint pops up and then i get the internal error message
> stating that an SWT error has occured. In the .log file I see the
> following lines:
> eclipse.buildId=M20050929-0840
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2006-03-16 12:02:01.796
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 2006-03-16 12:02:01.796
> !MESSAGE No more handles
> !STACK 0
> org.eclipse.swt.SWTError: No more handles
> at org.eclipse.swt.SWT.error(SWT.java:2968)
> at org.eclipse.swt.SWT.error(SWT.java:2865)
> at org.eclipse.swt.SWT.error(SWT.java:2836)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:395)
> at org.eclipse.swt.widgets.Control.createHandle(Control.java:48 2)
> at org.eclipse.swt.widgets.Composite.createHandle(Composite.jav a:229)
> at
> org.eclipse.swt.widgets.Decorations.createHandle(Decorations .java:413)
> at org.eclipse.swt.widgets.Shell.createHandle(Shell.java:448)
> at org.eclipse.swt.widgets.Control.createWidget(Control.java:49 7)
> at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.j ava:131)
> at
> org.eclipse.swt.widgets.Decorations.createWidget(Decorations .java:421)
> at org.eclipse.swt.widgets.Shell.<init>(Shell.java:255)
> at org.eclipse.swt.widgets.Shell.<init>(Shell.java:332)
> at
> org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:130)
>
> at
> org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:110)
>
> at
> org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:211)
>
> at
> org.eclipse.jface.text.DefaultInformationControl.<init>(DefaultInformationControl.java:250)
>
> at
> org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAs sistant$1.createInformationControl(JavaCorrectionAssistant.j ava:98)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.get InformationControl(AbstractInformationControlManager.java:61 9)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.int ernalShowInformationControl(AbstractInformationControlManage r.java:850)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.pre sentInformation(AbstractInformationControlManager.java:836)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.set Information(AbstractInformationControlManager.java:291)
>
> at
> org.eclipse.jface.text.contentassist.AdditionalInfoControlle r.computeInformation(AdditionalInfoController.java:236)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.doS howInformation(AbstractInformationControlManager.java:820)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.sho wInformation(AbstractInformationControlManager.java:810)
>
> at
> org.eclipse.jface.text.contentassist.AdditionalInfoControlle r$1.run(AdditionalInfoController.java:173)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3102)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2761)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> what is the poroblem? I'm workin with Eclipse 3.1.2 and Java SDK
> 1.5.0_06 on a Windows XP machine.
>
>
Re: Unhandled event loop exception [message #300728 is a reply to message #300723] Thu, 16 March 2006 07:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pksr.wanadoo.nl

I dont think that is the problem because I also get it when I start
Eclipse in a new workspace with just one class that contains an error.
When I click on the error in the margin the SWT internal error occurs.

Regs,

Peter
Re: Unhandled event loop exception [message #300893 is a reply to message #300728] Sun, 19 March 2006 08:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

It's an OS thing. If you've run out of handles, and you start up a new app, that won't be able to create it either. If you see this same behaviour after a reboot, then yes, it's a problem with your code. If a reboot cleans it up, it probably just means there was a memory/SWT-handle leak that you're falling over with.

Win9x had a more serious problem with OS-handles than more recent versions of XP, so it would also be useful to know which OS you're experiencing this from.

Alex.
Re: Unhandled event loop exception [message #301334 is a reply to message #300893] Tue, 28 March 2006 16:54 Go to previous message
Eclipse UserFriend
Originally posted by: poumy.freesurf.fr

Hello
I have the same issue on mon Suse 10 Linux (I use eclipse 3.1) :
as soon as I click on "Finish" during the first BIRT tutorial report, elcipse crash after a message about a SWT Error :
here is the log:

Unhandled event loop exception
Reason:
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

Please advice I would really like to see BIRT work ! ;-)

Raphael POUMAREDE
Previous Topic:Where are "derived resources" marked as such?
Next Topic:How to protect a plug-in
Goto Forum:
  


Current Time: Mon Sep 15 20:45:26 EDT 2025

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

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

Back to the top