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

Coderanch | Hans Peter | 2 years 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

    How to sum a column of a jtable

    Stack Overflow | 2 years ago | Weissheit
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
  2. 0

    jTable sum of a column

    Coderanch | 2 years ago | Hans Peter
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at gedanke.Leckageberechnung_2.berechnenbuttonActionPerformed()
    2. gedanke
      Leckageberechnung_2$11.actionPerformed
      1. gedanke.Leckageberechnung_2.berechnenbuttonActionPerformed(Leckageberechnung_2.java:491)
      2. gedanke.Leckageberechnung_2.access$800(Leckageberechnung_2.java:15)
      3. gedanke.Leckageberechnung_2$11.actionPerformed(Leckageberechnung_2.java:175)
      3 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.Component.processMouseEvent(Component.java:6038)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
      8. java.awt.Component.processEvent(Component.java:5803)
      9. java.awt.Container.processEvent(Container.java:2058)
      10. java.awt.Component.dispatchEventImpl(Component.java:4410)
      11. java.awt.Container.dispatchEventImpl(Container.java:2116)
      12. java.awt.Component.dispatchEvent(Component.java:4240)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
      16. java.awt.Container.dispatchEventImpl(Container.java:2102)
      17. java.awt.Window.dispatchEventImpl(Window.java:2429)
      18. java.awt.Component.dispatchEvent(Component.java:4240)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      20. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
      21. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      22. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      25. java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
      25 frames