Eclipse 3.5.2 error: file save does not work

I cannot save one of my edited files in Eclipse 3.5.2 (Build id: M20100211-1343 using Ubuntu 10.04 LTS). I really like when the most important function of the program does not work.

Has anyone else experienced this error? Should I report this at https://bugs.eclipse.org/bugs/ ? Or could it be caused by the plugin?

More details:

I edited the java file in the editor and cannot save it. Neither File → Save nor Ctr-S do anything. When I switch to other files, I can save them. If you look at the workspace, the file still exists, unmodified (the same rights as other files that have not been saved recently).

Since this was the third time, I checked https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=%22save+file%22 , but could not find anything suitable. I checked several log files, for example. workspace / .metadata / .log, but did not find a recent exception. Should I look in another log file?

I found a few exceptions some time ago (> 1 hour), see below. For my amateur look, they do not seem to be the reason. I'm wrong?

  • some of the sonar plugins
  • some by infinitest plugin
  • one that sounds customizable, but the non-verifiable file has not been moved and has been versioned for quite some time. Error 240286 and error 307140 seem not to be my situation.

    ! SUBENTRY 1 org.eclipse.jdt.core 4 966 2011-08-31 16: 01: 08.633 MESSAGE Problems encountered when moving resources. STACK 1 org.eclipse.core.internal.resources.ResourceException: problems encountered when moving resources. at org.eclipse.core.internal.resources.Resource.move (Resource.java:1476) at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processCompilationUnitResource (CopyResourceElementsOperation.javahaps31) in ... sun.reflect. DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) in java.lang.reflect.Method.invoke (Method.java:616) on org.eclipse.equinox.launcher.Main.invokeFramework (Main.javahaps59) on org.eclipse .equinox.launcher.Main.basicRun (Main.java UP14) at org.eclipse.equinox.launcher.Main.run (Main.java:1311) Contains: Cannot move the file to a location that is not controlled by SVN. Try Team -> Copy and then Delete. SUBENTRY 2 org.eclipse.core.resources 4 4 2011-08-31 16: 01: 08.633 MESSAGE Problems encountered when moving resources. SUBENTRY 3 org.tigris.subversion.subclipse.core 4 -6 2011-08-31 16: 01: 08.633 MESSAGE It is not possible to move the file to a location that is not controlled by SVN. Try Team -> Copy and then Delete.

+4
source share
2 answers

I also ran into the same issue with Juno. The answer is given in the message Why can't I save the file in Eclipse Juno?

In short, use save all (ctrl + shift + s) as a workaround to fix the problem in the IDE.

Thanks Dheeraj

+2
source

I assume this error was really caused by Subclipse. If I remember correctly, I changed some settings in svn (mainly by switching to the Java protocol implementation), and the error disappeared.

0
source

All Articles