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. 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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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. 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. 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. 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)

      at javax.swing.AbstractButton.fireActionPerformed()
    2. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.Component.processMouseEvent(Unknown Source)
      7. javax.swing.JComponent.processMouseEvent(Unknown Source)
      8. java.awt.Component.processEvent(Unknown Source)
      9. java.awt.Container.processEvent(Unknown Source)
      10. java.awt.Component.dispatchEventImpl(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Component.dispatchEvent(Unknown Source)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      16. java.awt.Container.dispatchEventImpl(Unknown Source)
      17. java.awt.Window.dispatchEventImpl(Unknown Source)
      18. java.awt.Component.dispatchEvent(Unknown Source)
      19. java.awt.EventQueue.dispatchEvent(Unknown Source)
      20. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      21. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      22. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      23. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      25. java.awt.EventDispatchThread.run(Unknown Source)[att1.html]
      25 frames