java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList

Coderanch | sampath kumar yanagandla | 9 years ago
  1. 0

    can you see how to handle this exception in following program

    Coderanch | 9 years ago | sampath kumar yanagandla
    java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList
  2. 0

    new JTable(Vector data, Vector colHeads);

    Oracle Community | 1 decade ago | 807607
    java.lang.ClassCastException: java.lang.String
  3. 0

    listing vector data in a jtable

    Oracle Community | 1 decade ago | 843805
    java.lang.ClassCastException: java.lang.S tring
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Does JTable like Vector?

    Google Groups | 2 decades ago | MasterAnakan
    java.lang.ClassCastException: java.lang.String
  6. 0

    Why am I getting a java.lang.ClassCastException when using JTable?

    Oracle Community | 1 decade ago | 843804
    java.lang.ClassCastException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.Collections$SynchronizedRandomAccessList

      at javax.swing.table.DefaultTableModel.justifyRows()
    2. Java RT
      JTable.<init>
      1. javax.swing.table.DefaultTableModel.justifyRows(DefaultTableModel.java:242)
      2. javax.swing.table.DefaultTableModel.setDataVector(DefaultTableModel.java:198)
      3. javax.swing.table.DefaultTableModel.<init>(DefaultTableModel.java:133)
      4. javax.swing.JTable.<init>(JTable.java:451)
      4 frames
    3. test
      Jtabinsertion.main
      1. test.Jtabinsertion.main(Jtabinsertion.java:50)
      1 frame