java.lang.IncompatibleClassChangeError: org/apache/axis/encoding/SerializationContext.startElement(Ljavax/xml/namespace/QName;Lorg/xml/sax/Attributes;)V

Apache's JIRA Issue Tracker | Michael Baessler | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Deploying a SOAP service work fine and don't produce an exception, but when trying the get the metaData the following error is displayed in the Browser Fault - ; nested exception is: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: faultNode: faultDetail: When trying to connect to the service the following exception is thrown: org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml. at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143) at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303) at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383) at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529) at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524) at org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.Component.processMouseEvent(Component.java:5517) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5282) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3984) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: org.apache.uima.UIMARuntimeException at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109) at org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109) at org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67) at org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122) ... 33 more Caused by: org.apache.uima.resource.ResourceServiceException at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89) at org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105) ... 37 more Caused by: (500)Internal Server Error at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180) at org.apache.axis.client.Call.invokeEngine(Call.java:2564) at org.apache.axis.client.Call.invoke(Call.java:2553) at org.apache.axis.client.Call.invoke(Call.java:2248) at org.apache.axis.client.Call.invoke(Call.java:2171) at org.apache.axis.client.Call.invoke(Call.java:1691) at org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85) ... 38 more

    Apache's JIRA Issue Tracker | 9 years ago | Michael Baessler
    java.lang.IncompatibleClassChangeError: org/apache/axis/encoding/SerializationContext.startElement(Ljavax/xml/namespace/QName;Lorg/xml/sax/Attributes;)V
  2. 0

    Scalala: IncompatibleClassChangeError in Quickstart

    Stack Overflow | 6 years ago | dsg
    java.lang.IncompatibleClassChangeError
  3. 0

    Tab key among GUI Components

    Google Groups | 2 decades ago | Howard Cheng
    java.lang.IncompatibleClassChangeError: java.lang.Object: instance method handleKeyPress(JIIIII)V not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      org/apache/axis/encoding/SerializationContext.startElement(Ljavax/xml/namespace/QName;Lorg/xml/sax/Attributes;)V

      at org.apache.uima.adapter.soap.axis11.XmlSerializer_Axis11.serialize()
    2. org.apache.uima
      XmlSerializer_Axis11.serialize
      1. org.apache.uima.adapter.soap.axis11.XmlSerializer_Axis11.serialize(XmlSerializer_Axis11.java:62)
      1 frame
    3. Axis Web Services
      AxisServlet.doPost
      1. org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1255)
      2. org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:795)
      3. org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:866)
      4. org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:179)
      5. org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
      6. org.apache.axis.message.MessageElement.output(MessageElement.java:783)
      7. org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
      8. org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483)
      9. org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
      10. org.apache.axis.Message.getContentType(Message.java:399)
      11. org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)
      11 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      1 frame
    5. Axis Web Services
      AxisServletBase.service
      1. org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    8. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    9. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:801)
      1 frame