org.dkpro.lab.storage.TaskContextNotFoundException: Task [org.dkpro.tc.core.task.ExtractFeaturesTask-Test-TwentyNewsgroupsTrainTest] has never been executed.; nested exception is org.dkpro.lab.storage.UnresolvedImportException: Unable to resolve import of task [org.dkpro.tc.core.task.ExtractFeaturesTask-Test-TwentyNewsgroupsTrainTest] pointing to [task-latest://org.dkpro.tc.core.task.ExtractFeaturesTask-Train-TwentyNewsgroupsTrainTest/output]; nested exception is org.dkpro.lab.storage.TaskContextNotFoundException: Task [org.dkpro.tc.core.task.ExtractFeaturesTask-Train-TwentyNewsgroupsTrainTest] has never been executed.

GitHub | Horsmann | 10 months ago
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

    GitHub comment 39#236433385

    GitHub | 10 months ago | Horsmann
    org.dkpro.lab.storage.TaskContextNotFoundException: Task [org.dkpro.tc.core.task.ExtractFeaturesTask-Test-TwentyNewsgroupsTrainTest] has never been executed.; nested exception is org.dkpro.lab.storage.UnresolvedImportException: Unable to resolve import of task [org.dkpro.tc.core.task.ExtractFeaturesTask-Test-TwentyNewsgroupsTrainTest] pointing to [task-latest://org.dkpro.tc.core.task.ExtractFeaturesTask-Train-TwentyNewsgroupsTrainTest/output]; nested exception is org.dkpro.lab.storage.TaskContextNotFoundException: Task [org.dkpro.tc.core.task.ExtractFeaturesTask-Train-TwentyNewsgroupsTrainTest] has never been executed.

    Root Cause Analysis

    1. org.dkpro.lab.storage.TaskContextNotFoundException

      Task [org.dkpro.tc.core.task.ExtractFeaturesTask-Train-TwentyNewsgroupsTrainTest] has never been executed.

      at org.dkpro.lab.engine.impl.ImportUtil.createContextNotFoundException()
    2. org.dkpro.lab
      Lab.run
      1. org.dkpro.lab.engine.impl.ImportUtil.createContextNotFoundException(ImportUtil.java:124)
      2. org.dkpro.lab.engine.impl.BatchTaskEngine.getLatestExecution(BatchTaskEngine.java:306)
      3. org.dkpro.lab.engine.impl.BatchTaskEngine.access$000(BatchTaskEngine.java:64)
      4. org.dkpro.lab.engine.impl.BatchTaskEngine$ScopedTaskContext.resolve(BatchTaskEngine.java:518)
      5. org.dkpro.lab.engine.impl.DefaultTaskContextFactory.resolveImports(DefaultTaskContextFactory.java:141)
      6. org.dkpro.lab.engine.impl.DefaultTaskContextFactory.createContext(DefaultTaskContextFactory.java:97)
      7. org.dkpro.lab.uima.engine.simple.SimpleExecutionEngine.run(SimpleExecutionEngine.java:77)
      8. org.dkpro.lab.engine.impl.BatchTaskEngine.runNewExecution(BatchTaskEngine.java:329)
      9. org.dkpro.lab.engine.impl.BatchTaskEngine.executeConfiguration(BatchTaskEngine.java:234)
      10. org.dkpro.lab.engine.impl.BatchTaskEngine.run(BatchTaskEngine.java:133)
      11. org.dkpro.lab.engine.impl.DefaultTaskExecutionService.run(DefaultTaskExecutionService.java:52)
      12. org.dkpro.lab.Lab.run(Lab.java:107)
      12 frames
    3. org.dkpro.tc
      WekaExternalResourceDemo.main
      1. org.dkpro.tc.examples.single.pair.WekaExternalResourceDemo.runTrainTest(WekaExternalResourceDemo.java:134)
      2. org.dkpro.tc.examples.single.pair.WekaExternalResourceDemo.main(WekaExternalResourceDemo.java:80)
      2 frames