CLION Deleted file content after power went off

My notebook just went out of power while I was hacking on a file.
I save after every line of code, so I didn't expect it to be a problem.

Unfortunately now the file is complely empty, all my changes seem to be lost (I did make a git commit yet).

Is there any way to recover my file?

This is very annoying, why should that ever happen? What kind of error handling is this..

I'm using Arch Linux, installed CLION from the AUR.

After the reboot, CLION doesn't start anymore too:

$ clion  
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f13c2fb3be0, pid=3764, tid=139723356694272
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00007f13c2fb3be0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home//java_error_in_CL_3764.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/usr/bin/clion: line 187:  3764 Aborted                 (core dumped) LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JDK/bin/java" $AGENT "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" -classpath "$
CLASSPATH" $VM_OPTIONS "-Djb.vmOptionsFile=$VM_OPTIONS_FILES_USED" "-XX:ErrorFile=$HOME/java_error_in_CL_%p.log" -Djb.restart.code=88 -Didea.paths.selector=clion11 $IDE_PROPERTIES_PROPERTY $IDE_JVM_
ARGS $REQUIRED_JVM_ARGS $MAIN_CLASS_NAME "$

1 comment
Comment actions Permalink

Hi Flavio!

There is a recent issue about a JRE segfault in ArchLinux under investigation. It seems like the same issue as yours. As soon as it will be resolved and you'll be able to launch CLion again, your file hopefully could be recovered via VCS | Local history | Show history. We're sorry for the inconvenience, please stay tuned.

0

Please sign in to leave a comment.