java.lang.ClassCastException: com.mergentonline.common.dao.Company

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    classcastexception

    Oracle Community | 1 decade ago | 3004
    java.lang.ClassCastException: com.mergentonline.common.dao.Company

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.mergentonline.common.dao.Company

      at com.mergentonline.ejb.session.MergentOnLineServiceBean.requestCompanyInfo()
    2. com.mergentonline.ejb
      MergentOnLineServiceBean.requestCompanyInfo
      1. com.mergentonline.ejb.session.MergentOnLineServiceBean.requestCompanyInfo(Unknown Source)
      1 frame
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)
      1 frame
    5. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    6. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      7. org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      8. org.jboss.ejb.Container.invoke(Container.java:705)
      8 frames
    7. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      1 frame
    8. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:362)
      1 frame
    9. Java RT
      TCPTransport$ConnectionHandler.run
      1. java.lang.reflect.Method.invoke(Native Method)
      2. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
      3. sun.rmi.transport.Transport$1.run(Transport.java:152)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. sun.rmi.transport.Transport.serviceCall(Transport.java:148)
      6. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
      7. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
      7 frames