java.lang.ClassCastException: com.jrefinery.report.demo.MainReportDemo$SampleData2

Oracle Community | 807551 | 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

    how do i delete jTable row using abstract table model

    Oracle Community | 1 decade ago | 807551
    java.lang.ClassCastException: com.jrefinery.report.demo.MainReportDemo$SampleData2

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.jrefinery.report.demo.MainReportDemo$SampleData2

      at com.jrefinery.report.demo.MainReportDemo.jButton1ActionPerformed()
    2. com.jrefinery.report
      MainReportDemo$9.actionPerformed
      1. com.jrefinery.report.demo.MainReportDemo.jButton1ActionPerformed(MainReportDemo.java:331)
      2. com.jrefinery.report.demo.MainReportDemo.access$700(MainReportDemo.java:67)
      3. com.jrefinery.report.demo.MainReportDemo$9.actionPerformed(MainReportDemo.java:301)
      3 frames
    3. Java RT
      EventDispatchThread.run
      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)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      23. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
      23 frames