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

Exception on cxf-rt-transports-http-hc Osgi startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.10, 3.5.5
    • 3.6.0, 3.5.6, 3.4.11
    • OSGi, Transports
    • None
    • Novice

    Description

      Steps to reproduce

      In Osgi environment

      • Have any org.apache.cxf.Bus registered as an Osgi serviceĀ 
      • Install and start bundle mvn:org.apache.cxf/cxf-rt-transports-http-hc/x.x.x

      Expected result

      Bundle starts ok

      Actual result

      ClassCastException: Object[] cannot be cast to Bus[]

      Cause

      Object[] is tried to cast as Bus[] inĀ  org.apache.cxf.transport.http.asyncclient.Activator.ConduitConfigurer#updated

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mylly Tino Ojala
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: