You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by bu...@apache.org on 2003/12/10 17:52:51 UTC

DO NOT REPLY [Bug 25409] New: - getter for enumeration array throws ArrayStoreException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25409

getter for enumeration array throws ArrayStoreException

           Summary: getter for enumeration array throws ArrayStoreException
           Product: XMLBeans
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XmlObject
        AssignedTo: xmlbeans-dev@xml.apache.org
        ReportedBy: ed.blohm@transcore.com


When I call getX() and the return type is .Enum[] I get an 
ArrayStoreException.  The problem seems to be in System.ArrayCopy where the two 
objects types that need to be copied are different.  One object is an Impl and 
one object is not.  I will attach a schema and JUnit test to expose the 
problem.  Thanks for all the help on this issue.

Ed

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/