axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benny Kristensen (JIRA)" <>
Subject [jira] Created: (AXIS-1755) Extending an enumeration causes NPE in WSDL2Java
Date Mon, 10 Jan 2005 13:59:12 GMT
Extending an enumeration causes NPE in WSDL2Java

         Key: AXIS-1755
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC2    
 Environment: Windows XP
IBM JDK 1.3.1
Axis 1.2.RC2
    Reporter: Benny Kristensen

When you 'extend' a enumeration type in xsd, WSDL2Java crashes with a NullPointerException
(or in some cases with a DuplicateFileException)

	<xs:simpleType name="State">
		<xs:restriction base="xs:string">
			<xs:enumeration value="dead"/>
			<xs:enumeration value="alive"/>
			<xs:enumeration value="sick"/>
	<xs:simpleType name="SubState">
		<xs:restriction base="State">
			<xs:enumeration value="sick"/>
			<xs:enumeration value="dead"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message