javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.IllegalArgumentException: Entity must be managed to call remove: 123 Foo Road, Bar City, FL 33300, try merging the detached and try the remove again. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.IllegalArgumentException: Entity must be managed to call remove: 123 Foo Road, Bar City, FL 33300, try merging the detached and try the remove again. at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException( Util.java:203) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke (StubInvocationHandlerImpl.java:176) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke( StubInvocationHandlerImpl.java:123) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke( BCELStubBase.java:196) at com.playground.concierge.model.facade.__UnitFacadeRemote_Remote_DynamicStub.destroy (com/playground/concierge/model/facade/__UnitFacadeRemote_Remote_DynamicStub.java) at com.playground.concierge.model.facade._UnitFacadeRemote_Wrapper.destroy (com/playground/concierge/model/facade/_UnitFacadeRemote_Wrapper.java) at com.playground.concierge.manager.ConciergeManager.unitsRemoveButtonActionPerformed (ConciergeManager.java:334) at com.playground.concierge.manager.ConciergeManager.access$200( ConciergeManager.java:15) at com.playground.concierge.manager.ConciergeManager$3.actionPerformed( ConciergeManager.java:91)

Oracle Community | 392 Guest | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    problem removing entity

    Oracle Community | 10 years ago | 392 Guest
    javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.IllegalArgumentException: Entity must be managed to call remove: 123 Foo Road, Bar City, FL 33300, try merging the detached and try the remove again. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.IllegalArgumentException: Entity must be managed to call remove: 123 Foo Road, Bar City, FL 33300, try merging the detached and try the remove again. at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException( Util.java:203) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke (StubInvocationHandlerImpl.java:176) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke( StubInvocationHandlerImpl.java:123) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke( BCELStubBase.java:196) at com.playground.concierge.model.facade.__UnitFacadeRemote_Remote_DynamicStub.destroy (com/playground/concierge/model/facade/__UnitFacadeRemote_Remote_DynamicStub.java) at com.playground.concierge.model.facade._UnitFacadeRemote_Wrapper.destroy (com/playground/concierge/model/facade/_UnitFacadeRemote_Wrapper.java) at com.playground.concierge.manager.ConciergeManager.unitsRemoveButtonActionPerformed (ConciergeManager.java:334) at com.playground.concierge.manager.ConciergeManager.access$200( ConciergeManager.java:15) at com.playground.concierge.manager.ConciergeManager$3.actionPerformed( ConciergeManager.java:91)

    Root Cause Analysis

    1. java.rmi.RemoteException

      null; nested exception is: java.lang.IllegalArgumentException: Entity must be managed to call remove: 123 Foo Road, Bar City, FL 33300, try merging the detached and try the remove again. at com.sun.enterprise.iiop.POAProtocolMgr.mapException( POAProtocolMgr.java:251) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java :1375) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java :1305) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke( EJBObjectInvocationHandler.java:210) at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke( EJBObjectInvocationHandlerDelegate.java:117)

      at $Proxy72.destroy()
    2. Unknown
      $Proxy72.destroy
      1. $Proxy72.destroy(Unknown Source)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame