Kibana: TSVB - Uncaught Invariant Violation when annotations are enabled + moused over

Created on 14 Jan 2018  Â·  7Comments  Â·  Source: elastic/kibana

Kibana version: 6.1.1

Elasticsearch version: 6.1.1

Server OS version: Elastic Cloud

Browser version: Chrome Version 63.0.3239.132 (Official Build) (64-bit)

Browser OS version: macOS 10.13.2 (17C88)

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

Description of the problem including expected versus actual behaviour:

Steps to reproduce:

  1. Build a TSVB line graph
  2. Add annotations
  3. Mouse over the annotation

Errors in browser console (if relevant):

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

Uncaught Invariant Violation: Minified React error #31; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=31&args[]=Error%3A%20%22event_type%22%20not%20defined%20in%20%5Bobject%20Object%5D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. (https://CLOUDCLUSTER/bundles/kibana.bundle.js?v=16350:6)
Version: 6.1.1
Build: 16350
Error: Uncaught Invariant Violation: Minified React error #31; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=31&args[]=Error%3A%20%22event_type%22%20not%20defined%20in%20%5Bobject%20Object%5D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. (https://CLOUDCLUSTER/bundles/kibana.bundle.js?v=16350:6)
    at window.onerror (https://CLOUDCLUSTER/bundles/commons.bundle.js?v=16350:45:8729)
TSVB KibanaApp bug

All 7 comments

Suffering from this as well, if there is anything I can provide to help, let me know. I am running Kibana 6.2.2

I have this problem as well.

Hm. After some more testing it seems to have something to do with fields containing dots. If I try to make annotations from stuff that dont have dots it works fine.

I double checked, none of the fields I have have dots.

On Fri, 6 Jul 2018 at 05:00, Peter Ankerstål notifications@github.com
wrote:

Hm. After some more testing it seems to have something to do with fields
containing dots. If I try to make annotations from stuff that dont have
dots it works fine.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/elastic/kibana/issues/16039#issuecomment-402821058,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCYTgnOiLdQTrT9KuDp0AHT79ePAc0Yks5uDmIvgaJpZM4Rdf8e
.

I have the same problem.

Inside of Row Template, this will cause the page to crash when I hover over an annotation:

Text: {{text}}

If I do this it does not crash and displays them as excepted.

Text: {{doc.text}}

doc is the container of the metric values

I've seen cases where it also crashes when the field contains a "." such as:

Client: {{client.keyword}}

image

But it works fine for fields without the "." in it

Looks like this issue were fixed here #27780

Was this page helpful?
0 / 5 - 0 ratings