Eclipse Eclipse on Windows 7

Apparently, after some of the latest updates to Windows 7, Eclipse has stopped working properly. It freezes very often within 30 seconds to 2 minutes. In fact, the system also freezes, for example, music that plays in WMP stops, downloads of web page stops, etc.

I first tried it with the newest Eclipse Kepler and thought it was only a new version, but then fell back to Juno, and the same thing happens.

My JRE is Java 7u45 , but I also tested it with 7u7 and no changes.

It seems that during freezing, some I / O operations occur when the light of the hard disk is constantly flickering.

It completely prevents the execution of any actions both in Eclipse and in the system itself.

Has anyone experienced such a problem lately? I have googled and all I found are some error messages for Eclipse and 64-bit version of Windows.

EDIT: I tested it on another machine with almost the same configuration, and it works flawlessly. Any idea how I can test my car what causes the problem?

However, this only happens when starting Eclipse. I have no other problem with any other application.

EDIT: I started Eclipse using -consolelog , and here is the column of the stack of exceptions created during freeze.

 2013-11-15 12:31:06,480 [main] INFO cnhcpnNettyAsyncHttpProvider - Number of application worked threads is 8 2013-11-15 12:32:56,300 [Recommenders-Dependency-Info-Service-0] ERROR oerirpClasspathEntryInfoProvider - Extracing jar information failed with exception. 

java.lang.RuntimeException: java.io.IOException: Die Anforderung konnte wegen eines E/A-Gerõtefehlers nicht ausgef³hrt werden at org.eclipse.recommenders.utils.Throws.throwUnhandledException(Throws.java:47) ~[na:na] at org.eclipse.recommenders.utils.Fingerprints.internal_sha1v2(Fingerprints.java:59) ~[na:na] at org.eclipse.recommenders.utils.Fingerprints.sha1(Fingerprints.java:64) ~[na:na] at org.eclipse.recommenders.utils.archive.ArchiveDetailsExtractor.createFingerprint(ArchiveDetailsExtractor.java:56) ~[na:na] at org.eclipse.recommenders.internal.rcp.providers.ClasspathEntryInfoProvider$3.run(ClasspathEntryInfoProvider.java:247) ~[na:na] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.7.0_45] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_45] at java.lang.Thread.run(Unknown Source) [na:1.7.0_45] Caused by: java.io.IOException: Die Anforderung konnte wegen eines E/A-Gerõtefehlers nicht ausgef³hrt werden at java.io.FileInputStream.readBytes(Native Method) ~[na:1.7.0_45] at java.io.FileInputStream.read(Unknown Source) ~[na:1.7.0_45] at com.google.common.io.ByteStreams.readBytes(ByteStreams.java:708) ~[na:na] at com.google.common.io.ByteStreams.getDigest(ByteStreams.java:760) ~[na:na] at com.google.common.io.Files.getDigest(Files.java:642) ~[na:na] at org.eclipse.recommenders.utils.Fingerprints.internal_sha1v2(Fingerprints.java:57) ~[na:na] ... 8 common frames omitted

!ENTRY org.eclipse.m2e.logback.appender 4 0 2013-11-15 12:32:56.310 !MESSAGE Extracing jar information failed with exception. 2013-11-15 12:34:44,130 [Recommenders-Dependency-Info-Service-0] ERROR oerirpClasspathEntryInfoProvider - Extracing jar information failed with exception.

+7
windows-7 java-7 eclipse-juno eclipse-kepler
source share
5 answers

This German post may indicate serious problems. Recently, similar problems have been discovered with several computers.

The checklist was as follows:

  • Make sure the files are copied.
  • Before further research, a quick hard drive health test
    • Check the health diagnostic data (SMART) of your hard drive using a tool such as HD Tune
      • If there are errors, especially related to the level of wear of the SSD or pending / replaceable sectors, your hard drive basically says "goodbye"
  • File system may be corrupted
    • Check and fix the file system (if required at boot time)
    • Regardless of the results of checkdisk, you can use FSC to check system files
  • Check eclipse configuration
    • Reduce available concurrency and resource allocation options for indexer plugins in Eclipse to a minimum
    • Disable indexing plugins
    • Testing with installing the eclipse splash screen
    • You can delete local maven stores and other temporary or intermediate storage locations.
  • Check I / O overload.
    • Look at the disk view in the resource monitor (accessible through the task manager) to identify intensive I / O processes
      • Do you have many files extracted and run by something like Tortoise Shell-Extensions?
        • Try working in Eclipse without a shell and a Windows browser: kill all explorer.exe instances through the task manager ( CTRL+Shift-ESC ). If necessary, you can run the "explorer" from the task manager.
          • If there are no problems, delete or reconfigure such shell extensions, reboot and continue as usual (here I solved one problem)
    • Temporarily disable anti-virus access protection, possibly after a full scan
    • Stop and / or delete other intensive background processes with IO
  • There may be problems with the drivers
    • Try updating or reinstalling the newly replaced storage driver (or, if possible, the driver that comes with Windows)
  • Download and test in safe mode (press F8 before the Windows splash screen at startup)
    • If you can work here without problems, the problem is most likely caused by services or other software components, which was disabled in safe mode (you would have to continue researching the problem software).
  • Check for data errors or other hardware malfunctions
    • Check (pull out and connect) the cables
    • Check the drive on other connectors (or better than other controllers) or on another computer.
    • Copy your working directories to another physical drive (possibly an external drive) and see if you can work there without errors
    • "stand-alone" memory testing with a tool such as: memtest86 +
+1
source share

Windows has problems with updates several times, you can try using the "Repair System" tool. In most cases, this solves such problems.

See the documentation here http://windows.microsoft.com/en-us/windows7/products/features/system-restore ;

0
source share

In my experience, Eclipse crashes on the computer because it rebuilds some internal search or database indexes. Slowing down often after updating an Eclipse software or changing to a major version.

I was not able to understand exactly what is going on inside eclipse, I think that software updates or version changes can negatively affect workspace metadata.

So I found a big relief by deleting .metadata inside the workspace and re-importing all the projects.

Remember:

  • just to avoid losing anything, back up your workspace directory before deleting .metadata
  • close Eclipse before deleting the .metadata directory

Reimport all projects are quite simple. All you have to do is select from the menu File -> Import -> Existing Projects into Workspace .

I have a Mac, but under Windows should be the same. Then select the root directory of the workspace and import all the projects.

enter image description here

0
source share

Like others, the question seems to come from the Code Tips plugin. This may not be a permanent solution, but I would try to remove this plugin temporarily and see if the problem persists.

In addition, I’ll just try the general troubleshooting steps for my computer:

  • Reboot the computer.
  • Reinstall JDK
  • Reinstall Win 7 and Eclipse (kernel option)
0
source share

This issue seems to be related to Code Eclipse recommendations. They just released a new version of this plugin today, check for update notes . Perhaps you can try to remove or update this module before your IDE is frozen.

Have you tried using other installers / versions of eclipse? I suggest you try the Spring STS IDE , it's just another eclipse with some tweaks.

0
source share

All Articles