From: Gustav B. <Gus...@eo...> - 2002-02-25 11:05:40
|
Hi! I'm aware that this is not really a development question, but I'm not = sure where else to turn. I'm experiencing an extremely weird problem when running JUnit 3.7 Swing = UI when I'm testing EJBs running in JBoss. I get this error: java.lang.ClassCastException =09 at = com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableR= emoteObject.java:296) =09 at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) = at = com.eonworx.appl.tumgmt.ao.ejb.test.TestCreateTenantUser.setUp(TestCreate= TenantUser.java:68) Admittedly this is not an error in the JUnit code, however what really = puzzles me is that I do not get this error when running JUnit 3.7 = TextUI! The error is not present in JUnit 3.2 either in the TextUI or the = SwingUI. So, I'm absolutely positive that this is not a problem in the = test setUp() code. If anyone can tell me what is wrong here I would be very thankful! Any hint on how to get this to work would be great. For now we are = forced to use JUnit 3.2 instead of 3.7 which is of course not what we = want especially since we want to move to JDK 1.4 Best regards, gustav bostr=F6m the eon company www.eoncompany.com o +46-8-54528800 m +46-70-9575154 e gus...@eo... |