incubator-ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masanz, James J." <Masanz.Ja...@mayo.edu>
Subject RE: please solve the problem
Date Fri, 14 Dec 2012 15:38:30 GMT
Hi Hema,

Do you have a copy of lucene.jar on your classpath (other than what is included with cTAKES)?

-- James Masanz

> -----Original Message-----
> From: ctakes-dev-return-983-Masanz.James=mayo.edu@incubator.apache.org
> [mailto:ctakes-dev-return-983-Masanz.James=mayo.edu@incubator.apache.org]
> On Behalf Of hema madhuri
> Sent: Thursday, December 13, 2012 10:47 PM
> To: ctakes-dev@incubator.apache.org
> Subject: Re: please solve the problem
> 
> I am using cTAKES-2.5 version i have downloaded it from soucefroge when i
> am trying to load the AE i am getting the below exception the AE is in
> CTAKESdesc/cdpdesc/analysis_engine/AggregatePlaintextProcessor.xml
> 
> 
> 
> 12/14/12 10:09:28 AM - 10:
> org.mitre.medfacts.uima.assertion.AssertionAnalysisEngine.initialize:
> INFO:
> scope model file:
> /C:/cTAKES-
> 2.5/resources/assertionresources/org/mitre/medfacts/resources/scope.model
> 12/14/12 10:09:28 AM - 10:
> org.mitre.medfacts.uima.assertion.AssertionAnalysisEngine.initialize:
> INFO:
> cue model file:
> /C:/cTAKES-
> 2.5/resources/assertionresources/org/mitre/medfacts/resources/cue.model
> 12/14/12 10:09:55 AM - 10:
> org.mitre.medfacts.uima.assertion.AssertionAnalysisEngine.initialize:
> INFO:
> pos model file:
> /C:/cTAKES-
> 2.5/resources/assertionresources/org/mitre/medfacts/resources/pos.model
> 12/14/12 10:10:39 AM - 10:
> org.mitre.medfacts.i2b2.cli.BatchRunner.loadEnabledFeaturesFromFile: INFO:
> opening enabled features file:
> C:\cTAKES-
> 2.5\resources\assertionresources\org\mitre\medfacts\resources\featureFile1
> 1b
> 
> 12/14/12 10:11:05 AM - 10:
> org.apache.uima.tools.cvd.MainFrame.handleException(527): SEVERE:
> Exception occurred
> org.apache.uima.resource.ResourceInitializationException
>  at
> edu.mayo.bmi.uima.core.resource.LuceneIndexReaderResourceImpl.load(LuceneI
> ndexReaderResourceImpl.java:84)
>  at
> org.apache.uima.resource.impl.ResourceManager_impl.registerResource(Resour
> ceManager_impl.java:603)
>  at
> org.apache.uima.resource.impl.ResourceManager_impl.initializeExternalResou
> rces(ResourceManager_impl.java:442)
>  at
> org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.ja
> va:153)
>  at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(Ana
> lysisEngineImplBase.java:157)
>  at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initiali
> ze(PrimitiveAnalysisEngine_impl.java:123)
>  at
> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEn
> gineFactory_impl.java:94)
>  at
> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(Composi
> teResourceFactory_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.initiali
> zeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:375)
>  at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initiali
> ze(AggregateAnalysisEngine_impl.java:185)
>  at
> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEn
> gineFactory_impl.java:94)
>  at
> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(Composi
> teResourceFactory_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.actionPerforme
> d(AnnotatorOpenEventHandler.java:52)
>  at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>  at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:231
> 8)
>  at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java
> :387)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
>  at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
>  at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItem
> UI.java:850)
>  at java.awt.Component.processMouseEvent(Component.java:6290)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>  at java.awt.Component.processEvent(Component.java:6055)
>  at java.awt.Container.processEvent(Container.java:2039)
>  at java.awt.Component.dispatchEventImpl(Component.java:4653)
>  at java.awt.Container.dispatchEventImpl(Container.java:2097)
>  at java.awt.Component.dispatchEvent(Component.java:4481)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
>  at java.awt.Container.dispatchEventImpl(Container.java:2083)
>  at java.awt.Window.dispatchEventImpl(Window.java:2482)
>  at java.awt.Component.dispatchEvent(Component.java:4481)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
>  at java.awt.EventQueue.access$000(EventQueue.java:84)
>  at java.awt.EventQueue$1.run(EventQueue.java:607)
>  at java.awt.EventQueue$1.run(EventQueue.java:605)
>  at java.security.AccessController.doPrivileged(Native Method)  at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControl
> Context.java:87)
>  at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControl
> Context.java:98)
>  at java.awt.EventQueue$2.run(EventQueue.java:621)
>  at java.awt.EventQueue$2.run(EventQueue.java:619)
>  at java.security.AccessController.doPrivileged(Native Method)  at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControl
> Context.java:87)
>  at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
>  at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.ja
> va:269)
>  at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> 184)
>  at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.ja
> va:174)
>  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>  at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format
> version is not supported (resource:
> ChecksumIndexInput(RAMInputStream(name=segments))): 20988 (needs to be
> between -1 and -11). This version of Lucene only supports indexes created
> with release 1.9 and later.
>  at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:275)
>  at
> org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:76)
>  at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.jav
> a:709)
>  at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:72)
>  at org.apache.lucene.index.IndexReader.open(IndexReader.java:256)
>  at
> edu.mayo.bmi.uima.core.resource.LuceneIndexReaderResourceImpl.load(LuceneI
> ndexReaderResourceImpl.java:74)
>  ... 58 more

Mime
View raw message