cancel
Showing results for 
Search instead for 
Did you mean: 

After Dispatched From Java

Contributor

After Dispatched From Java

From Java After transaction Dispatch, if I try to run root.getcollection("Server"), it throws an exception that "Access Already Freed" or "Session Already Closed"

2 Replies
MEGA

Re: After Dispatched From Java

Hello imrankhatyan

 

This is likely related to your code

I assume that you have

  1. Open a private workspace (MegaTransaction object)
  2. Dispatched it --> there is no longer a workspace open

In this situation, it will be difficult to get a collection (GetCollection).

 

Indications

  • Make sure that you still have a MegaRoot object open
  • Open a new private workspace 
Jerome
Contributor

Re: After Dispatched From Java

Q1: Is there no way I can keep the original session open after dispatch? (cause reopenning takes too long)

Q2: If a user is in Administration mode Can I let other users dispatch while the Administration mode is active?