[ 
https://issues.apache.org/jira/browse/ODE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642357#action_12642357
 ] 

Alexis Midon commented on ODE-402:
----------------------------------

only in trunk


> OMUtils.toDOM could generate NPE if attribute value contains a colon
> --------------------------------------------------------------------
>
>                 Key: ODE-402
>                 URL: https://issues.apache.org/jira/browse/ODE-402
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.2
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>
> Using the static method org.apache.ode.il.OMUtils#toDOM could lead to 
> NullPointerException if one attribute contains a colon.
> Actually, ODE will try to look up a namespace based on the token before the 
> colon. 
> The case where no namespace is found is not handled, hence the NPE.
> java.lang.NullPointerException
>       at org.apache.ode.il.OMUtils.toDOM(OMUtils.java:98)
>       at org.apache.ode.il.OMUtils.toDOM(OMUtils.java:114)
>       at org.apache.ode.il.OMUtils.toDOM(OMUtils.java:60)
>       at org.apache.ode.il.OMUtils.toDOM(OMUtils.java:56)
>       at 
> org.apache.ode.axis2.soapbinding.SoapMessageConverter.extractSoapHeaderParts(SoapMessageConverter.java:408)
>       at 
> org.apache.ode.axis2.soapbinding.SoapMessageConverter.parseSoapResponse(SoapMessageConverter.java:328)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to