Recent projects gone

When I started IntelliJ today, the recent projects were gone, maybe more. I got a couple of events:

17:59:47 Load Settings
         Cannot load settings from file '/home/chris/.IntelliJIdea15/config/options/recentProjects.xml': content truncated
         File content will be recreated
18:05:21 Load Settings
         Cannot load settings from file '/home/chris/scripts/.idea/workspace.xml': content truncated
         File content will be recreated

There has been no power failure, I stopped IntelliJ normally yesterday.

Most of the xml files in options seem to have been reset.

Any idea what happened?



Attachment(s):
idea_log_20151206.zip
6 comments
Comment actions Permalink

https://youtrack.jetbrains.com/issue/IDEA-110311 may be related.

See if you can restore the files via Local History.

0
Comment actions Permalink

Wouldn't it be better to make some kind of a backup before re-initializing these non-readable files? IntelliJ could write them to a dated directory, so it would be easier to correct them. It seems to happen quite regularly.

0
Comment actions Permalink

Either the log became corrupted during compression or upload, or IDEA was terminated abruptly - there is no normal shutdown sequence in the log between 2015-12-05 20:57:37,079 and 2015-12-06 17:53:28,048.

Backing up empty files makes no sense to me.

0
Comment actions Permalink

No reason to backup empty files, only when they are corrupted and not readable for the program.

0
Comment actions Permalink

If I remember correctly, the "content truncated" message means the file has zero length (a typical behavior of ext4 after a crash).

0
Comment actions Permalink

But, was it truncated after being read by IntelliJ and considered to be non-readable (because of illegal null characters or whatever) or was it truncated by some other cause, say, a crash.

0

Please sign in to leave a comment.