You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/04/19 23:35:23 UTC
[jira] Commented: (XMLBEANS-146) SchemaType.getUnionConstituentTypes() returns NullPointerException
[ http://issues.apache.org/jira/browse/XMLBEANS-146?page=comments#action_63235 ]
Radu Preotiuc-Pietro commented on XMLBEANS-146:
-----------------------------------------------
This is scarce information, but all I can assume is that the type this method is getting called on is not really a union. So I can throw an IllegalStateException instead.
> SchemaType.getUnionConstituentTypes() returns NullPointerException
> ------------------------------------------------------------------
>
> Key: XMLBEANS-146
> URL: http://issues.apache.org/jira/browse/XMLBEANS-146
> Project: XMLBeans
> Type: Bug
> Versions: Version 2 Beta 1
> Environment: WinXP, JDK 1.4
> Reporter: Boštjan Kolar
>
> [java] java.lang.NullPointerException
> [java] at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.computeFlatUnionModel(SchemaTypeImpl.java:1216)
> [java] at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.getUnionConstituentTypes(SchemaTypeImpl.java:1181)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org