Java – SVN commit error when adding a file

eclipsejavasubclipsesvntortoisesvn

A couple days ago, I started getting an error when attempting to add a file to our project that is checked into SVN. Checking out and updating still works fine but if I try to add a file I get an error that makes no sense.

I'm using Eclipse 4.2 and the latest version of Subclipse but I also get the same error using TortoiseSVN 1.7.10.

The error I get is:

    svn: E175002: Commit failed (details follow):
    svn: E175002: Commit failed (details follow):
svn: E175002: Processing PROPFIND request response failed: Open quote is expected for attribute "{1}" associated with an  element type  "language". (/svn/myproject/trunk/database/sql/2.11/test.xml) 
svn: E175002: Processing PROPFIND request response failed: Open quote is expected for attribute "{1}" associated with an  element type  "language". (/svn/myproject/!svn/wrk/2bc65adb-3a01-0010-a3f6-67fdfc8c148b/trunk/database/sql/2.11/test.xml) 
    svn: E175002: Commit failed (details follow):
svn: E175002: Processing PROPFIND request response failed: Open quote is expected for attribute "{1}" associated with an  element type  "language". (/svn/myproject/trunk/database/sql/2.11/test.xml) 
svn: E175002: Processing PROPFIND request response failed: Open quote is expected for attribute "{1}" associated with an  element type  "language". (/svn/myproject/!svn/wrk/2bc65adb-3a01-0010-a3f6-67fdfc8c148b/trunk/database/sql/2.11/test.xml) 

Things I've tried:

  • Cleanup and refresh with both Eclipse and Tortoise
  • Disconnect the project from the repository and reconnect it
  • Uninstalled and reinstalled Tortoise
  • Uninstalled and reinstalled Subclipse
  • Checked out the repository into another project and tried to add a file in the 'new' project but I still get the same error in the 'new' project.

UPDATE: When I VPN into my office's private network and use the internal IP address for the SVN repository it works just fine. Which seems to point to either the new internet provider I'm using (Charter); or to AVG which I recently switched to. I did try the "disable AVG" option in AVG but still I still get the same error.

Does anyone know what this error is and how to fix it?

Best Answer

I cannot directly answer your problem, but here is some other info that will help:

  • Refresh/Cleanup fix very specific problems only. Cleanup is mainly meant to be run when there is an unexpected crash in the middle of something like update/commit. Cleanup will remove the locks on the working copy and complete any queued transactions. Refresh is mainly an issue for GUI tools to force them to run svn status and refresh their icons.

  • Uninstall/reinstall is almost always pointless. It is not like you have corrupt files.

  • A fresh checkout is sometimes useful to try, especially if doing so is not painful.

Your error is happening during the HTTP conversation between the client and server. PROPFIND is one of the low-level HTTP requests that the SVN client issues to the server. I would look for proxy servers, firewalls, anti-virus (particularly the latter) that might be getting in the way of the HTTP conversation and corrupting the data. That is what it sounds like here. Something is corrupting the response to the PROPFIND request. It could be a problem with the SVN Server, but I think that is unlikely. I think it has to be something sitting between the client and server that is interfering with the conversation.