Results 1 to 2 of 2
  1. #1
    dauphin is offline Member
    Join Date
    Dec 2010
    Posts
    10
    Rep Power
    0

    Default [SOLVED] Showing non-existing errors after crash

    Hi everyone,

    Today when I was writing some code the computer froze (because of Chrome, like always) and I restarted it. When I opened eclipse again, it said I the code has tens of errors. However all of them were wrong. The errors were actually related to before my last saving. For example I had a class member like this:

    Java Code:
    public int length;
    then I changed "length" to "count":
    Java Code:
    public int count;
    when I changed it, the editor showed a number of error pertaining to other classes which used the "length" member. I updated all to "count" and saved all the files. Eventually the laptop crashed and so on.

    When I opened eclipse, I got this error for the code below: length cannot be resolved or is not a field. It still thinks there is "length" in the code.
    Java Code:
    s.count++;
    This is just one example. There are like 20 of these errors for each file!

    What can I do to get rid of this issue?
    Last edited by dauphin; 01-26-2013 at 12:30 PM. Reason: solved

  2. #2
    dauphin is offline Member
    Join Date
    Dec 2010
    Posts
    10
    Rep Power
    0

    Default Re: Showing non-existing errors after crash

    Solved. I just click "save all". (when I saved them one by one, the errors still were there)

Similar Threads

  1. JVM crash.
    By werner291 in forum New To Java
    Replies: 4
    Last Post: 12-31-2011, 05:31 PM
  2. A JVM Crash.
    By mbb in forum New To Java
    Replies: 0
    Last Post: 06-10-2011, 11:25 AM
  3. Replies: 4
    Last Post: 01-04-2011, 12:36 AM
  4. JVM crash
    By darsh in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 10-15-2010, 09:55 AM
  5. AWT JVM Crash
    By Java_Zak in forum AWT / Swing
    Replies: 0
    Last Post: 07-29-2010, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •