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

Coderanch | Arun Somasundaram | 7 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

    Mixing generic and non generic legacy code issue

    Coderanch | 7 years ago | Arun Somasundaram
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at pack1.TestList1.main()
    2. pack1
      TestList1.main
      1. pack1.TestList1.main(TestList1.java:12)
      1 frame