Bug 367444 - Repeatable NPE while saving workspace state
Summary: Repeatable NPE while saving workspace state
Status: CLOSED DUPLICATE of bug 352867
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 12:12 EST by David M. Karr CLA
Modified: 2012-04-02 13:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Karr CLA 2011-12-22 12:12:50 EST
Build Identifier: 201111221000

Since a few days ago, every time I exit Eclipse, it fails while "saving workspace state" with the following:

Problems occurred while trying to save the state of the workbench.
  Could not write workspace metadata '<workspace>/.metadata/.plugins/org.eclipse.core.resources/.root/332.tree'.
  java.lang.NullPointerException

At the time of the failure, this is a "ls -lt" of that ".root" directory:
---------------------
total 12000
drwx------+ 3 dk068x Domain Users        0 Dec 22 08:38 ./
-rwx------+ 1 dk068x Domain Users    13607 Dec 22 08:38 332.tree*
-rwx------+ 1 dk068x Domain Users    77552 Dec 21 17:48 .markers.snap*
drwx------+ 6 dk068x Domain Users        0 Dec 16 11:10 ../
-rwx------+ 1 dk068x Domain Users    19274 Dec 16 09:11 .markers*
-rwx------+ 1 dk068x Domain Users 12172581 Dec 16 09:11 331.tree*
drwx------+ 2 dk068x Domain Users        0 Jun 23  2010 .indexes/
-----------------

I looked in the .log file, and there is no stack trace for this NPE, or any messages that seem to be relevant to this.

Reproducible: Always
Comment 1 David M. Karr CLA 2011-12-27 19:14:02 EST
After several days of this symptom repeating consistently and without variation, it wasn't long after I filed this that I stopped seeing the symptom.  I haven't seen it since.
Comment 2 Szymon Ptaszkiewicz CLA 2012-04-02 13:49:53 EDT
It looks like a duplicate of bug 352867.

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