0

I'm facing the following error with Eclipse Juno:

java.lang.NullPointerException
at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor$FileHandle.handleNotification(Win32Monitor.java:94)
at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor.waitForNotification(Win32Monitor.java:588)
at org.eclipse.core.internal.resources.refresh.win32.Win32Monitor.run(Win32Monitor.java:501)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Apparently is related with Internal error occurred during: “Cache refresh”. Are there any thing that may solve?

Thanks in advance.

Community
  • 1
  • 1
adelarsq
  • 3,718
  • 4
  • 37
  • 47

2 Answers2

2

If the error persists, uncheck the checkbox under Windows -> Preferences -> General -> Workspace -> Refresh using native hooks or polling.

Eclipse automatically refreshes the workspace, if some other tool modifies the underlying file system outside Eclipse. Your error happened in the background job doing that work.

Of course you may have to refresh the workspace manually with that option disabled.

Bananeweizen
  • 21,797
  • 8
  • 68
  • 88
1

Starting the Eclipse with -clean argument solved the problem.

adelarsq
  • 3,718
  • 4
  • 37
  • 47