java.lang.ClassCastException

[Ljava.lang.Object; cannot be cast to [LPriorityQueueCustom$Task;

Solutions on the web19113

  • via Stack Overflow by dgrz
    , 10 months ago
    [Ljava.lang.Object; cannot be cast to [LPriorityQueueCustom$Task;
  • [Ljava.lang.Object; cannot be cast to [[Ljava.lang.Object;
  • via Google Groups by Grace Adewumi, 3 weeks ago
    [Ljava.lang.Object; cannot be cast to [[Ljava.lang.Object;
  • Stack trace

    • java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [LPriorityQueueCustom$Task; at PriorityQueueCustom.<init>(PriorityQueueCustom.java:28) at PriorityQueueTester.main(PriorityQueueTester.java:5)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.