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

Uncaught IndexSizeError: Failed to execute ‘getImageData’ on ‘CanvasRenderingContext2D’: The source width is 0. #20400

Closed
RahulChowdaryN opened this issue Jul 3, 2018 · 5 comments
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@RahulChowdaryN
Copy link

Kibana version: 6.2.3

Elasticsearch version: 6.2.3

Server OS version: Windows Server 2016

Browser version: Chrome 67

Browser OS version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Original install method (e.g. download page, yum, from source, etc.): download page

Describe the bug: I've built kibana dashboards and shared the url in my web application. When I try to maximize the dashboard in my webapp the error comes up.

Steps to reproduce:

  1. Build the kibana dashboards
  2. Embedd the Iframe URL in any web application(I used Python-Django)
    3.Once you embed. try maximising the any single visualization

Expected behavior: It should maximise

Screenshots (if relevant): Image Link

Errors in browser console (if relevant):

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

Any additional context:

@jbudz jbudz added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) triage_needed labels Jul 5, 2018
@timroes
Copy link
Contributor

timroes commented Jul 12, 2018

Hi,

could you pelase provide some additional information:

  • What type of visualizations are on that dashboard?
  • Is this error happening when maximizing any visualization or just specific ones?
  • Can you share a screenshot of your dashboard in the unmaximized state?
  • When this error happens, could you open the browsers dev tools (F12) and check if there is a longer error description on there (especially with a huger stack trace?) If so could you please copy/screenshot this?

Cheers,
Tim

@RahulChowdaryN
Copy link
Author

Hello Tim,
That's happening only with particular dashboard. other dashboards are working fine.
In that specific dashboard whenever I try to maximize a visualization, it is causing the error. same with all the visualizations in that particular dashboard.
DASHBOARD:

image
CONSOLE:

image

Best
Rahul

@pranshu1995
Copy link

Hi,
I am facing similar issue in my dashboards.
Error in Console : Error: Uncaught IndexSizeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.
Kibana version : 6.2.2
Error Screenshot :

webp net-resizeimage

I am displaying the Kibana dashboards in my Web application in Tabs containing the dashboard Iframes.
The issue arises when Tab view is switched. Also the error occurs in the dashboards containing Tilemap visualisation.

Please help out.
Thanks

@timroes
Copy link
Contributor

timroes commented Jul 30, 2018

I will close this as a duplicate of #20423. I know that this issue here is actually older, but there has been more discussion right now in the other issue, so I would refer to this issue for further discussions.

@thomasneirynck
Copy link
Contributor

I agree that these issues seem related, but note that the error message is slightly different. I can confirm they both arise from the Leaflet-heatmap plugin though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

5 participants