Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in Github/AWS/GCP modules #4095

Closed
Rebits opened this issue Apr 22, 2022 · 3 comments
Closed

TypeError in Github/AWS/GCP modules #4095

Rebits opened this issue Apr 22, 2022 · 3 comments
Assignees
Labels
qa/report QA Team: Reporting possible bug type/bug Bug issue

Comments

@Rebits
Copy link
Member

Rebits commented Apr 22, 2022

Wazuh Elastic Rev Security
4.3 7.x 4301-1 Basic, ODFE, Xpack
Browser
Firefox

Description

Navigating through the Github/Amazon AWS/Google modules produces different unexpected TypeError in the console:

  • _opensearchDashboardsMap is null
Uncaught (in promise) TypeError: this._opensearchDashboardsMap is null
  • bounds is null
Uncaught TypeError: bounds is null
    scaleBounds https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    CoordinateMapsVisualization https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _callee3$ https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    tryCatch https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    invoke https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    defineIteratorMethods https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _next https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _asyncToGenerator https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _asyncToGenerator https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _updateData https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _callee$ https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    tryCatch https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    invoke https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    defineIteratorMethods https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    base_maps_visualization_asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    _next https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    promise callback*base_maps_visualization_asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    _next https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    promise callback*base_maps_visualization_asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    _next https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    base_maps_visualization_asyncToGenerator https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    base_maps_visualization_asyncToGenerator https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    render https://192.168.56.2/1/bundles/plugin/mapsLegacy/mapsLegacy.plugin.js:1
    _callee$ https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    tryCatch https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    invoke https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    defineIteratorMethods https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _next https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _asyncToGenerator https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _asyncToGenerator https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    render https://192.168.56.2/1/bundles/plugin/tileMap/tileMap.plugin.js:7
    _callee$ https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    tryCatch https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    invoke https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    defineIteratorMethods https://192.168.56.2/1/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1
    visualization_chart_asyncGeneratorStep https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    _next https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    visualization_chart_asyncToGenerator https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    visualization_chart_asyncToGenerator https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    VisualizationChart/success$</< https://192.168.56.2/1/bundles/plugin/visualizations/visualizations.plugin.js:6
    _next https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:480
    next https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:21
    debouncedNext https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:480
    oe https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:480
    _execute https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:340
    execute https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:340
    flush https://192.168.56.2/1/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:340

Steps to reproduce

  • Configure and generate some GCP events
  • Go to Modules > Google Clouds Platform > Events
  • Wait 10 minutes
  • Go to Modules Directory
  • Go again to Modules > Google Clouds Platform > Events
  • TypeError should appear in the console
@gdiazlo
Copy link
Member

gdiazlo commented Apr 25, 2022

We're unable to reproduce it. @Rebits what do you mean by "without any events generated" exactly? can you help us reproduce it in the demo environment?

@Rebits
Copy link
Member Author

Rebits commented May 18, 2022

@gdiazlo We have replicated this issue in a local environment in wazuh/wazuh-qa#2910
Also, the description of the issue has been improved.

For any questions about the error or how to replicate it, do not hesitate to ask.

@AlexRuiz7 AlexRuiz7 moved this to Todo in Release 4.3.4 May 18, 2022
@gdiazlo gdiazlo removed their assignment May 19, 2022
@Desvelao Desvelao self-assigned this May 26, 2022
@Desvelao Desvelao moved this from Todo to In Progress in Release 4.3.4 May 26, 2022
@Desvelao
Copy link
Member

Research

I could not reproduce the next error:

Uncaught (in promise) TypeError: this._opensearchDashboardsMap is null

The problem related to error:

bound is null

was solved in #3942. Comment about this
#3919 (comment).

I will close this issue. Don't hesitate to reopen the issue if this is happening and give the steps to reproduce the error and the configurations.

@Desvelao Desvelao closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
Repository owner moved this from Known issues to Done in Release 4.3.0 May 26, 2022
Repository owner moved this from In Progress to Done in Release 4.3.4 May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa/report QA Team: Reporting possible bug type/bug Bug issue
Projects
No open projects
Status: Done
Status: Done
Development

No branches or pull requests

3 participants