Hi,

I am getting a rather nasty ClassCastException when i try and remove a
many-to-many join (implemented like the MovieDatabase example). My question
is how do i go about debugging this? Is it possible to get access to the
generated .java files?

Thanks in advance for any advice

stack traces follow (sorry)

cheers

timj


com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException:
ProductJoin_EntityBeanWrapper853
at com.evermind.server.ejb.EJBUtils.getUserException(.:199)
at
EntityProduct_EntityBeanWrapper838.removeBrand(EntityProduct_EntityBeanWrapp
er838.java:1805)
at com.mywds.ejb.session.LightWeightBean.updateProduct(Unknown Source)
at
LightWeight_StatelessSessionBeanWrapper834.updateProduct(LightWeight_Statele
ssSessionBeanWrapper834.java:4066)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.processMessage(Unknown Source)
at org.apache.axis.providers.java.JavaProvider.invoke(Unknown Source)
at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)
at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
at org.apache.axis.SimpleChain.invoke(Unknown Source)
at org.apache.axis.server.AxisServer.invoke(Unknown Source)
at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind._bxb._crd(.:501)
at com.evermind._bxb._ukb(.:170)
at com.evermind._cn._uab(.:576)
at com.evermind._cn._fm(.:189)
at com.evermind._bs.run(.:62)

Nested exception is:
java.lang.ClassCastException: ProductJoin_EntityBeanWrapper853
at
ProductJoinHome_EntityHomeWrapper1381.remove(ProductJoinHome_EntityHomeWrapp
er1381.java:16)
at com.mywds.ejb.entity.EntityProductBean.removeBrand(Unknown Source)
at
EntityProduct_EntityBeanWrapper838.removeBrand(EntityProduct_EntityBeanWrapp
er838.java:1791)
at com.mywds.ejb.session.LightWeightBean.updateProduct(Unknown Source)
at
LightWeight_StatelessSessionBeanWrapper834.updateProduct(LightWeight_Statele
ssSessionBeanWrapper834.java:4066)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.processMessage(Unknown Source)
at org.apache.axis.providers.java.JavaProvider.invoke(Unknown Source)
at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)
at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
at org.apache.axis.SimpleChain.invoke(Unknown Source)
at org.apache.axis.server.AxisServer.invoke(Unknown Source)
at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind._bxb._crd(.:501)
at com.evermind._bxb._ukb(.:170)
at com.evermind._cn._uab(.:576)
at com.evermind._cn._fm(.:189)
at com.evermind._bs.run(.:62)  

Reply via email to