Skip to content

UI error: Cannot read properties of null (reading 'appsInAnyNamespaceEnabled') #19538

@agaudreault

Description

@agaudreault

Describe the bug

When browsing to a project url directly such as https://cd.apps.argoproj.io/settings/projects/sync, we get the following

Something went wrong!

Consider submitting an issue [here](https://github.com/argoproj/argo-cd/issues/new?labels=bug&template=bug_report.md).


Stacktrace:

TypeError: Cannot read properties of null (reading 'appsInAnyNamespaceEnabled')
    at https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:2038149
    at Es (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:806298)
    at kl (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:795645)
    at xl (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:795570)
    at hl (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:792593)
    at https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:744254
    at t.unstable_runWithPriority (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:819456)
    at qo (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:743963)
    at Xo (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:744199)
    at Jo (https://cd.apps.argoproj.io/main.57deacbb92d583aa2bca.js:2:744134)

To Reproduce

Expected behavior

No error

Version

v2.12.0 and 2.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:uiUser interfaces bugs and enhancementsgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions