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.


Solutions on the web2

Solution icon of github
via GitHub by Horsmann
, 1 year ago
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

Solution icon of github
via GitHub by maxxkia
, 1 year ago
Task [org.dkpro.lab.task.BatchTaskTest$7] has never been executed.

Stack trace

  • 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. at org.dkpro.lab.engine.impl.BatchTaskEngine.executeConfiguration(BatchTaskEngine.java:261) at org.dkpro.lab.engine.impl.BatchTaskEngine.run(BatchTaskEngine.java:133) at org.dkpro.lab.engine.impl.DefaultTaskExecutionService.run(DefaultTaskExecutionService.java:52) at org.dkpro.lab.Lab.run(Lab.java:107) at org.dkpro.tc.examples.single.pair.WekaExternalResourceDemo.runTrainTest(WekaExternalResourceDemo.java:134) at org.dkpro.tc.examples.single.pair.WekaExternalResourceDemo.main(WekaExternalResourceDemo.java:80) Caused by: 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. at org.dkpro.lab.engine.impl.BatchTaskEngine$ScopedTaskContext.resolve(BatchTaskEngine.java:521) at org.dkpro.lab.engine.impl.DefaultTaskContextFactory.resolveImports(DefaultTaskContextFactory.java:141) at org.dkpro.lab.engine.impl.DefaultTaskContextFactory.createContext(DefaultTaskContextFactory.java:97) at org.dkpro.lab.uima.engine.simple.SimpleExecutionEngine.run(SimpleExecutionEngine.java:77) at org.dkpro.lab.engine.impl.BatchTaskEngine.runNewExecution(BatchTaskEngine.java:329) at org.dkpro.lab.engine.impl.BatchTaskEngine.executeConfiguration(BatchTaskEngine.java:234) ... 5 more Caused by: 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(ImportUtil.java:124) at org.dkpro.lab.engine.impl.BatchTaskEngine.getLatestExecution(BatchTaskEngine.java:306) at org.dkpro.lab.engine.impl.BatchTaskEngine.access$000(BatchTaskEngine.java:64) at org.dkpro.lab.engine.impl.BatchTaskEngine$ScopedTaskContext.resolve(BatchTaskEngine.java:518) ... 10 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.