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
Please sign in to leave a comment.
https://youtrack.jetbrains.com/issue/IDEA-110311 may be related.
See if you can restore the files via Local History.
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.
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.
No reason to backup empty files, only when they are corrupted and not readable for the program.
If I remember correctly, the "content truncated" message means the file has zero length (a typical behavior of ext4 after a crash).
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.