ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giri vara prasad nambari <girinamb...@gmail.com>
Subject Re: NullpointerException while doing LoadAE (ctakes 3.0)
Date Tue, 09 Apr 2013 18:59:57 GMT
Hi Pei and community,

Yes. Having ctakes resources resolved this issue.

I have a question, where can I get more details on what these
ctakes-resources zip file contains and ctakes dependency on this file? Any
pointers would be great.

Thanks for your time and help.

Thank you,
Giri


On Mon, Apr 8, 2013 at 6:30 PM, giri vara prasad nambari <
girinambari@gmail.com> wrote:

> Hi Pei,
>
> No. I thought they are optional. Will download and try again.
>
> Thanks for  your  time and help.
>
> Thank you,
> Giri
> On Apr 8, 2013 6:22 PM, "Chen, Pei" <Pei.Chen@childrens.harvard.edu>
> wrote:
>
>>  Hi Giri:****
>>
>> In 3.0 (the required resources were a separate download), have you
>> downloaded the resources file into the resources folder: Step 4 in the link?
>> ****
>>
>> *Linux*: ****
>>
>> cd /tmp****
>>
>> wget
>> http://sourceforge.net/projects/ctakesresources/files/ctakes-resources-3.0.1.zip
>> ****
>>
>> sudo unzip ctakes-resources-3.0.1.zip****
>>
>> cp -R /tmp/resources/* /usr/local/apache-ctakes-3.0.0-incubating/resources
>> ****
>>
>> ** **
>>
>> HTH****
>>
>> ** **
>>
>> *From:* giri vara prasad nambari [mailto:girinambari@gmail.com]
>> *Sent:* Monday, April 08, 2013 5:39 PM
>> *To:* ctakes-user@incubator.apache.org; dev@ctakes.apache.org
>> *Subject:* NullpointerException while doing LoadAE (ctakes 3.0)****
>>
>> ** **
>>
>> Hi Everyone,****
>>
>>  ****
>>
>>  ****
>>
>> I have followed steps defined in following link (except step4 in install
>> ctakes)****
>>
>>  ****
>>
>>
>> https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0+User+Install+Guide
>> ****
>>
>>  ****
>>
>> When I run CVD and load AE (Step 4 in process documents) I am getting
>> following exception. Any help would be appreciated.****
>>
>>  ****
>>
>> 4/8/13 5:34:03 PM - 14:
>> org.apache.uima.tools.cvd.MainFrame.handleException(527): SEVERE:
>> Initialization of annotator class
>> "org.apache.ctakes.dependency.parser.ae.ClearParserDependencyParserAE"
>> failed.  (Descriptor:
>> file:/C:/apache-ctakes/desc/ctakes-dependency-parser/desc/analysis_engine/ClearParserDependencyParserAE.xml)
>> org.apache.uima.resource.ResourceInitializationException: Initialization
>> of annotator class
>> "org.apache.ctakes.dependency.parser.ae.ClearParserDependencyParserAE"
>> failed.  (Descriptor:
>> file:/C:/apache-ctakes/desc/ctakes-dependency-parser/desc/analysis_engine/ClearParserDependencyParserAE.xml)
>>  at
>> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:252)
>>  at
>> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:156)
>>  at
>> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
>>  at
>> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
>>  at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269)
>>  at
>> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387)
>>  at
>> org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:254)
>>  at
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:431)
>>  at
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375)
>>  at
>> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:185)
>>  at
>> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
>>  at
>> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
>>  at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269)
>>  at
>> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:354)
>>  at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1484)
>>  at
>> org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:477)
>>  at
>> org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
>>  at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>>  at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>>  at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>>  at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>>  at javax.swing.AbstractButton.doClick(Unknown Source)
>>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>>  at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
>> Source)
>>  at java.awt.Component.processMouseEvent(Unknown Source)
>>  at javax.swing.JComponent.processMouseEvent(Unknown Source)
>>  at java.awt.Component.processEvent(Unknown Source)
>>  at java.awt.Container.processEvent(Unknown Source)
>>  at java.awt.Component.dispatchEventImpl(Unknown Source)
>>  at java.awt.Container.dispatchEventImpl(Unknown Source)
>>  at java.awt.Component.dispatchEvent(Unknown Source)
>>  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>>  at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>>  at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>>  at java.awt.Container.dispatchEventImpl(Unknown Source)
>>  at java.awt.Window.dispatchEventImpl(Unknown Source)
>>  at java.awt.Component.dispatchEvent(Unknown Source)
>>  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>>  at java.awt.EventQueue.access$000(Unknown Source)
>>  at java.awt.EventQueue$3.run(Unknown Source)
>>  at java.awt.EventQueue$3.run(Unknown Source)
>>  at java.security.AccessController.doPrivileged(Native Method)
>>  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
>> Source)
>>  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
>> Source)
>>  at java.awt.EventQueue$4.run(Unknown Source)
>>  at java.awt.EventQueue$4.run(Unknown Source)
>>  at java.security.AccessController.doPrivileged(Native Method)
>>  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
>> Source)
>>  at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>>  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>  at java.awt.EventDispatchThread.run(Unknown Source)
>> Caused by: java.lang.NullPointerException
>>  at clear.morph.MorphEnAnalyzer.<init>(MorphEnAnalyzer.java:111)
>>  at
>> org.apache.ctakes.dependency.parser.ae.ClearParserDependencyParserAE.initialize(ClearParserDependencyParserAE.java:136)
>>  at
>> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:250)
>>  ... 54 more****
>>
>>  ****
>>
>>  ****
>>
>> Thank you,****
>>
>> Giri****
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message