[jboss-user] [Remoting] - ClassCast Exception while recieving the OrderedMap from remo
_pankie
do-not-reply at jboss.com
Wed Jul 18 07:04:00 EDT 2007
I am using JDK 1.5_12update.
Iam using Jboss-4.2.0GA.
My EJB Version is 2.1
Actually I am recieving the VO Object from the EJB Method.
VO contains Hastable, OrderedMap and many other Objects...
While retrieving the OrderMap i got the error of Classcast Exception mentioned Below. Whereas I can retrieve the HasTable Object w/o any prblm.
I am Using Apache's Common-Collection3.0
I got stuck here for 2 days can anybody help me out of this...
| Wed Jul 18 15:28:12 IST 2007 SEVERE Exception in java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004) :java.lang.ClassCastException: cannot assign instance of org.apache.commons.collections.map.LinkedMap to field com.aaa.vo.VO_AuthenticateUser.access_control_list of type org.apache.commons.collections.OrderedMap in instance of com.aaa.vo.VO_AuthenticateUser
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1184)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1914)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.invocation.InvokerInterceptor.invokeLocalMarshalled(InvokerInterceptor.java:297)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:61)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** $Proxy80.getAccessControlList(Unknown Source)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** struts.action.school.aaa.AuthenticateAction.execute(AuthenticateAction.java:93)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| Wed Jul 18 15:28:12 IST 2007 SEVERE ** java.lang.Thread.run(Thread.java:595)
| Wed Jul 18 15:28:12 IST 2007 SEVERE
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065329#4065329
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065329
More information about the jboss-user
mailing list