Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.94
-
None
Description
In the org.apache.axis2.deployment.DescriptionBuilder class's
protected ArrayList processParameters(Iterator parameters, ParameterInclude parameterInclude,
ParameterInclude parent)
throws DeploymentException;
implementation:
// setting parameter Name
OMAttribute paramName = parameterElement.getAttribute(new
QName(ATTRIBUTE_NAME));
if (paramName == null)
{ throw new DeploymentException( Messages.getMessage(DeploymentErrorMsgs.BAD_PARAMETER_ARGUMENT)); } If a particular attribute is missing (in this case the "name" attribute),
the exception thrown does not say anything about which parameter has bad
argument. For bigger configuration files especially, it will be better to
know where exactly is the configuration failing.