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

Coderanch | terry oliver | 9 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

    casting problem at runtime

    Coderanch | 9 years ago | terry oliver
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at EngineeringCalculations.secondaryTurns()
    2. Unknown
      transTest.main
      1. EngineeringCalculations.secondaryTurns(EngineeringCalculations.java:696)
      2. transTest.main(transTest.java:73)
      2 frames