users@glassfish.java.net

Re: RemoteException while sending/receiving JPA Entity in JSF managed bean

From: Ken Cavanaugh <ken.cavanaugh_at_oracle.com>
Date: Sun, 8 May 2011 23:37:32 -0700

On May 8, 2011, at 11:17 PM, forums_at_java.net wrote:

> Hi all,
>
> I am writing my first EJB + JSF application, on GlassFish 3.1 Server. I
> encountered this Error when I call EJB session bean with JPA Entity as
> argument in JSF managed bean:
>
> <code>java.rmi.RemoteException: CORBA BAD_OPERATION 1330446343 No; nested
> exception is: org.omg.CORBA.BAD_OPERATION: WARNING: IOP01210007: Expected
> typecode kind to be one of [value, valueBox, abstractInterface] but got
> typecode kind null vmcid: OMG minor code: 7 completed: No</code>
>
> Other objects (not JPA Entity) are sending and receiving without error.

Take a look at issue 16164 and see if that is related to your problem.
The error basically indicates a marshaling error: somehow the sender and
receiver disagree about what should be in the marshaling stream.

Details on a test case would also be useful, especially if this is not the same as
16164.

Ken.