java.lang.ClassCastException

bean.Stock

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 web52

  • via Unknown by 807553,
  • via Stack Overflow by user2996028
    ,
  • Stack trace

    • java.lang.ClassCastException: bean.Stock at java.util.Arrays.mergeSort(Arrays.java:1044) at java.util.Arrays.sort(Arrays.java:997) at java.util.Collections.sort(Collections.java:82) at checkout.doGet(checkout.java:29)

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,