java.lang.ClassCastException: java.lang.String cannot be cast to mycom.lang.MyString

Coderanch | albert kao | 5 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

    java.lang.ClassCastException: java.lang.String cannot be cast to mycom.lang.MyString

    Coderanch | 5 years ago | albert kao
    java.lang.ClassCastException: java.lang.String cannot be cast to mycom.lang.MyString

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to mycom.lang.MyString

      at myproj.client.swing.util.MyStringUtil$MapComparable.compare()
    2. myproj.client.swing
      MyStringUtil$MapComparable.compare
      1. myproj.client.swing.util.MyStringUtil$MapComparable.compare(MyStringUtil.java:25)
      1 frame