java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.awt.List

cyberforum.ru | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Создание массива объектов с коллекцией - Java SE (J2SE) - CyberForum.ru

    cyberforum.ru | 9 months ago
    java.lang.ClassCastException: java.util.Collections$EmptyList cannot be cast to java.awt.List

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.Collections$EmptyList cannot be cast to java.awt.List

      at Node.<init>()
    2. Unknown
      MainFrame.main
      1. Node.<init>(Node.java:8)
      2. MainFrame.main(MainFrame.java:20)
      2 frames