Cursor requires active transaction - while SvnStatusClient.doStatus() on unmerged files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Cursor requires active transaction - while SvnStatusClient.doStatus() on unmerged files

kishorerouthu
This post has NOT been accepted by the mailing list yet.
Hi All,

SVNStatusClient statusClient = svnClientManager.getStatusClient();
      long status = statusClient.doStatus(repositoryWC,
                    SVNRevision.HEAD, SVNDepth.INFINITY, true, false, false,
                    false, new ISVNStatusHandler() {
                        @Override
                        public void handleStatus(SVNStatus status) throws SVNException {

                                  // code to get the thee different versions base, remote, local of the conflicted file
                                 SVNStatusType svnStatusType = status.getContentsStatus();
                                 String newFile = status.getConflictNewFile().toString();
                                 String conflictBase = status.getConflictOldFile().toString();
                                 String conflictWorking = status.getConflictWrkFile().toString();
                                         
                            }
                        }
                    }, Collections.EMPTY_LIST);
                return conflictData;

it is working fine for 3 to 4 merges but later is throwing "Cursor requires active transaction" exception.
Can anybody explain me how are transactions are managed by SVNkit. ?
How can I resolve this issue.

Note : I am using sing SvnClientManager object for all the calls.