[jboss-user] [EJB 3.0] - Re: ArrayStoreException when accessing bean from war

jaikiran do-not-reply at jboss.com
Thu Jan 24 09:03:14 EST 2008


As per the javadocs of ArrayStoreException:

anonymous wrote : Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. For example, the following code generates an ArrayStoreException:
  | 
  |          Object x[] = new String[3];
  |          x[0] = new Integer(0);
  |      

You say that it works with JUnit and not from a war deployed in the server. Is this war a different application? How are you applications packaged? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123028#4123028

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123028



More information about the jboss-user mailing list