You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by William Surowiec <ws...@gmail.com> on 2007/03/23 20:21:50 UTC

Unhandled event loop exception

I encounter an "Unhandled event loop exception"
when I press the "Edit" button
in the "Component Descriptor Editor"
while looking at the "OpenNLPExampleTypes.xml"
in the "uimaj-examples" code.

The problem seems to be generic - any CDE file (new ones (add button) as 
well) exhibit the same problem.

I am running windows xpPro, java 1.6, eclipse 3.3.x (Europa) and uima 
2.1.0.
I just confirmed uima sub-directories in the eclipse plugin directory 
are ...2.1.0.incubating.

Sorry for the length of the following:

eclipse.buildId=I20070222-0951
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -launcher E:\eclipse3.3\eclipse.exe -name Eclipse 
-startup 
E:\eclipse3.3\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
Command-line arguments:  -os win32 -ws win32 -arch x86 -launcher 
E:\eclipse3.3\eclipse.exe -name Eclipse -startup 
E:\eclipse3.3\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar

Error
Fri Mar 23 14:37:32 EDT 2007
Unhandled event loop exception

java.lang.NullPointerException
    at 
org.apache.uima.taeconfigurator.editors.ui.dialogs.AddTypeDialog.enableOK(AddTypeDialog.java:193)
    at 
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog.handleEvent(AbstractDialog.java:318)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2360)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3603)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3477)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4159)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2114)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:133)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3562)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2007)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4159)
    at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
    at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:2973)
    at org.eclipse.swt.widgets.Text.setText(Text.java:1803)
    at 
org.apache.uima.taeconfigurator.editors.ui.dialogs.AddTypeDialog.createDialogArea(AddTypeDialog.java:105)
    at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:780)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1111)
    at org.eclipse.jface.window.Window.open(Window.java:785)
    at 
org.apache.uima.taeconfigurator.editors.ui.TypeSection.editType(TypeSection.java:694)
    at 
org.apache.uima.taeconfigurator.editors.ui.TypeSection.handleEdit(TypeSection.java:526)
    at 
org.apache.uima.taeconfigurator.editors.ui.TypeSection.handleEvent(TypeSection.java:296)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3490)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
    at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:452)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101)
    at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
    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.equinox.launcher.Main.invokeFramework(Main.java:476)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1124)



Re: Unhandled event loop exception

Posted by Marshall Schor <ms...@schor.com>.
William Surowiec wrote:
> I encounter an "Unhandled event loop exception"
> when I press the "Edit" button
> in the "Component Descriptor Editor"
> while looking at the "OpenNLPExampleTypes.xml"
> in the "uimaj-examples" code.
>

Sorry - is a bug.  Fixed - see Jira issue 364.  -Marshall