elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.61k stars 8.22k forks source link

[Watcher] Error when trying to access execution results #198951

Open caiocfer opened 2 days ago

caiocfer commented 2 days ago

Kibana version: 8.15.0

Elasticsearch version: 8.15.0

Browser version: Chrome

Describe the bug: When clicking on any item of the execution history, the panel opens for a brief moment than it redirects to "Unable to load page" page.

Steps to reproduce:

  1. Navigate to Stack Management -> Watcher
  2. Click on any of you watcher
  3. Click on any item of your Execution History
  4. "Unable to load page" page will appear instead of the detail page

Expected behavior: Watcher execution results panel should appear

Screenshots (if relevant): Image Image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

kbujold commented 2 days ago

Clicking on show details in the kibana debug env shows this error

Error: Objects are not valid as a React child (found: 1730817003933). If you meant to render a collection of children, use an array instead.
    at mapIntoArray (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:381335:17)
    at mapIntoArray (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:381302:23)
    at mapChildren (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:381364:3)
    at Object.toArray (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:381414:10)
    at formatMessage (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:210971:63)
    at FormattedMessage (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:211126:17)
    at renderWithHooks (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:357424:18)
    at updateFunctionComponent (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:359795:20)
    at beginWork (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361502:16)
    at HTMLUnknownElement.callCallback (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:346384:14)

The above error occurred in FormattedMessage:
    at FormattedMessage (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:211122:72)
    at h3
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:149859:73
    at EuiTitle (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133475:24)
    at div
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:149859:73
    at EuiFlyoutHeader (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:85517:23)
    at div
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:149859:73
    at div
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:372356:59
    at FocusLockUI (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:368935:71)
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:369831:60
    at EuiFocusTrapClass (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:85907:81)
    at EuiFocusTrap (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:85901:126)
    at EuiPortalClass (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:114968:81)
    at EuiPortal (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:114962:125)
    at EuiOverlayMask (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:110383:24)
    at EuiFlyoutWrapper (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:85148:24)
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84929:24
    at div
    at ExecutionHistoryPanel (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:13266:63)
    at WatchStatusPage (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:13639:10)
    at Route (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:377008:29)
    at Route (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2533:3)
    at Switch (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:377210:29)
    at Routes (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2665:3)
    at AppWithoutRouter
    at AppContextProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:5062:3)
    at http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:4955:3
    at C (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:377265:37)
    at RenderedRoute (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375175:5)
    at Routes (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375736:5)
    at Router (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375674:15)
    at CompatRouter (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:373701:5)
    at Router (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:376627:30)
    at Router (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2622:3)
    at App (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:4967:80)
    at Provider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:2793:15)
    at ErrorBoundaryInternal (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:45380:5)
    at KibanaErrorBoundary (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:45438:110)
    at KibanaErrorBoundaryProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:45203:3)
    at EuiContext (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:62942:24)
    at IntlProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:211230:47)
    at I18nProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:40828:3)
    at I18nContext (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/core/core.entry.js:19676:9)
    at CurrentEuiBreakpointProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:140287:23)
    at EuiComponentDefaultsProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:115477:36)
    at ThemeProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:149922:63)
    at EuiEmotionThemeProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:145284:23)
    at EuiThemeMemoizedStylesProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:145721:23)
    at EuiThemeProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:145545:22)
    at EuiCacheProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:115398:20)
    at EuiProviderNestedCheck (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:115630:23)
    at EuiProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:115688:25)
    at KibanaEuiProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2329:10)
    at KibanaRootContextProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2437:3)
    at KibanaRenderContextProvider (http://localhost:5601/dwo/XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/watcher.chunk.0.js:2241:3)