java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 189#252450641
    via GitHub by jasonwee
    ,
  • Unable to cast a class error
    via Stack Overflow by JustCause
    ,
  • In Java how to cast an interface properly?
    via Stack Overflow by Frank
    ,
    • java.lang.ClassCastException: play.learn.gpu.rootbeer1.ScalarAddKernel cannot be cast to org.trifort.rootbeer.runtime.CompiledKernel at org.trifort.rootbeer.runtime.CUDAContext.setKernel(CUDAContext.java:119) at org.trifort.rootbeer.runtime.Rootbeer.run(Rootbeer.java:84) at ScalarAddApp.multArray(ScalarAddApp.java:23) at ScalarAddApp.main(ScalarAddApp.java:42)
    No Bugmate found.