java.lang.ClassCastException

java.lang.String

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

  • via Unknown by Sherry Jacob,
  • via Unknown by 807593,
  • via Stack Overflow by navindren
    ,
  • Stack trace

    • java.lang.ClassCastException: java.lang.String at javax.swing.table.DefaultTableModel.justifyRows(DefaultTableModel.java:238) at javax.swing.table.DefaultTableModel.setDataVector(DefaultTableModel.java:194) at TablePopulation.<init>(TablePopulation.java:36) at TablePopulation.main(TablePopulation.java:49)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.