DaveFar
DaveFar

Reputation: 7447

Eclipse 3.5.2 bug: save file not working

I cannot save one of my edited files in Eclipse 3.5.2 (Build id: M20100211-1343, using Ubuntu 10.04 LTS). I really love when the most important feature of a program is not working.

Has anybody else experienced this bug? Should I report it at https://bugs.eclipse.org/bugs/? Or might it be caused by a plugIn?

In detail:

I edited a java file in the editor and cannot save it. Neither File -> Save nor Ctr-S is doing anything at all. When I switch to other files, I can save those. Looking under workspace, the file is still there, unmodified (same rights as other files, not saved recently).

Since this now happened for the third time, I checked at https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=%22save+file%22 but couldn't find anything appropriate. I checked several log files, e.g. workspace/.metadata/.log, but did not find a recent exception. Should I look in a different log file?

I did find several exceptions some time ago (>1 hour), see below. For my amateurish view, they don't seem to be the cause. Am I wrong?

Upvotes: 5

Views: 9682

Answers (4)

user32640
user32640

Reputation: 1

I solved this issue by changing the setting as follow: Window-> Preferences->PHP( as my issue was in PHP, if you are working on Java or other then you may need to select that one) -> Editor-> Save Action. I restore it to default.

Upvotes: 0

ManojKumar
ManojKumar

Reputation: 111

For those who reached here by googling, I was facing similar issue. I use Eclipse Oxygen IDE for Java EE and I wanted to work on Scala so I installed Scala IDE and Scala Worksheet via help > Install new Software

I created a Scala class file and typed some code but I was unable to save the file. Referring to suggestion in comment I did close > save. After this, issue vanished and I was able to save this file in usual way Ctrl + s

Upvotes: 1

Dheerajs83
Dheerajs83

Reputation: 56

I have also encountered the same problem with Juno. The answer is given in the post Why can't I save file in Eclipse Juno?

in Short, use save all (ctrl+shift+s) as a workaround till the problem is fixed in the IDE.

Thanks Dheeraj

Upvotes: 4

DaveFar
DaveFar

Reputation: 7447

I guess this error was really caused by Subclipse. If I remember correctly, I changed some settings in svn (mainly switching to the java protocol implementation) and the bug was gone.

Upvotes: 0

Related Questions