java.lang.ClassCastException: java.lang.String

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Denise Advincula, 1 year ago
via Google Groups by MasterAnakan, 3 months ago
java.lang.String
via Google Groups by MasterAnakan, 2 years ago
java.lang.String
via Oracle Community by 807607, 1 year ago
via Google Groups by MasterAnakan, 3 months ago
java.lang.String
via Coderanch by Sowmiya Selvamani, 1 year ago
java.lang.ClassCastException: java.lang.String
at javax.swing.table.DefaultTableModel.justifyRows(Unknown Source)
at javax.swing.table.DefaultTableModel.setDataVector(Unknown Source)
at javax.swing.table.DefaultTableModel.(Unknown Source)
at javax.swing.JTable.(Unknown Source)
at undefined.PubWSTest.getProductTable(Test.java:158)
at undefined.PubWSTest.panelProduct(Test.java:235)
at undefined.PubWSTest.main(Test.java:45)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.