Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-52842

Topology view shows "TypeError: Cannot read properties of null (reading 'metadata')"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.16.z
    • Dev Console
    • None
    • Important
    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      This issue was already reported for older OpenShift Container Platform versions: OCPBUGS-35879. However the issue still exists on OpenShift Container Platform 4.16.28.

      For a certain project on the customer cluster, when navigating to the "Topology" view in the OpenShift Container Platform Console, this fails with the following "TypeError" error:

      Cannot read properties of null (reading 'metadata') 

      The stacktrace is the following:

       at t.a (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:341235)
          at g
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at g
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at g
          at a (https://console.cluster.example.com/static/vendor-patternfly-5~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/~23449ec9-chunk-07d28d5b0850d9be03c6.min.js:1:188690)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at g
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at g
          at t.a (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:436302)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at g
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at a (https://console.cluster.example.com/static/vendor-patternfly-5~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/~23449ec9-chunk-07d28d5b0850d9be03c6.min.js:1:186048)
          at svg
          at div
          at https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:91:428995
          at s (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:91:427236)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at e.a (https://console.cluster.example.com/static/vendor-patternfly-5~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/~23449ec9-chunk-07d28d5b0850d9be03c6.min.js:1:278405)
          at div
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:368992
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:369751
          at l (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1173882)
          at R (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:14964)
          at i (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:332438)
          at withFallback(Connect(withUserSettingsCompatibility(undefined)))
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:354905)
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:60:99891)
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:290413)
          at div
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:23309)
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:102428)
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:172147)
          at div
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:506024
          at R (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:14964)
          at t (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:91:134353)
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:505262
          at https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:91:595308
          at div
          at k (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:120175)
          at w (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:120623)
          at p (https://console.cluster.example.com/static/vendors~app/code-refs/actions~delete-revision~dev-console/code-refs/actions~dev-console/code-refs/ad~a619f889-chunk-1733b0cf31a127b977dc.min.js:1:230503)
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:502753
          at https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:412350
          at R (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:14964)
          at div
          at div
          at t.b (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:215065)
          at t.a (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:245015)
          at u (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:321255)
          at https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:503098
          at i (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:332438)
          at withFallback()
          at t.a (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:546990)
          at x (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1292820)
          at _ (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:4920)
          at ne (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:10364)
          at Suspense
          at i (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:332438)
          at section
          at m (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:123364)
          at div
          at div
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1293709)
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:60:99891)
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:290413)
          at div
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:23309)
          at c (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1069555)
          at https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:299689
          at R (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:14964)
          at main
          at div
          at b (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:60:260476)
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:354905)
          at div
          at div
          at l (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:60:99891)
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:290413)
          at div
          at c (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:6:23309)
          at An (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:1:138797)
          at t.default (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:747223)
          at t.default (https://console.cluster.example.com/static/quick-start-chunk-b8e04434dd391f1c5f73.min.js:1:3355)
          at l (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:148072)
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1372474)
          at te (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1393777)
          at ft (https://console.cluster.example.com/static/vendor-patternfly-5~main-chunk-897630a37497d627988d.min.js:1:98930)
          at te (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1393777)
          at te (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1393777)
          at te (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1393777)
          at o (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:700299)
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1364748)
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1362329)
          at ne (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1393899)
          at ae (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1395913)
          at _ (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:4920)
          at ne (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:10364)
          at _ (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:4920)
          at ne (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:10364)
          at te (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:31:9773)
          at G (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:11631)
          at t (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:24311)
          at re (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1396175)
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:673135)
          at t.a (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:986530)
          at l (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:524189)
          at t.a (https://console.cluster.example.com/static/vendor-plugins-shared~main-chunk-71732611e2286c6b6242.min.js:12:31092)
          at Suspense
      
      TypeError: Cannot read properties of null (reading 'metadata')
          at i (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:659216)
          at l (https://console.cluster.example.com/static/main-chunk-5b0172951a86c9df3b38.min.js:1:1098294)
          at s (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:431848)
          at t.a (https://console.cluster.example.com/static/dev-console/code-refs/topology-chunk-5f9290fe5da441d4c240.min.js:1:341340)
          at ra (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:58879)
          at Us (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:111315)
          at Su (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:98327)
          at wu (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:98255)
          at _u (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:98118)
          at hu (https://console.cluster.example.com/static/vendors~main-chunk-0bc83c8520f7b8c29035.min.js:117:95105)

      Version-Release number of selected component (if applicable):

      OpenShift Container Platform 4.16.28

      How reproducible:

      Only on customer side at the moment

      Steps to Reproduce:

      1. Log into the affected OpenShift Container Platform cluster
      2. In a certain OpenShift Container Platform project, in the Developer view, navigate to the "Topology" view{}

      Actual results:

      The following error is shown:

      TypeError: Cannot read properties of null (reading 'metadata') 

      Expected results:

      The topology view without any errors is shown

      Additional info:

      Will attach additional screenshots showing the error.

              jakumar jaivardhan Kumar
              rhn-support-skrenger Simon Krenger
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: