AbstractMethodError caused as CXF tries to determine XMLInputFactory
ade Sep 21, 2009 8:04 AMHaving a problem with CXF 2.2.3 (and 2.2.2.1-fuse): when I invoke on my service (using a Camel 2.0 camel-cxf endpoint), I see the following stack trace (see below). It seems that CXF is trying to determine the XMLInputFactory (I have debugged and can see that the the property key being looked up is javax.xml.stream.XMLInputFactory); however, the log causes CXF to invoke on getProperty, which looks like it might be abstract.
Anyone got any ideas on this?
java.lang.AbstractMethodError: org.apache.cxf.bus.CXFBusImpl.getProperty(Ljava/lang/String;)Ljava/lang/Object;
at org.apache.cxf.message.MessageImpl.getContextualProperty(MessageImpl.java:150)
at org.apache.cxf.message.AbstractWrappedMessage.getContextualProperty(AbstractWrappedMessage.java:164)
at org.apache.cxf.interceptor.StaxInInterceptor.getXMLInputFactory(StaxInInterceptor.java:95)
at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:81)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:266)
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)