org.apache.uima.resource.ResourceInitializationException: Could not instantiate Annotator class "com.gauge.ie.uimaproject.POSTagger". Check that your annotator class is not abstract and has a zero-argument constructor. (Descriptor: <unknown>)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Stanford POSTagger with UIMA

    Stack Overflow | 2 years ago | Narendra Rawat
    org.apache.uima.resource.ResourceInitializationException: Could not instantiate Annotator class "com.gauge.ie.uimaproject.POSTagger". Check that your annotator class is not abstract and has a zero-argument constructor. (Descriptor: <unknown>)
  2. 0

    Connection Interrupted when opening a Communica... | SCN

    sap.com | 1 year ago
    java.io.InvalidClassException: com.sap.aii.ibdir.bom.cpa.Channel; local class incompatible: stream classdesc serialVersionUID = 366016170231986765, local class serialVersionUID = 2790972994638010697
  3. 0

    HELP: How to connect to a bpm service using Eclipse with spring and maven

    Oracle Community | 3 years ago | Whikiey
    java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is: java.io.InvalidClassException: oracle.security.jps.JpsException; local class incompatible: stream classdesc serialVersionUID = 2879452045101265594, local class serialVersionUID = 7185342412980113106
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InvalidClassException with sbt.testing.TestSelector

    GitHub | 3 years ago | UnsungHero97
    java.io.InvalidClassException: sbt.testing.TestSelector; local class incompatible: stream classdesc serialVersionUID = -1277815829122539856, local class serialVersionUID = 4300957833082274101
  6. 0

    Function serialization issue, another one :(

    GitHub | 2 years ago | VladUreche
    java.io.InvalidClassException: miniboxing.tests.compile.bug161.Test$$anonfun$1; no valid constructor
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.InvalidClassException

    edu.stanford.nlp.tagger.maxent.ExtractorDistsim; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2

    at java.io.ObjectStreamClass.initNonProxy()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:621)
    2. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)
    3. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
    4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
    5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    6. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    7. java.util.HashMap.readObject(HashMap.java:1396)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:497)
    12. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
    13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
    14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    16. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
    17. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
    18. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
    19. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    20. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    20 frames
  3. Stanford CoreNLP
    MaxentTagger.<init>
    1. edu.stanford.nlp.tagger.maxent.MaxentTagger.readExtractors(MaxentTagger.java:595)
    2. edu.stanford.nlp.tagger.maxent.MaxentTagger.readModelAndInit(MaxentTagger.java:820)
    3. edu.stanford.nlp.tagger.maxent.MaxentTagger.readModelAndInit(MaxentTagger.java:767)
    4. edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:298)
    5. edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:263)
    5 frames
  4. com.gauge.ie
    POSTagger.<init>
    1. com.gauge.ie.uimaproject.POSTagger.<init>(POSTagger.java:20)
    1 frame
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    5. java.lang.Class.newInstance(Class.java:442)
    5 frames
  6. Apache UIMA Base: ${project.artifactId}
    UIMAFramework.produceAnalysisEngine
    1. org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:240)
    2. org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
    3. org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
    4. org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
    5. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
    6. org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407)
    7. org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256)
    8. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:430)
    9. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:374)
    10. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:187)
    11. org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
    12. org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
    13. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
    14. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:331)
    15. org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:448)
    15 frames
  7. org.apache.uima
    SimplePipeline.runPipeline
    1. org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:140)
    1 frame
  8. com.gauge.ie
    pipeline.main
    1. com.gauge.ie.uimaproject.pipeline.main(pipeline.java:27)
    1 frame