Bug 459736 - Save failed
Summary: Save failed
Status: CLOSED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-02-12 01:50 EST by Kenneth Styrberg CLA
Modified: 2018-06-21 08:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Styrberg CLA 2015-02-12 01:50:22 EST
Eclipse: 4.5M5 (32bit)
OS: Win 7 64
Java: JDK 1.7.0_72

When trying to save file after using undo (CTRL+Z) a popup with text "Save Failed \n Illegal value: -1" pops up.

steps:
1) delete a line in editor
2) save file (CTRL+S)
3) undo (CTRL+Z)
4) save file (CTRL+S)
...
Comment 1 Kenneth Styrberg CLA 2015-02-12 02:06:54 EST
Hmm, now I've problem reproducing the error??? I'm still working in same session... I'll investigate further.
Comment 2 Dani Megert CLA 2015-02-12 04:14:50 EST
Which editor?
Comment 3 Kenneth Styrberg CLA 2015-02-12 05:11:07 EST
It was in the Java editor, and it didn't matter what the line contained; code, comment or empty line.

A side note (maybe crucial?) is that I have code formatter active when I save files.

The problem is still after hours of coding that I still can't reproduce. Can you pinpoint the code that contains the text from the popup dialog?
Comment 4 Dani Megert CLA 2015-02-12 09:29:14 EST
(In reply to Kenneth Styrberg from comment #3)
> It was in the Java editor, and it didn't matter what the line contained;
> code, comment or empty line.
> 
> A side note (maybe crucial?) is that I have code formatter active when I
> save files.
> 
> The problem is still after hours of coding that I still can't reproduce. Can
> you pinpoint the code that contains the text from the popup dialog?

I don't see "Save Failed" message string in our code.