org.dkpro.lab.engine.ExecutionException: org.apache.uima.resource.ResourceInitializationException: Error initializing "org.dkpro.tc.features.ngram.meta.LuceneCharacterNGramMetaCollector" from descriptor <unknown>.

GitHub | Horsmann | 4 months ago
  1. 0

    GitHub comment 39#235392584

    GitHub | 4 months ago | Horsmann
    org.dkpro.lab.engine.ExecutionException: org.apache.uima.resource.ResourceInitializationException: Error initializing "org.dkpro.tc.features.ngram.meta.LuceneCharacterNGramMetaCollector" from descriptor <unknown>.

    Root Cause Analysis

    1. org.apache.uima.resource.ResourceConfigurationException

      Parameter type mismatch in component "org.dkpro.tc.features.ngram.meta.LuceneCharacterNGramMetaCollector". A value of class java.lang.String cannot be assigned to the configuration parameter ngramLowerCase, which has type Boolean.

      at org.apache.uima.resource.metadata.impl.ResourceMetaData_impl.validateConfigurationParameterDataTypeMatch()
    2. Apache UIMA Base: ${project.artifactId}
      AggregateAnalysisEngine_impl.initialize
      1. org.apache.uima.resource.metadata.impl.ResourceMetaData_impl.validateConfigurationParameterDataTypeMatch(ResourceMetaData_impl.java:348)
      2. org.apache.uima.resource.metadata.impl.ResourceMetaData_impl.validateConfigurationParameterSettings(ResourceMetaData_impl.java:303)
      3. org.apache.uima.resource.metadata.impl.ResourceMetaData_impl.validateConfigurationParameterSettings(ResourceMetaData_impl.java:239)
      4. org.apache.uima.resource.impl.ConfigurationManagerImplBase.createContext(ConfigurationManagerImplBase.java:124)
      5. org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:162)
      6. org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:157)
      7. org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:130)
      8. org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
      9. org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
      10. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
      11. org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407)
      12. org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256)
      13. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
      14. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
      15. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
      15 frames
    3. org.dkpro.lab
      Lab.run
      1. org.dkpro.lab.uima.engine.simple.SimpleExecutionEngine.run(SimpleExecutionEngine.java:121)
      2. org.dkpro.lab.engine.impl.BatchTaskEngine.runNewExecution(BatchTaskEngine.java:329)
      3. org.dkpro.lab.engine.impl.BatchTaskEngine.executeConfiguration(BatchTaskEngine.java:234)
      4. org.dkpro.lab.engine.impl.BatchTaskEngine.run(BatchTaskEngine.java:133)
      5. org.dkpro.lab.engine.impl.DefaultTaskExecutionService.run(DefaultTaskExecutionService.java:52)
      6. org.dkpro.lab.Lab.run(Lab.java:107)
      6 frames
    4. org.dkpro.tc
      LiblinearSaveAndLoadModelTest.unitRoundTripTest
      1. org.dkpro.tc.examples.model.LiblinearSaveAndLoadModelTest.unitTrainAndStoreModel(LiblinearSaveAndLoadModelTest.java:328)
      2. org.dkpro.tc.examples.model.LiblinearSaveAndLoadModelTest.unitRoundTripTest(LiblinearSaveAndLoadModelTest.java:234)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      7. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      8. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      10. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      11. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      12. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      13. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      14. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      15. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      16. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames