facebook

MyEclipse crashes/starts deleting Windows XP files

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #322028 Reply

    dmhart
    Member

    My company runs Windows XP, I have MyEclipse 9.1 installed. I run a gradle(1.0-m6) build script, which finishes just fine, then MyEclipse starts to update/synchronize the project. At this point, MyEclipse will freeze and all computer files (workspace, MyDocuments, and such) and Windows XP files will start being deleted. The maven libraries we pull down have been limited to Hibernate 3.6.4Final, SLF4J 1.6.1, junit 4.7 and groovy 1.8.0, so nothing that should be malicious. This happened to myself and to a coworker twice.

    We are waiting to test out the build scenario again on a machine we can truly blow up, but we think we may have been referencing the project we did the gradle build on in other projects. I don’t see how this could destroy a machine though. Has anything like this been heard of or seen? We are left speechless and amazed.

    Not sure if this is where this issue should be, but since the problem start when MyEclipse is updating the project with the new libraries pulled in this is where I will start. Thanks for any help!

    #322033 Reply

    support-swapna
    Moderator

    dmhart ,

    Sorry that you are seeing this issue. I am afraid we have not come across or heard anything about like this before.

    Can you answer some more questions for us to understand the issue better ?

    1) How are you running the gradle script ?

    2) Do you have a plugin to run the gradle script from eclipse ? If yes then share the download link and the steps you followed to install it.

    3) Can you clarify that there is no virus in your machine ?

    #322037 Reply

    Brian Fernandes
    Moderator

    dmhart,

    I will confirm that we have not come across a case like this before and we certainly don’t have code that would do this.

    From what folders are files being deleted, exactly? Could you have a mapping/link in your project to this directory (or a parent?). If your project is connected with a version control system and a synchronize is happening, perhaps Eclipse is deleting the files that are not present in the repository – and thus deleting the Windows files in the process? The long delay could indicate that a larger directory is being refreshed.

    You could try the same machine with a newer dummy project which you create from scratch (so that you don’t accidentally copy any artifacts that may be creating this problem in the first place), while keeping the problematic project closed.

    Hope this helps, please keep us posted.

    #322054 Reply

    dmhart
    Member

    1) We have gradle set up as an External Tool Config program. Points to the gradle.bat, point to the project we want to build, and run eclipseClasspath. Works really well.

    2) No plugin for gradle.

    3) No virus. I ran a couple programs on my machine and nothing was found.

    @support-swapna wrote:

    dmhart ,

    Sorry that you are seeing this issue. I am afraid we have not come across or heard anything about like this before.

    Can you answer some more questions for us to understand the issue better ?

    1) How are you running the gradle script ?

    2) Do you have a plugin to run the gradle script from eclipse ? If yes then share the download link and the steps you followed to install it.

    3) Can you clarify that there is no virus in your machine ?

    #322055 Reply

    dmhart
    Member

    All folders/files across the C drive are being deleted, unless a file or application is open and running at the time of failure/corruption/crash. The first time I had SqlServer Manager open and that folder structure stayed, but the files were deleted.

    No, no mapping/link to the C drive in the project that we’re trying to build.

    We are connected to an SVN, but we’ve never come across anything like this before. That is an interesting thought though.

    We are going to try running everything this week on a Windows XP VM so we don’t have to lose another machine in the process. Not sure if it will behave the same, but worth a shot to figure out what is causing this.

    I will keep you posted. Thanks for all your input!

    @Support-Brian wrote:

    dmhart,

    I will confirm that we have not come across a case like this before and we certainly don’t have code that would do this.

    From what folders are files being deleted, exactly? Could you have a mapping/link in your project to this directory (or a parent?). If your project is connected with a version control system and a synchronize is happening, perhaps Eclipse is deleting the files that are not present in the repository – and thus deleting the Windows files in the process? The long delay could indicate that a larger directory is being refreshed.

    You could try the same machine with a newer dummy project which you create from scratch (so that you don’t accidentally copy any artifacts that may be creating this problem in the first place), while keeping the problematic project closed.

    Hope this helps, please keep us posted.

    #322944 Reply

    erichmusick
    Member

    I’ve got three coworkers who have had this same problem. Their systems have been completely hosed and we’ve had to reimage them and set up everything again from scratch.

    It appears to have occurred with both 9.1 and 10, however I’ve deleted projects from within 9.0 without problems.

    Our steps to reproduce were different. For both people who encountered, this, it was while deleting a project. We found that checking the “delete from file system” box when deleting a project from the workspace would cause this to occur. Eclipse 9.1 proceeded to delete random files from the harddrive. In the most recent case, it also deleted itself somehow along with all of the other applications this coworker uses.

    #322960 Reply

    erichmusick
    Member

    Forgot to mention … I think everyone who has had this problem is running Windows 7.
    We’re using the CA SCM Plugin.

    #322961 Reply

    Brian Fernandes
    Moderator

    dmhart / Eric,

    We tracked down this problem with the help of another user a couple of days ago. I have posted this announcement with details on what is most likely the cause of the deletions you are experiencing: https://www.genuitec.com/forums/topic/9-1-and-10-0-deleting-project-classpath-files-side-effect/
    I was remiss in not updating this thread with those details sooner.

    As already mentioned in the announcement, this issue exists in both 9.1 and 10.0. I sincerely apologize for the damage caused by this bug; my team is working on delivering a fix as soon as possible.

    #322962 Reply

    erichmusick
    Member

    Thanks a bunch, Brian! Will that fix only be present in 10.1, or will there also be a patch for 9.1?

    #322963 Reply

    Brian Fernandes
    Moderator

    Eric,

    The fix will be available for 9.1 too. It will be available for 9.1 and 10.0, much in advance of our 10.1 release which is due at the end of this month.

    #323408 Reply

    Brian Fernandes
    Moderator
Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: MyEclipse crashes/starts deleting Windows XP files

You must be logged in to post in the forum log in