Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1558

Webservice method returning a Set results in java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1.1, 2.0.7
    • None
    • None
    • Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
      jaxb-api-2.1.jar, jaxb-impl-2.1.6.jar, asm-2.2.3.jar

    Description

      A webservice method that returns a Set results in java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List.

      The problem seems related to asm because when asm is removed from the classpath the exception does not occur.

      Attachments

        1. cxf-classcast-bug.tar.gz
          0.8 kB
          Martijn Brinkers

        Activity

          People

            dkulp Daniel Kulp
            martijn_brinkers Martijn Brinkers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: