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

Coderanch | terry oliver | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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