java.lang.ClassCastException: com.company.VarargsGenericsTest$Generics cannot be cast to java.util.List Generics builderPattern

YouTrack | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java Project Language Level 8 (versus 7) results in different type-system behaviour; incompatibly fails at runtime, but IDEA does not show an

    YouTrack | 9 months ago
    java.lang.ClassCastException: com.company.VarargsGenericsTest$Generics cannot be cast to java.util.List Generics builderPattern

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.company.VarargsGenericsTest$Generics cannot be cast to java.util.List Generics builderPattern

      at com.company.VarargsGenericsTest.main()
    2. com.company
      VarargsGenericsTest.main
      1. com.company.VarargsGenericsTest.main(VarargsGenericsTest.java:10)
      1 frame