Hello Linda, It looks like a bug in SVNKit. To reproduce it locally I need to know the working copy state. So I would like to ask you to run "svn status -v" on your working copy and send me the output.
With SVNKit you may get the status by the following code (please send me the output). final SVNClientManager clientManager = SVNClientManager.newInstance(); try { final SVNStatusClient statusClient = clientManager.getStatusClient(); statusClient.doStatus(workingCopyDirectory, SVNRevision.WORKING, SVNDepth.INFINITY, false, true, true, true, new ISVNStatusHandler() { @Override public void handleStatus(SVNStatus status) throws SVNException { final File file = status.getFile(); final SVNStatusType combinedStatus = status.getCombinedNodeAndContentsStatus(); final SVNStatusType nodeStatus = status.getNodeStatus(); final SVNStatusType contentsStatus = status.getContentsStatus(); final SVNStatusType propertiesStatus = status.getPropertiesStatus(); System.out.println(file + " " + combinedStatus + " " + nodeStatus + " " + contentsStatus + " " + propertiesStatus); } }, null); } finally { clientManager.dispose(); } Thank you for the report! > Hi, I've downloaded and updated to SVNKit 1.7.5, but the problem still > persists. > What could still be causing this? > > Thanks, > > Linda > > Dmitry Pavlenko-2 wrote: > > Hello, > > 1.3.3 is rather old version. Could you please retry with SVNKit 1.7.5 in > > order to figure out if the > > problem has been already fixed? > > > >> Hello, > >> For the SVNKit version v1.3.3; SVN version v1.6.11 > >> A for the "fullProjectPath", it is an absolute path. > >> I dont know the working copy status, is there a way / function for > >> getting > >> the working copy status in SVNKit? > >> May I know the reason why I get this EmptyStackException? > >> > >> Thank You for your help. :-) > >> > >> Dmitry Pavlenko-2 wrote: > >> > Hello, > >> > could you please provide more information: > >> > What SVNKit version do you use? > >> > Is "fullProjectPath" an absolute or relative path? > >> > What is your working copy status (please provide "svn status -v" > >> > output or describe it somehow)? > >> > > >> >> I've been getting this error > >> >> > >> >> java.util.EmptyStackException > >> >> > >> >> at java.util.Stack.peek(Stack.java:85) > >> >> at > >> > >> org.tmatesoft.svn.core.internal.io.fs.FSCommitEditor.addDir(FSCommitEdit > >> > >> >> or. java:149) at > >> > >> org.tmatesoft.svn.core.internal.wc.SVNCommitter.handleCommitPath(SVNComm > >> > >> >> itt er.java:132) at > >> > >> org.tmatesoft.svn.core.internal.wc.SVNCommitUtil.driveCommitEditor(SVNCo > >> > >> >> mmi tUtil.java:92) at > >> > >> org.tmatesoft.svn.core.internal.wc.SVNCommitter.commit(SVNCommitter.java > >> > >> >> :36 6) at > >> > >> org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java: > >> >> 100 9) at > >> > >> org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java: > >> >> 896 ) at > >> > >> org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java: > >> >> 828 ) at > >> >> com.ctrlspace.vcs.SVNKitWrapper.doCommit(SVNKitWrapper.java:147) at > >> >> com.ctrlspace.vcs.commands.PushCommand.doPush(PushCommand.java:130) > >> >> > >> >> when using > >> >> > >> >> SVNCommitInfo info = manager.getCommitClient().doCommit( > >> >> > >> >> new File[] { new File(fullProjectPath) > >> >> }, false, commitMessage, > >> >> null, null, true, false, > >> >> SVNDepth.INFINITY); > >> >> > >> >> Note: > >> >> new File[] { new File(fullProjectPath) -> it is the list of files > >> > >> that > >> > >> >> the > >> >> user want to create