java.lang.ClassCastException: java.lang.Integer

Oracle Community | 807549 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    stack dump problem

    Oracle Community | 1 decade ago | 807549
    java.lang.ClassCastException: java.lang.Integer

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer

      at postfix2.calculatePostfix()
    2. Unknown
      TheFrame.actionPerformed
      1. postfix2.calculatePostfix(postfix2.java:26)
      2. TheFrame.actionPerformed(ExpressionConverter.java:81)
      2 frames
    3. Java RT
      EventDispatchThread.run
      1. java.awt.Button.processActionEvent(Unknown Source)
      2. java.awt.Button.processEvent(Unknown Source)
      3. java.awt.Component.dispatchEventImpl(Unknown Source)
      4. java.awt.Component.dispatchEvent(Unknown Source)
      5. java.awt.EventQueue.dispatchEvent(Unknown Source)
      6. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      8. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      9. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      10. java.awt.EventDispatchThread.run(Unknown Source)
      10 frames