• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serializable Exception issue  RSS feed

 
Mukund Srinivas
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Currently I have a NotSerializableException issue which I'm trying to resolve.
I have a Java class which makes a call to the
Bean :
testBO = (testBO) svcHandle.create(testBO );
The initial initialization has been done.
The Bean class testBO implements the Serializable interface. However at this statement I get:
Caught CreateException in Delegatejava.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: CORBA BAD_PARAM 6 Maybe; nested exception is:
java.io.NotSerializableException
Any suggestions are welcome,
Thanks,
SM
 
Arvind Varma
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you are trying
to create an BeanObject(testBO) and simultaneously send it as a parameter. But "testBO" has not been created yet though "initialization" has been done.. hence "MAYBE" the nested PARAM exception and NotSerializable exception
---------------------------------------
testBO = (testBO) svcHandle.create(testBO );
The initial initialization has been done.
The Bean class testBO implements the Serializable interface. However at this statement I get:
Caught CreateException in Delegatejava.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: CORBA BAD_PARAM 6
------------------------------------
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!