Bug 39019 - NPE saving file
Summary: NPE saving file
Status: RESOLVED DUPLICATE of bug 38951
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.0 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 10:45 EDT by DJ Houghton CLA
Modified: 2003-06-18 09:29 EDT (History)
0 users

See Also:


Attachments
log file (13.51 KB, text/plain)
2003-06-17 10:46 EDT, DJ Houghton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2003-06-17 10:45:58 EDT
build i0617
winxp
j9sc 20030603

When saving a file in the Java editor (right after doing a code-assist), I get 
a message dialog saying "Save failed: null". I will attach the log file.

Note that this results in loss of work as I can't seem to save the file at all 
now.

I tried to revert the file and nothing happened. (no message, but file is 
still the "dirty" one) Looks like another NPE in the log though.
Comment 1 DJ Houghton CLA 2003-06-17 10:46:45 EDT
Created attachment 5210 [details]
log file

Log file with NPEs from both saving and reverting.
Comment 2 DJ Houghton CLA 2003-06-17 10:49:01 EDT
I closed the editor and clicked on the file in the Problems view to re-open it 
and I get a message dialog saying "Shared working copy has wrong buffer". 
There are no more messages in the log file and the editor won't open. Looks 
like I have to restart Eclipse?

Increasing severity until frequency of this problem is determined.
Comment 3 DJ Houghton CLA 2003-06-17 11:01:33 EDT

*** This bug has been marked as a duplicate of 38951 ***