Camel
  1. Camel
  2. CAMEL-5109

axiom 1.2.12 can't work with abdera 1.1.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.4, 2.9.1
    • Fix Version/s: 2.8.5, 2.9.2, 2.10.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      CAMEL-4192 upgrade to axiom 1.2.12, and we have camel-atom feature which use latest axiom 1.2.12 and abdera 1.1.2 together, however, actually abdera 1.1.2 need work with axiom 1.2.10.

      In org.apache.abdera.parser.stax.util.FOMExtensionIterator(abdera code), it need use a field currentChild which inherit from org.apache.axiom.om.impl.traverse.OMAbstractIterator(axiom code), but field currentChild was removed from axiom 1.2.12, so that we can see exception like
      java.lang.NoSuchFieldError: currentChild
      at org.apache.abdera.parser.stax.util.FOMExtensionIterator.hasNext(FOMExtensionIterator.java:74)
      at org.apache.abdera.parser.stax.util.FOMList.buffer(FOMList.java:60)
      at org.apache.abdera.parser.stax.util.FOMList.size(FOMList.java:77)

      As abdera 1.1.2 already the latest version so that I think we need rollback to axiom 1.2.10 utill next abdera version which can work with axiom 1.2.12

      Btw I believe this is the reason that why CXF still use axiom 1.2.10.

        Issue Links

          Activity

          Show
          Freeman Fang added a comment - commit fix http://svn.apache.org/viewvc?rev=1303301&view=rev for trunk http://svn.apache.org/viewvc?rev=1303304&view=rev for 2.9.x branch http://svn.apache.org/viewvc?rev=1303306&view=rev for 2.8.x branch
          Hide
          Benjamin Truitt added a comment -

          This appears to be broken again in Camel 2.10.2. The change the re-introduced this issue was revision 1356481:
          http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?r1=1356480&r2=1356481&diff_format=h

          Show
          Benjamin Truitt added a comment - This appears to be broken again in Camel 2.10.2. The change the re-introduced this issue was revision 1356481: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?r1=1356480&r2=1356481&diff_format=h
          Hide
          Freeman Fang added a comment -

          Hi,

          Thanks for pointing out this issue.
          Sent an alarm mail around to community.

          Freeman

          Show
          Freeman Fang added a comment - Hi, Thanks for pointing out this issue. Sent an alarm mail around to community. Freeman
          Hide
          Freeman Fang added a comment -

          reopen it as this issue get introduced again

          Show
          Freeman Fang added a comment - reopen it as this issue get introduced again

            People

            • Assignee:
              Freeman Fang
              Reporter:
              Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development