Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abstract Class as an instance property of a method parameter in EJB

 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm getting this Exception when passing a Class which has an abstract class as an instance property.
Plese see the Exception , class definitions and how i'm invoking the EJBs as shown below.

Caused by: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : C vmcid: IBM minor code: 897 completed: No
at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1598)
at com.ibm.rmi.util.ProxyUtil.copyObjects(ProxyUtil.java:238)
.......
.......
Caused by: java.lang.InstantiationError: C
at sun.reflect.GeneratedSerializationConstructorAccessor200.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at com.ibm.rmi.io.IIOPInputStream.allocateNewObject(IIOPInputStream.java:2282)
at com.ibm.rmi.io.IIOPInputStream.allocateNewObject(IIOPInputStream.java:2262)
at com.ibm.rmi.io.IIOPInputStream.allocateNewSerializableObject(IIOPInputStream.java:2209)
at com.ibm.rmi.io.IIOPInputStream.readSerializable(IIOPInputStream.java:1032)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObjectInternal(IIOPInputStream.java:326)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObjectLoop(IIOPInputStream.java:403)
at com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:357)
at com.ibm.rmi.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:201)
at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1564)
... 30 more


I'm setting the properties and calling the remote method like below.

the test method signature in EJB is like below



I'm unable to figure out what actually the problem is,please help to resolve this
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"RK1981", please check your private messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic