eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
4 stars 10 forks source link

When I lauche Eclipse I get error :"Failed to retrieve Windows Defender status" (I don't hava Defender, but another antivirus) #192

Closed piradix closed 3 months ago

piradix commented 3 months ago

Let's make sure issue is not already fixed in latest builds first.

Steps to reproduce

From a fresh installation or a clean workspace, when I lauch Eclipse, I get directly a dialog box with error : "Failed to retrieve Windows Defender status."

I tried

I expected: no error

But got: A dialog box with the error "Failed to retrieve Windows Defender status."

Here is some relevant log output

From <workspace>/.metadata/.log

Failed to retrieve Windows Defender status.
java.io.IOException: Process terminated with unexpected result:
Passive Mode
    at org.eclipse.ui.internal.WindowsDefenderConfigurator.isWindowsDefenderActive(WindowsDefenderConfigurator.java:321)
    at org.eclipse.ui.internal.WindowsDefenderConfigurator.runExclusionCheck(WindowsDefenderConfigurator.java:154)
    at org.eclipse.ui.internal.WindowsDefenderConfigurator.lambda$0(WindowsDefenderConfigurator.java:101)
    at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:187)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

eclipse.buildId=4.31.0.20240307-1200
java.version=21.0.2
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Tested under this environment:

Community

jonahgraham commented 3 months ago

@piradix Thanks for reporting. This does seem to be related to the new feature described in the N&N. Thanks for taking the time to report it.

cc @HannesWell

HannesWell commented 3 months ago

This could be a duplicate of https://github.com/eclipse-platform/eclipse.platform.ui/issues/1758#issuecomment-2016406009

Can you please try the latest integration build to check if this is already fixed?

HannesWell commented 3 months ago

Since we got a verification in https://github.com/eclipse-platform/eclipse.platform.ui/issues/1758 that this issue is fixed in the latest integration builds, therefore I'm closing this. Please re-open if the error persists in that or a later version.

Harshini2407 commented 1 month ago

Hi ,

I am getting the same error"Windows defender status not retrived"In Detials section I am getting :"Fail retrive comments from windows defender"Unable to Process".Kindly help me to fix this

piradix commented 1 month ago

I suppose we muist waitting the next vertsion of Eclipse of 2024 jun the (20) : Version: 2024-06.

mikencode commented 1 month ago

I'm getting that as well. Let's see what we get in the next update. If anyone finds the fix I'll gladly take it, it's not much but it's just enough annoying to wonder why!

piradix commented 1 month ago

I've been getting this error dialog box when I open Eclipse for 2 months now. I thought there would be an intermediate update, but no! there are only 16 days left?

I've also lost the about page logo, as well as the one displayed by Windows!

To give you the courage to wait another 15 days, here's a link to what's coming: https://eclipse.dev/eclipse/news/4.32/

iostsicaro commented 3 weeks ago

I'm getting that as well. Still appearing for me :((

Giovix92 commented 3 weeks ago

Used to get it with 4.31.0 (2024-03). After upgrading to 4.32.0 (2024-06) and upgrading the workspace I don't get it anymore.