You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run GettingStartedApp example. I have updated all the artifacts in pom to version 0.1 from releases repository, so now my pom.xml looks like this.
When I run the application, I get the following error:
12:49:46.881 [main] INFO c.t.t.m.o.r.DictionaryDeserializer - About to deserialize MorphDictionary from InputStream of jar:file:/home/anth/.m2/repository/com/textocat/textokit/core/textokit-dictionary-opencorpora-resource/0.1-20140407-1/textokit-dictionary-opencorpora-resource-0.1-20140407-1-rnc.jar!/opencorpora-0.92-390668-rnc.dict.ser...
Exception in thread "main" org.apache.uima.resource.ResourceInitializationException: Unexpected Exception thrown when initializing Custom Resource "com.textocat.textokit.morph.opencorpora.resource.ClasspathMorphDictionaryResource" from descriptor "<unknown>".
at org.apache.uima.impl.CustomResourceFactory_impl.produceResource(CustomResourceFactory_impl.java:94)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
...
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:448)
at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:166)
at com.textocat.textokit.examples.GettingStartedApp.main(GettingStartedApp.java:52)
Caused by: org.apache.uima.resource.ResourceInitializationException
at com.textocat.textokit.morph.opencorpora.resource.ClasspathMorphDictionaryResource.initialize(ClasspathMorphDictionaryResource.java:60)
at org.apache.uima.impl.CustomResourceFactory_impl.produceResource(CustomResourceFactory_impl.java:92)
... 23 more
Caused by: java.lang.IllegalStateException: unread block data
at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2449)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1385)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
at com.textocat.textokit.morph.opencorpora.resource.DictionaryDeserializer.from(DictionaryDeserializer.java:53)
at com.textocat.textokit.morph.opencorpora.resource.CachedDictionaryDeserializer.getDictionary(CachedDictionaryDeserializer.java:76)
at com.textocat.textokit.morph.opencorpora.resource.ClasspathMorphDictionaryResource.initialize(ClasspathMorphDictionaryResource.java:54)
... 24 more
I couldn't find any similar resources, as well as any instructions on how to create my own serialized file.
How should I run this application?
The text was updated successfully, but these errors were encountered:
I'm trying to run
GettingStartedApp
example. I have updated all the artifacts in pom to version0.1
from releases repository, so now my pom.xml looks like this.When I run the application, I get the following error:
I couldn't find any similar resources, as well as any instructions on how to create my own serialized file.
How should I run this application?
The text was updated successfully, but these errors were encountered: