UI Error in Performance Tab - "Cannot read properties of undefined (reading 'replace')"

Hi everyone,

I’m encountering a UI error when I open the “Performance” tab in the OpenVAS web interface (Greenbone Security Assistant). The interface crashes and I receive the following error in the browser console:

TypeError: Cannot read properties of undefined (reading 'replace')

    at StartTimeSelection (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:768939)
    at div
    at http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:215674
    at http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:388040
    at Column (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:36:62614)
    at section
    at http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:36:24280
    at FoldToggleWrapper (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:36:22615)
    at div
    at http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:215674
    at http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:388040
    at Column (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:36:62614)
    at PerformancePage (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:773356)
    at ConnectFunction (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:553726)
    at http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:71855
    at RenderedRoute (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:42058)
    at Routes (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:45657)
    at ErrorBoundary$1 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:7583)
    at div
    at O2 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:36885)
    at main
    at O2 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:36885)
    at div
    at http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:20:14516
    at O2 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:36885)
    at Page$m (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:767500)
    at LocationObserver (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:72199)
    at ConnectFunction (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:553726)
    at http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:71855
    at Authorized (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:70400)
    at LoggedInRoutes
    at Router (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:44222)
    at BrowserRouter (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:57512)
    at AppRoutes (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:1473888)
    at LocaleObserver (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:11890)
    at Provider_default (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:559184)
    at ErrorBoundary$1 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:26:7583)
    at MantineThemeProvider (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:178273)
    at MantineProvider (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:192055)
    at ThemeProvider (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:612381)
    at App2 (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:1497410)
    at Ye (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:2:31179)
TypeError: Cannot read properties of undefined (reading 'replace')
    at StartTimeSelection (http://10.45.4.233:9392/assets/index-CU-VHQ9A.js:41:770085)
    at Nh (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:61202)
    at Vk (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:119917)
    at Uk (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:109220)
    at Tk (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:109151)
    at Ik (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:109020)
    at Nk (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:105890)
    at Gk (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:40:104451)
    at J (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:30:1389)
    at MessagePort.R (http://10.45.4.233:9392/assets/opensight-ui-BibHGzjq.js:30:1946)

@test_qweqwe this is browser issue. try newer browser like chrome or chromium on kali linux..

Eero

This issue will be fixed with

3 Likes

Juts for clarification. It’s not a browser issue. It’s a bug that gets fixed with the next GSA release.

3 Likes