java.lang.ClassCastException

$Proxy0 cannot be cast to 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 web28

  • via Unknown by dr_nik,
  • Stack trace

    • java.lang.ClassCastException: $Proxy0 cannot be cast to java.lang.String at java.lang.String.compareTo(String.java:92) at MainClass.main(MainClass.java:147)

    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

    mortalman7mortalman7
    Once,
    nasimknasimk
    Once,
    Unknown visitor
    Unknown visitorOnce,