Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kordjamshidi
, 1 year ago
edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge cannot be cast to edu.illinois.cs.cogcomp.saul.datamodel.edge.Link
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(DataModel.scala:76) at edu.illinois.cs.cogcomp.saulexamples.setcover.SetCoverSolverDataModel.getFromRelation(SetCoverSolver.scala:8) at edu.illinois.cs.cogcomp.saulexamples.setcover.setCoverApp$.main(setCoverApp.scala:37) at edu.illinois.cs.cogcomp.saulexamples.setcover.setCoverApp.main(setCoverApp.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)