java.lang.ClassCastException: com.stc.codegen.frameworkImpl.metadata.MDEMMetaDataImpl cannot be cast to com.stc.codegen.framework.metadata.base.MetaDataObject

Oracle Community | 807574 | 8 years 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

    JCAPS 6, repo-based project, ClassCastException

    Oracle Community | 8 years ago | 807574
    java.lang.ClassCastException: com.stc.codegen.frameworkImpl.metadata.MDEMMetaDataImpl cannot be cast to com.stc.codegen.framework.metadata.base.MetaDataObject

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.stc.codegen.frameworkImpl.metadata.MDEMMetaDataImpl cannot be cast to com.stc.codegen.framework.metadata.base.MetaDataObject

      at TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.readMetaData()
    2. TestJCD.srvTransferFile
      jcdTransferFile_Runtime_Handler.ejbCreate
      1. TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.readMetaData(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:813)
      2. TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.initialize(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:767)
      3. TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.ejbCreate(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:597)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Embedded GlassFish Web
      EJBLocalObjectInvocationHandler.invoke
      1. com.sun.ejb.containers.interceptors.BeanCallbackInterceptor.intercept(InterceptorManager.java:728)
      2. com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(InterceptorManager.java:517)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:221)
      4. com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:574)
      5. com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:111)
      6. com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:783)
      7. com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:199)
      8. com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:497)
      9. com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1679)
      10. com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1233)
      11. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195)
      12. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)
      12 frames
    5. Unknown
      $Proxy579.handleRequest
      1. $Proxy579.handleRequest(Unknown Source)
      1 frame