Further investigation shows that I am experiencing the same behaviour as
William.

I get a NullPointerException and an "Unhandled event loop Exception" at
the same place.

For me it is simply repeatable 

New project with nothing in it ->  New typeSystemDescriptor -> press
add.  Its all over 

I'll try a new version of java next.

Cheers,

Tim  

-----Original Message-----
From: William Surowiec [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 28 March 2007 1:07 AM
To: [email protected]
Subject: Re: Problems with typesystem descriptor editor

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.enableO
K(AddTypeDialog.java:193) 

   at
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog.handle
Event(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.createD
ialogArea(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(TypeSect
ion.java:694) 

   at
org.apache.uima.taeconfigurator.editors.ui.TypeSection.handleEdit(TypeSe
ction.java:526) 

   at
org.apache.uima.taeconfigurator.editors.ui.TypeSection.handleEvent(TypeS
ection.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:4
52)
   at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:101) 

   at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:146) 

   at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:106) 

   at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.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)




LASRI YASSINE wrote:
> I have also the same problem with type system editor, I'm using 
> eclipse
> 3.2.1 and uima-apache
>
> 2007/3/27, Cawley, Tim <[EMAIL PROTECTED]>:
>>
>>
>> I'm having problems with both the typeSystemDescriptor and 
>> analysisEngineDescriptor editors
>>
>> The "add Type" button does nothing. I'm expecting a window as with 
>> previous releases.
>>
>> I'm using (trying to use) eclipse 3.2.2 uima 2.1.0-incubating 
>> jdk1.5.0_10 and jre1.5.0_10 are the only java's I have installed.
>>
>> Has anybody else had problems?
>>
>> Cheers,
>>
>> Tim
>>
>> IMPORTANT: This email remains the property of the Australian Defence 
>> Organisation and is subject to the jurisdiction of section 70 of the 
>> CRIMES ACT 1914.  If you have received this email in error, you are 
>> requested to contact the sender and delete the email.
>>
>>
>>
>

Reply via email to