org.apache.uima.resource.ResourceInitializationException

Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Users/Abhik/workspace/Tagger/desc/HmmTagger.xml.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web59

  • Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Users/Abhik/workspace/Tagger/desc/HmmTagger.xml.
  • Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Users/USUARIO/Documents/apache-ctakes-3.2.0/desc/ctakes-dictionary-lookup/desc/analysis_engine/DictionaryLookupAnnotatorUMLS.xml.
  • Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Users/USUARIO/Documents/apache-ctakes-3.2.0/desc/ctakes-dictionary-lookup/desc/analysis_engine/DictionaryLookupAnnotatorUMLS.xml.
  • Stack trace

    • org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Users/Abhik/workspace/Tagger/desc/HmmTagger.xml. at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:144) at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:267) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:241) at org.apache.uima.resource.impl.ResourceManager_impl.registerResource(ResourceManager_impl.java:546) at org.apache.uima.resource.impl.ResourceManager_impl.initializeExternalResources(ResourceManager_impl.java:423) at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:146) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:157) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:125) 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:267) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:361) 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:267) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:335) at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1464) 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(UnknownSource) 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.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: org.apache.uima.resource.ResourceInitializationException: Could not access the resource data at file:english/BrownModel.dat. at org.apache.uima.resource.impl.DataResource_impl.initialize(DataResource_impl.java:126) at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:123) ... 50 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.