This was on the stack before the creation of the 'secondary' array. I
had a try catch on the creation of each of the objects and it was
failing on the one I pointed out.
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Monday, October 02, 2006 5:48 PM
To: users_at_jaxb.dev.java.net
Subject: Re: WebSphere 6.1
Goga, Murtaza wrote:
> I compiled RuntimeBuiltinLeafInfoImpl with some sys outs. It seems
that
> is is failing on the second object create with
> java.lang.ArrayStoreException.
>
> This one is OK:
> new StringImpl<Character>(Character.class, createXS("unsignedShort"))
..
>
> It bails out on the following:
> new StringImpl<Calendar>(Calendar.class, DatatypeConstants.DATETIME)
{..
Hmm. Can you move this new StringImpl<Calendar>(...) out to make it a
variable assignment first, and then set that to an array?
StringImpl<Calendar> cal = new String<Calendar>(...);
When you run this with debugger, can you check where they are being
loaded from, have compatible types, etc?
Check out
http://which4j.dev.java.net/ --- it's very handy for this kind
of problems.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com