users@jaxb.java.net

Re: WebSphere 6.1

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 02 Oct 2006 14:48:06 -0700

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