Retrieve Java Class Code in Netbeans

Asked

Viewed 716 times

0

My computer suffered a forced shutdown due to a surge of light and when I reopened my project in Netbeans (8.2) one of the classes was empty, there is some way to retrieve such code?

  • Try this: https://stackoverflow.com/questions/11950754/netbeans-revert-project-changes-from-a-specialdate

  • The netbeans Local history manual can also help do this reversal: https://ui.netbeans.org/docs/ui/LocalHistory/

  • His history is empty, as if he had never been altered

  • If you forgot to save before the flash of light, I’m sorry, I have sad news for you...

  • I had saved a few minutes before, I have a habit of saving at all times, besides that all the code of the class disappeared, not only what I modified today

  • @Williamassunction Open the class by a normal text editor and see the content. If the file is empty, you will have to use some software to recover.

  • Did windows scan on disk? Usually when an abrupt shutdown occurs, right at the next startup, windows asks if it wants to check the disk, it takes time, but at least you know if any sector has damaged, and this may be the cause of corruption of some files.

  • It is empty, and did not ask for any check, started normally

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.