java.lang.UnsupportedOperationException: setXmlVersion Not Supported

Oracle Community | 843844 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Not able to invoke registry from java client

    Oracle Community | 8 years ago | 843844
    java.lang.UnsupportedOperationException: setXmlVersion Not Supported

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      setXmlVersion Not Supported

      at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.setXmlVersion()
    2. Metro Web Services Runtime OSGi Bundle
      SOAPPartImpl.setXmlVersion
      1. com.sun.xml.messaging.saaj.soap.SOAPPartImpl.setXmlVersion(SOAPPartImpl.java:603)
      1 frame
    3. Java RT
      TransformerImpl.transform
      1. com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.setDocumentInfo(SAX2DOM.java:135)
      2. com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:145)
      3. com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
      4. com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524)
      5. org.xml.sax.helpers.XMLFilterImpl.characters(XMLFilterImpl.java:564)
      6. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:538)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:461)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      13. org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
      14. com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:638)
      15. com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
      16. com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
      16 frames
    4. Metro Web Services Runtime OSGi Bundle
      MessageImpl.getSOAPBody
      1. com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:97)
      2. com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:39)
      3. com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:98)
      4. com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:768)
      4 frames
    5. org.freebxml.omar
      DeclarativeQueryManagerImpl.executeQuery
      1. org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:210)
      2. org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:109)
      3. org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQueryInternal(QueryManagerSOAPProxy.java:68)
      4. org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQuery(QueryManagerSOAPProxy.java:49)
      5. org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQuery(DeclarativeQueryManagerImpl.java:180)
      5 frames
    6. call
      JAXRQueryIterative.main
      1. call.JAXRQueryIterative.executeQuery(JAXRQueryIterative.java:147)
      2. call.JAXRQueryIterative.main(JAXRQueryIterative.java:77)
      2 frames