You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tobias Israel (JIRA)" <ji...@apache.org> on 2006/02/23 11:10:09 UTC

[jira] Created: (AXIS2-461) JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException

JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException
----------------------------------------------------------------------------------

         Key: AXIS2-461
         URL: http://issues.apache.org/jira/browse/AXIS2-461
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: databinding  
    Versions: 0.95    
 Environment: Apache Axis2 0.95-snaphot from 14-02-2006
    Reporter: Tobias Israel


The use of a XMLStramReader, received from OMElement.getXMLStreamReader(), for performing a JAXB2 unmarshal(XMLStreamReader) operation leads to the following Exception:

Exception in thread "main" java.lang.UnsupportedOperationException
	at org.apache.ws.commons.om.impl.llom.OMStAXWrapper.getNamespaceContext(OMStAXWrapper.java:983)
	at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:125)
	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:332)
	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304)
	at com.signsoft.eval.axis2.databinding.Axis2JAXBBinding.main(Axis2JAXBBinding.java:50)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-461) JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-461?page=all ]
     
Davanum Srinivas resolved AXIS2-461:
------------------------------------

    Resolution: Fixed

Fix in Axiom rev 412440

> JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException
> ----------------------------------------------------------------------------------
>
>          Key: AXIS2-461
>          URL: http://issues.apache.org/jira/browse/AXIS2-461
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: databinding
>     Versions: 0.95
>  Environment: Apache Axis2 0.95-snaphot from 14-02-2006
>     Reporter: Tobias Israel
>  Attachments: Axis2JAXBBinding.java, Person.java, Person.java
>
> The use of a XMLStramReader, received from OMElement.getXMLStreamReader(), for performing a JAXB2 unmarshal(XMLStreamReader) operation leads to the following Exception:
> Exception in thread "main" java.lang.UnsupportedOperationException
> 	at org.apache.ws.commons.om.impl.llom.OMStAXWrapper.getNamespaceContext(OMStAXWrapper.java:983)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:125)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:332)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304)
> 	at com.signsoft.eval.axis2.databinding.Axis2JAXBBinding.main(Axis2JAXBBinding.java:50)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-461) JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException

Posted by "Tobias Israel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-461?page=all ]

Tobias Israel updated AXIS2-461:
--------------------------------

    Attachment: Person.java
                Person.java

> JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException
> ----------------------------------------------------------------------------------
>
>          Key: AXIS2-461
>          URL: http://issues.apache.org/jira/browse/AXIS2-461
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Versions: 0.95
>  Environment: Apache Axis2 0.95-snaphot from 14-02-2006
>     Reporter: Tobias Israel
>  Attachments: Person.java, Person.java
>
> The use of a XMLStramReader, received from OMElement.getXMLStreamReader(), for performing a JAXB2 unmarshal(XMLStreamReader) operation leads to the following Exception:
> Exception in thread "main" java.lang.UnsupportedOperationException
> 	at org.apache.ws.commons.om.impl.llom.OMStAXWrapper.getNamespaceContext(OMStAXWrapper.java:983)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:125)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:332)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304)
> 	at com.signsoft.eval.axis2.databinding.Axis2JAXBBinding.main(Axis2JAXBBinding.java:50)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2-461) JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException

Posted by "Tobias Israel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-461?page=all ]

Tobias Israel updated AXIS2-461:
--------------------------------

    Attachment: Axis2JAXBBinding.java

> JAXB2 unmarshaling(XMLStramWriter) leads to java.langUnsupportedOperationException
> ----------------------------------------------------------------------------------
>
>          Key: AXIS2-461
>          URL: http://issues.apache.org/jira/browse/AXIS2-461
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Versions: 0.95
>  Environment: Apache Axis2 0.95-snaphot from 14-02-2006
>     Reporter: Tobias Israel
>  Attachments: Axis2JAXBBinding.java, Person.java, Person.java
>
> The use of a XMLStramReader, received from OMElement.getXMLStreamReader(), for performing a JAXB2 unmarshal(XMLStreamReader) operation leads to the following Exception:
> Exception in thread "main" java.lang.UnsupportedOperationException
> 	at org.apache.ws.commons.om.impl.llom.OMStAXWrapper.getNamespaceContext(OMStAXWrapper.java:983)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:125)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:332)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:304)
> 	at com.signsoft.eval.axis2.databinding.Axis2JAXBBinding.main(Axis2JAXBBinding.java:50)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira