You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/10/24 03:07:44 UTC
[jira] Issue Comment Edited: (ODE-402) OMUtils.toDOM could generate
NPE if attribute value contains a colon
[ https://issues.apache.org/jira/browse/ODE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642357#action_12642357 ]
alexismidon edited comment on ODE-402 at 10/23/08 6:07 PM:
------------------------------------------------------------
fails only in trunk
was (Author: alexismidon):
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.