java.lang.ClassCastException: edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge cannot be cast to edu.illinois.cs.cogcomp.saul.datamodel.edge.Link

GitHub | kordjamshidi | 1 year 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 53#147041295

    GitHub | 1 year ago | kordjamshidi
    java.lang.ClassCastException: edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge cannot be cast to edu.illinois.cs.cogcomp.saul.datamodel.edge.Link

    Root Cause Analysis

    1. java.lang.ClassCastException

      edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge cannot be cast to edu.illinois.cs.cogcomp.saul.datamodel.edge.Link

      at edu.illinois.cs.cogcomp.saul.datamodel.DataModel$class.getFromRelation()
    2. edu.illinois.cs
      setCoverApp.main
      1. edu.illinois.cs.cogcomp.saul.datamodel.DataModel$class.getFromRelation(DataModel.scala:76)
      2. edu.illinois.cs.cogcomp.saulexamples.setcover.SetCoverSolverDataModel.getFromRelation(SetCoverSolver.scala:8)
      3. edu.illinois.cs.cogcomp.saulexamples.setcover.setCoverApp$.main(setCoverApp.scala:37)
      4. edu.illinois.cs.cogcomp.saulexamples.setcover.setCoverApp.main(setCoverApp.scala)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
      1 frame