[
http://jira.codehaus.org/browse/JIBX-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski closed JIBX-152.
--------------------------------
> NPE when reading binding with unprefixed type-name using StAX parser
> --------------------------------------------------------------------
>
> Key: JIBX-152
> URL: http://jira.codehaus.org/browse/JIBX-152
> Project: JiBX
> Issue Type: Bug
> Components: core
> Affects Versions: JiBX 1.1.3
> Reporter: Dennis Sosnoski
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.1.5
>
>
> JiBX throws a NullPointerException when using a StAX parser to read a binding
> definition that include type-names without a namespace prefix. This may occur
> when JiBX is used with Axis2 WSDL2Java, since the StAX parser is normally
> used in that environment. Here's a partial stack trace (from
> http://issues.apache.org/jira/browse/AXIS2-2088):
> Caused by: java.lang.NullPointerException
> at
> org.jibx.runtime.impl.StAXReaderWrapper.getNamespace(StAXReaderWrappe
> r.java:455)
> at
> org.jibx.runtime.impl.UnmarshallingContext.getNamespaceUri(Unmarshall
> ingContext.java:3125)
> at org.jibx.runtime.QName.deserialize(QName.java:234)
> at
> org.jibx.binding.model.MappingElement.setQualifiedTypeName(MappingEle
> ment.java:261)
> at
> org.jibx.binding.model.MappingElement.JiBX_binding_unmarshalAttr_5_0(
> MappingElement.java)
> at
> org.jibx.binding.model.JiBX_bindingMappingElement_access.unmarshal()
> at
> org.jibx.binding.model.BindingElement.JiBX_binding_unmarshal_3_0(Bind
> ingElement.java)
> at
> org.jibx.binding.model.JiBX_bindingBindingElement_access.unmarshal()
> at
> org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unmarshal
> lingContext.java:2538)
> The StAXReaderWrapper.getNamespace() method needs to be changed to handle a
> null prefix value correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs