neulab / explainaboard_web

MIT License
8 stars 2 forks source link

Pair-wise analysis error after single anaysis #532

Closed PaulCCCCCCH closed 1 year ago

PaulCCCCCCH commented 1 year ago

We may get the following error when performing pair-wise analysis.

image

The browser console gives the following

Error: TypeError: Cannot read properties of null (reading 'getAttribute')
    at Object.I (model.js:695:14)
    at Module.hn (echarts.js:2366:20)
    at t.getEchartsInstance (core.tsx:91:25)
    at ComboAnalysisChart.tsx:29:35
    at Bl (react-dom.production.min.js:262:359)
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Ka (react-dom.production.min.js:122:325)
    at Dl (react-dom.production.min.js:261:308)
    at bl (react-dom.production.min.js:243:50)
    at react-dom.production.min.js:123:115 Object

To reproduce:

  1. Submit two systems (call them s1 and s2) with the same dataset
  2. Go to systems page, check s1 and perform single analysis.
  3. Close the analysis drawer.
  4. Go to systems page, check s1 and s2, and perform pair-wise analysis.

The error won't show up if: