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
  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

    Game not starting

    freecol | 4 years ago | nobody
    java.lang.IncompatibleClassChangeError: Expecting non-static method net.sf.freecol.common.option.AbstractOption.getAttribute(Ljavax/xml/stream/XMLStreamReader;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  3. 0

    Struts stumbles when encountering lambda expressions in JDK 8. Looks like org.objwectweb.asm dependency needs to be updated... {code} 2014-05-18 10:21:41,111 ERROR (com.opensymphony.xwork2.util.finder.ClassFinder:38) - Unable to read class [jdk8test.actions.Lambda] java.lang.ArrayIndexOutOfBoundsException: 52264 at org.objectweb.asm.ClassReader.readClass(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:717) at com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:112) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347) at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:268) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) {code} Simple test case attached. tar xvf jdk8test.tar cd jdk8test mvn tomcat7:run http://localhost:8080/jdk8test

    Apache's JIRA Issue Tracker | 3 years ago | Erik Berg
    java.lang.IncompatibleClassChangeError: org/apache/struts2/convention/Java8ClassFinder$InfoBuildingClassVisitor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Issue with Aries Blueprint / CXF / PoJoSr

    aries-user | 3 years ago | Daniel Kulp
    org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator
  6. 0

    Re: Issue with Aries Blueprint / CXF / PoJoSr

    aries-user | 3 years ago | Daniel Kulp
    org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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