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

Navigating from an unsaved logstash pipeline causes a Kibana fatal uncaught error #19608

Closed
liza-mae opened this issue May 31, 2018 · 2 comments · Fixed by #19649
Closed

Navigating from an unsaved logstash pipeline causes a Kibana fatal uncaught error #19608

liza-mae opened this issue May 31, 2018 · 2 comments · Fixed by #19649
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Logstash Pipelines Logstash Pipeline UI related release_note:fix Team:Logstash v6.3.0

Comments

@liza-mae
Copy link
Contributor

Kibana version: 6.3.0 BC7
Elasticsearch version: 6.3.0 BC7

Server OS version: Ubuntu tar

Browser version: Firefox / Chrome Latest

Browser OS version: OSX

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

Description of the problem including expected versus actual behavior:

When you are editing a logstash pipeline and decide to navigate from the page without saving, I am getting a fatal error. I see 1000+ repeating messages in the console. This is not happening in 6.2.4 and I was not able to reproduce it in 6.3.0 BC6. In the working cases: a prompt comes up asking to either discard changes or cancel.

From pipeline

TypeError: Cannot read property '$invalid' of undefined
at PipelineEditController.get (kibana.bundle.js:7)
at fn (eval at compile (vendors.bundle.js:133), :4:269)
at Scope.$digest (vendors.bundle.js:133)
at vendors.bundle.js:133
at completeOutstandingRequest (vendors.bundle.js:133)
at vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
$digest @ vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
completeOutstandingRequest @ vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
setTimeout (async)
Browser.self.defer @ vendors.bundle.js:133
$evalAsync @ vendors.bundle.js:133
hideTooltipBind @ commons.bundle.js:3
dispatch @ vendors.bundle.js:128
elemData.handle @ vendors.bundle.js:128
commons.bundle.js:3 Error: Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.6.9/$rootScope/infdig?p0=10&p1=%5B%5D (https://localhost:5607/bundles/vendors.bundle.js:133)
at window.onerror (commons.bundle.js:3)
fatalError @ commons.bundle.js:3
window.onerror @ commons.bundle.js:3
error (async)
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
(anonymous) @ commons.bundle.js:3
webpack_require @ vendors.bundle.js:3
5127 @ kibana.bundle.js:3
webpack_require @ vendors.bundle.js:3
window.webpackJsonp @ vendors.bundle.js:3
(anonymous) @ kibana.bundle.js:3
vendors.bundle.js:133 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.6.9/$rootScope/infdig?p0=10&p1=%5B%5D
at vendors.bundle.js:133
at Scope.$digest (vendors.bundle.js:133)
at vendors.bundle.js:133
at completeOutstandingRequest (vendors.bundle.js:133)
at vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
$digest @ vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
completeOutstandingRequest @ vendors.bundle.js:133
(anonymous) @ vendors.bundle.js:133
setTimeout (async)
Browser.self.defer @ vendors.bundle.js:133
$evalAsync @ vendors.bundle.js:133
hideTooltipBind @ commons.bundle.js:3
dispatch @ vendors.bundle.js:128
elemData.handle @ vendors.bundle.js:128
Steps to reproduce:

Install Elasticsearch, Kibana
From logstash pipeline
Create a new pipeline
Fill out info and then navigate to Discover, the fatal error occurs. It also occurs if you edit an existing pipeline, don't save and navigate out. It is expected behavior to get a prompt to either discard changes or cancel the navigation.

screenshot at may 31 11-51-35

@liza-mae liza-mae added bug Fixes for quality problems that affect the customer experience blocker Feature:Logstash Pipelines Logstash Pipeline UI related v6.3.0 Team:Logstash labels May 31, 2018
@liza-mae
Copy link
Contributor Author

Looks like we might workaround this by disabling the prompt for 6.3.0 and narrow down a root cause and fix will be referenced here #19594.

@justinkambic
Copy link
Contributor

As a note to the process of reproducing this issue - it wasn't happening for me until I had created an index with some data and created an index pattern. After I had done that, I navigated from Discover to Pipeline Management and was able to reproduce the issue as described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Logstash Pipelines Logstash Pipeline UI related release_note:fix Team:Logstash v6.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants