Skip to main content



      Home
Home » Eclipse Projects » GEF » Unhandled exception caught in event loop.
Unhandled exception caught in event loop. [message #18281] Wed, 28 August 2002 09:04 Go to next message
Eclipse UserFriend
Originally posted by: bkandan.selectica.com

hi,
i wrote an editor extending GraphicalEditorWithPalette...when i try to
run my program as a Runtime-Workbench, i get this error message "unhandled
exception caught in event loop"...what is the cause for this error...

Thanks in advance...
Balaji...
Re: Unhandled exception caught in event loop. [message #18315 is a reply to message #18281] Wed, 28 August 2002 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

Whenever you get this, a .log file is generated in $WORKSPACE$/.metadata
You'll have to post this .log file with the exception, but it is cumulative,
so make sure you delete it and then reproduce the exception.

"netbeans" <bkandan@selectica.com> wrote in message
news:akih3o$l8p$1@rogue.oti.com...
> hi,
> i wrote an editor extending GraphicalEditorWithPalette...when i try to
> run my program as a Runtime-Workbench, i get this error message "unhandled
> exception caught in event loop"...what is the cause for this error...
>
> Thanks in advance...
> Balaji...
>
>
Re: Unhandled exception caught in event loop. [message #18332 is a reply to message #18315] Wed, 28 August 2002 09:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bkandan.selectica.com

This is the error message in the log file...

!SESSION Aug 28, 2002
18:44:53.755 ---------------------------------------------
java.version=1.3.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -dev bin -data D:\eclipse\runtime-workspace -os
win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 Aug 28, 2002 18:44:53.755
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 28, 2002 18:44:53.765
!MESSAGE process.editors.CxProcessEditor
!STACK 0
java.lang.ClassCastException: process.editors.CxProcessEditor
at org.eclipse.ui.internal.EditorManager$1.run(EditorManager.ja va:460)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at
org.eclipse.ui.internal.EditorManager.openExternalEditor(Edi torManager.java:
453)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager
..java:430)
at
org.eclipse.ui.internal.EditorManager.openEditorFromInput(Ed itorManager.java
:304)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:386)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1680)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1575)
at
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizar d.performFinish(
BasicNewFileResourceWizard.java:95)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:577)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:312)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:398)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:87)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1529)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1291)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:557 )
at org.eclipse.jface.window.Window.open(Window.java:537)
at
org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizar dShortcutAction.
java:88)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:749 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Event(ActionCont
ributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(Act ionContributionI
tem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
ctionContributionItem.java:47)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1529)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1291)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1177)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)



"Randy Hudson" <hudsonr@spam.com> wrote in message
news:akiha5$lc7$1@rogue.oti.com...
> Whenever you get this, a .log file is generated in $WORKSPACE$/.metadata
> You'll have to post this .log file with the exception, but it is
cumulative,
> so make sure you delete it and then reproduce the exception.
>
> "netbeans" <bkandan@selectica.com> wrote in message
> news:akih3o$l8p$1@rogue.oti.com...
> > hi,
> > i wrote an editor extending GraphicalEditorWithPalette...when i try
to
> > run my program as a Runtime-Workbench, i get this error message
"unhandled
> > exception caught in event loop"...what is the cause for this error...
> >
> > Thanks in advance...
> > Balaji...
> >
> >
>
>
Re: Unhandled exception caught in event loop. [message #18720 is a reply to message #18332] Fri, 30 August 2002 10:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bkandan.selectica.com

isnt there any solution for my problem....
pls somebody help...

Balaji....


"netbeans" <bkandan@selectica.com> wrote in message
news:akihoc$ln7$1@rogue.oti.com...
> This is the error message in the log file...
>
> !SESSION Aug 28, 2002
> 18:44:53.755 ---------------------------------------------
> java.version=1.3.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -dev bin -data D:\eclipse\runtime-workspace -os
> win32 -ws win32 -arch x86
> !ENTRY org.eclipse.ui 4 4 Aug 28, 2002 18:44:53.755
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 Aug 28, 2002 18:44:53.765
> !MESSAGE process.editors.CxProcessEditor
> !STACK 0
> java.lang.ClassCastException: process.editors.CxProcessEditor
> at org.eclipse.ui.internal.EditorManager$1.run(EditorManager.ja va:460)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> at
>
org.eclipse.ui.internal.EditorManager.openExternalEditor(Edi torManager.java:
> 453)
> at
>
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager
> .java:430)
> at
>
org.eclipse.ui.internal.EditorManager.openEditorFromInput(Ed itorManager.java
> :304)
> at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:386)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1680)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1575)
> at
>
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizar d.performFinish(
> BasicNewFileResourceWizard.java:95)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:577)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:312)
> at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:398)
> at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:87)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1529)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1291)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:557 )
> at org.eclipse.jface.window.Window.open(Window.java:537)
> at
>
org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizar dShortcutAction.
> java:88)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:749 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:407)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Event(ActionCont
> ributionItem.java:361)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$0(Act ionContributionI
> tem.java:352)
> at
>
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
> ctionContributionItem.java:47)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :77)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1529)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1291)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1177)
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
> at
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> a:775)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
> at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
>
>
>
> "Randy Hudson" <hudsonr@spam.com> wrote in message
> news:akiha5$lc7$1@rogue.oti.com...
> > Whenever you get this, a .log file is generated in $WORKSPACE$/.metadata
> > You'll have to post this .log file with the exception, but it is
> cumulative,
> > so make sure you delete it and then reproduce the exception.
> >
> > "netbeans" <bkandan@selectica.com> wrote in message
> > news:akih3o$l8p$1@rogue.oti.com...
> > > hi,
> > > i wrote an editor extending GraphicalEditorWithPalette...when i try
> to
> > > run my program as a Runtime-Workbench, i get this error message
> "unhandled
> > > exception caught in event loop"...what is the cause for this error...
> > >
> > > Thanks in advance...
> > > Balaji...
> > >
> > >
> >
> >
>
>
Re: Unhandled exception caught in event loop. [message #18742 is a reply to message #18332] Fri, 30 August 2002 13:27 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

"netbeans" <bkandan@selectica.com> wrote in message
news:akihoc$ln7$1@rogue.oti.com...
> This is the error message in the log file...
>
> !SESSION Aug 28, 2002
> 18:44:53.755 ---------------------------------------------
> java.version=1.3.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -dev bin -data D:\eclipse\runtime-workspace -os
> win32 -ws win32 -arch x86
> !ENTRY org.eclipse.ui 4 4 Aug 28, 2002 18:44:53.755
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 Aug 28, 2002 18:44:53.765
> !MESSAGE process.editors.CxProcessEditor
> !STACK 0
> java.lang.ClassCastException: process.editors.CxProcessEditor
> at org.eclipse.ui.internal.EditorManager$1.run(EditorManager.ja va:460)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> at
>
org.eclipse.ui.internal.EditorManager.openExternalEditor(Edi torManager.java:
> 453)

Why does the EditorManager think that your Editor is external? I assume
this means some type of native App?
You should be able to use the debugger to create a breakpoint at the line
above, or at any ClassCastException.
Previous Topic:org.eclipse.core.runtime 0 java.lang.NullPointerException
Next Topic:How to create a bend point
Goto Forum:
  


Current Time: Mon Jun 02 16:07:29 EDT 2025

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

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

Back to the top