Skip to content

"Failed to retrieve Windows Defender status." at startup of Eclipse #1758

Closed

Description

@ErikBergfurInfor

The Windows Defender status check assumes the result strings are case insensitive.

On line 319, eclipse checks for "Passive mode"
https://github.com/eclipse-platform/eclipse.platform.ui/blame/03b03d8feefa6270e575dd61eb5c25c839c36eec/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/internal/WindowsDefenderConfigurator.java#L319

The error I get on my windows 11 workstation gives us "Passive Mode"

org.eclipse.core.runtime.CoreException: Failed to retrieve Windows Defender status.
	at org.eclipse.ui.internal.WindowsDefenderConfigurator.isWindowsDefenderActive(WindowsDefenderConfigurator.java:324)
	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)
Caused by: java.io.IOException: Process terminated with unexpected result:
Passive Mode
	at org.eclipse.ui.internal.WindowsDefenderConfigurator.isWindowsDefenderActive(WindowsDefenderConfigurator.java:321)
	... 4 more

Activity

  1. BeckerWdf commented on Mar 20, 2024

    @BeckerWdf
    Member

    @HannesWell : Can you pls. have a look at this?

  2. self-assigned this
    on Mar 21, 2024
  3. HannesWell commented on Mar 21, 2024

    @HannesWell
    Member

    Thanks for the report. Will take of it. Shouldn't be too difficult.

  4. HannesWell commented on Mar 23, 2024

    @HannesWell
    Member

    @ErikBergfurInfor thanks again for your bug-report.
    The issue should be fixed now. Please try out tomorrows Integration build from https://download.eclipse.org/eclipse/downloads/ to verify it is really fixed.

  5. piradix commented on Mar 30, 2024

    @piradix

    I get the same problem with "eclipse-SDK-4.31-win32-x86_64" :-)
    But It don't more exists with "eclipse-SDK-I20240329-1800-win32-x86_64" ;-)

  6. bernd-wechner commented on May 23, 2024

    @bernd-wechner

    Interestingly it's May and I just got this with the Eclipse 2024‑03 R Eclipse IDE for Enterprise Java and Web Developers.

    Just wondering if it's safe to ignore. I'll do that for now and if I run into any issues try the integration build mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions