java.lang.ClassCastException: java.lang.String

Oracle Community | 807553 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    how to handle runtime exceptions???

    Oracle Community | 1 decade ago | 807553
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at mld.actionPerformed()
    2. Unknown
      mld.actionPerformed
      1. mld.actionPerformed(mld.java:49)
      1 frame
    3. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
      6. java.awt.Component.processMouseEvent(Component.java:5021)
      7. java.awt.Component.processEvent(Component.java:4818)
      8. java.awt.Container.processEvent(Container.java:1380)
      9. java.awt.Component.dispatchEventImpl(Component.java:3526)
      10. java.awt.Container.dispatchEventImpl(Container.java:1437)
      11. java.awt.Component.dispatchEvent(Component.java:3367)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
      15. java.awt.Container.dispatchEventImpl(Container.java:1423)
      16. java.awt.Window.dispatchEventImpl(Window.java:1566)
      17. java.awt.Component.dispatchEvent(Component.java:3367)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      18 frames