axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Updated: (AXIS2-1255) ADB does not properly handle empty element definition
Date Wed, 31 Jan 2007 15:03:07 GMT


Davanum Srinivas updated AXIS2-1255:

    Assignee: Amila Chinthaka Suriarachchi

> ADB does not properly handle empty element definition
> -----------------------------------------------------
>                 Key: AXIS2-1255
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: nightly
>         Environment: Linux, Java 1.5
>            Reporter: Dennis Sosnoski
>         Assigned To: Amila Chinthaka Suriarachchi
> ADB is not able to handle empty schema element definitions of this form:
>       <element name="getTypes"/>
> According to the schema rules, this should be interpreted as an element that allows unrestricted
content (including no content at all). ADB complains at code generation time:
>      [java] WARNING: Could not find any schema type associated with the Element '{}getTypes'
> and at runtime throws an exception if a value has not been set for the generated localGetTypes
>      [java] Exception in thread "main" java.lang.NullPointerException
>      [java]     at org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
>      [java]     at$1.serialize(
>      [java]     at

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message