Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15099

After moving to stax2 4.x / woodstox 5.x, camel-fhir has OSGi problems

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • fuse-7.8-build#1
    • fuse-7.8-GA
    • Camel, Karaf
    • build5
    • +

    Description

      There are mixed versions of stax2 and woodstox:

      • stax2-api/3.1.4
      • woodstox-core-asl/4.4.1
      • stax2-api/4.2.1
      • com.fasterxml.woodstox.woodstox-core/5.2.1
      Caused by: java.lang.NoSuchMethodError: org.codehaus.stax2.ri.EmptyIterator.getInstance()Lorg/codehaus/stax2/ri/EmptyIterator;
      	at com.ctc.wstx.evt.CompactStartElement.getAttributes(CompactStartElement.java:94) ~[?:?]
      	at ca.uhn.fhir.parser.XmlParser.doXmlLoop(XmlParser.java:171) ~[!/:?]
      	at ca.uhn.fhir.parser.XmlParser.parseResource(XmlParser.java:712) ~[!/:?]
      	at ca.uhn.fhir.parser.XmlParser.doParseResource(XmlParser.java:119) ~[!/:?]
      	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:654) ~[!/:?]
      	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:708) ~[!/:?]
      	at org.apache.camel.component.fhir.FhirXmlDataFormat.unmarshal(FhirXmlDataFormat.java:51) ~[!/:2.23.2.fuse-780027-redhat-00001]
      	at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[!/:2.23.2.fuse-780027-redhat-00001]
      	... 172 more
      

      cc: tveskrna

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            ggrzybek Grzegorz Grzybek
            Tomas Veskrna Tomas Veskrna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: