MarquezProject / marquez-web

Marquez Web UI
23 stars 6 forks source link

Web UI blank if a job is created but doesn't have a run yet #90

Closed jharris126 closed 4 years ago

jharris126 commented 4 years ago

If a job is but does not have any associated job runs yet, the entire UI goes blank. I believe this is only happening since #77 was merged, but I can't guarantee it because my code has changed some since then as well.

frankcash commented 4 years ago

I too am getting this error

rollbar.min.js:2 TypeError: Cannot read property 'runState' of null
    at SVGCircleElement.<anonymous> (NetworkGraph.tsx:164)
    at SVGCircleElement.<anonymous> (attr.js:29)
    at de.each (each.js:5)
    at de.attr (attr.js:53)
    at k (NetworkGraph.tsx:219)
    at t.shouldComponentUpdate (NetworkGraph.tsx:270)
    at _a (react-dom.production.min.js:133)
    at Di (react-dom.production.min.js:175)
    at ec (react-dom.production.min.js:259)
    at xc (react-dom.production.min.js:228)
    at gc (react-dom.production.min.js:227)
    at uc (react-dom.production.min.js:220)
    at react-dom.production.min.js:120
    at t.unstable_runWithPriority (scheduler.production.min.js:18)
    at Ho (react-dom.production.min.js:119)
    at Go (react-dom.production.min.js:120)
    at qo (react-dom.production.min.js:119)
    at nc (react-dom.production.min.js:211)
    at Object.enqueueSetState (react-dom.production.min.js:132)
    at t._.setState (react.production.min.js:13)
    at Provider.js:53
    at m (redux.js:220)
    at middleware.js:22
    at redux-saga-core.esm.js:1414
    at dispatch (redux.js:636)
    at io-427945dd.js:133
    at redux-saga-core.esm.js:472
    at p (redux-saga-core.esm.js:31)
    at g (redux-saga-core.esm.js:87)
    at h (redux-saga-core.esm.js:46)
    at I.<computed> (redux-saga-core.esm.js:468)
    at redux-saga-core.esm.js:1203
    at v (redux-saga-core.esm.js:1271)
    at h (redux-saga-core.esm.js:1161)
    at c (redux-saga-core.esm.js:1251)
    at n (io-427945dd.js:165)
    at c (redux-saga-core.esm.js:1251)