Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
com.mergentonline.common.dao.Company
java.lang.ClassCastException: com.mergentonline.common.dao.Company	at com.mergentonline.ejb.session.MergentOnLineServiceBean.requestCompanyInfo(Unknown Source)	at java.lang.reflect.Method.invoke(Native Method)	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)	at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)	at org.jboss.ejb.Container.invoke(Container.java:705)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:362)	at java.lang.reflect.Method.invoke(Native Method)	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)	at sun.rmi.transport.Transport$1.run(Transport.java:152)	at java.security.AccessController.doPrivileged(Native Method)	at sun.rmi.transport.Transport.serviceCall(Transport.java:148)	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)