java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer

Stack Overflow | Doz | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    MyGenericObject<Integer> = MyGenericObject<Double>?

    Stack Overflow | 6 months ago | Doz
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Double cannot be cast to java.lang.Integer

      at gendemo.GenDemo.main()
    2. gendemo
      GenDemo.main
      1. gendemo.GenDemo.main(GenDemo.java:24)
      1 frame