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 807574, 1 year ago
com.stc.codegen.frameworkImpl.metadata.MDEMMetaDataImpl cannot be cast to com.stc.codegen.framework.metadata.base.MetaDataObject
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(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:813)	at TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.initialize(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:767)	at TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler.ejbCreate(TestJCD.srvTransferFile.jcdTransferFile_Runtime_Handler:597)	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:597)	at com.sun.ejb.containers.interceptors.BeanCallbackInterceptor.intercept(InterceptorManager.java:728)	at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(InterceptorManager.java:517)	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:221)	at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:574)	at com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:111)	at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:783)	at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:199)	at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:497)	at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1679)	at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1233)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)	at $Proxy579.handleRequest(Unknown Source)