Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing any NetworkPolicy results in an error #4497

Closed
prskr opened this issue Dec 3, 2021 · 0 comments · Fixed by #4500
Closed

Viewing any NetworkPolicy results in an error #4497

prskr opened this issue Dec 3, 2021 · 0 comments · Fixed by #4500
Assignees
Labels
bug Something isn't working

Comments

@prskr
Copy link

prskr commented Dec 3, 2021

Describe the bug
Since release 5.3.2 I cannot view any NetworkPolicy but get an error

To Reproduce
Steps to reproduce the behavior:

  1. Click on any NetworkPolicy
  2. See error

Environment (please complete the following information):

  • Lens Version: 5.3.2.
  • OS: Arch Linux
  • Installation method: AUR - based on AppImage

** Error stack:**

Error stack:

TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at NetworkPolicyDetails.renderIPolicySelector (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:476086:14)
    at http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:476099:22
    at Array.map (<anonymous>)
    at NetworkPolicyDetails.renderNetworkPolicyPeers (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:476097:19)
    at http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:476138:26
    at Array.map (<anonymous>)
    at NetworkPolicyDetails.render (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:476136:24)
    at allowStateChanges (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:2571:12)
    at http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:11008:59
    at trackDerivedFunction (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:3120:18)
    at Reaction.track (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:3649:18)
    at NetworkPolicyDetails.reactiveRender [as render] (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:11006:14)
    at NetworkPolicyDetails.makeComponentReactive (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:11021:25)
    at NetworkPolicyDetails.target.render (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:10934:34)
    at qi (http://e7b3a21a7e92f32280c0dcf53ed54d6c.localhost:33191/build/Lens.js:556376:188)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants