java.lang.ClassCastException: it.acubelab.batframework.data.Tag cannot be cast to it.acubelab.batframework.data.Annotation (error type -106: Got an unexpected exception while running the experiment.)

GitHub | renespeck | 2 years 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

    Got an error while running the task: C2W/Spotlight/KORE50

    GitHub | 2 years ago | renespeck
    java.lang.ClassCastException: it.acubelab.batframework.data.Tag cannot be cast to it.acubelab.batframework.data.Annotation (error type -106: Got an unexpected exception while running the experiment.)

    Root Cause Analysis

    1. java.lang.ClassCastException

      it.acubelab.batframework.data.Tag cannot be cast to it.acubelab.batframework.data.Annotation

      at it.acubelab.batframework.metrics.ConceptAnnotationMatch.preProcessOutput()
    2. it.acubelab.batframework
      RunExperiments.performC2WExpVarThreshold
      1. it.acubelab.batframework.metrics.ConceptAnnotationMatch.preProcessOutput(ConceptAnnotationMatch.java:51)
      2. it.acubelab.batframework.metrics.Metrics.getResult(Metrics.java:18)
      3. it.acubelab.batframework.utils.RunExperiments.computeMetricsC2W(RunExperiments.java:162)
      4. it.acubelab.batframework.utils.RunExperiments.performC2WExpVarThreshold(RunExperiments.java:263)
      4 frames
    3. org.aksw.gerbil
      ExperimentTaskExecuter.run
      1. org.aksw.gerbil.execute.ExperimentTaskExecuter.runExperiment(ExperimentTaskExecuter.java:164)
      2. org.aksw.gerbil.execute.ExperimentTaskExecuter.run(ExperimentTaskExecuter.java:82)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame