-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fatal Error Cannot read property 'byName' of undefined #1561
Comments
I am getting the same error when I try to save a visualization |
Same here. Created two visualisations, and added them to a dashboard. Then started on a third visualisation, got this error and now I can't access any of the views. |
I'm getting this too sometimes. It gets fixed if I remove the index pattern and add it back again. |
Yep, that fixed it. Had to go through Settings -> Indices, select the index pattern again and a suitable timestamp field, then save it. Update.....it's down again. Was working, didn't make any changes and it just stopped Again, readding the index pattern fixes it. |
I'm getting the same issue here. Readding the index fixes it. F5 breaks it. |
Definitely a bug, we believe it to be a race condition and are trying to track it down. I've seen this also but have been unable to replicate it. As mentioned above, deleting the index pattern and recreating it seems to solve the problem for awhile. |
I've recreated this on two completely separate installations with different datasets. For reference, I'm using Chrome 37.0.2062.124. |
Latest. Downloaded clean copies of Elasticsearch 1.4, Kibana 4 and Logstash 1.4.2 Created dummy /tmp/data.log file with various records in this format :
Create logstash config
Start logstash to load dummy data Now in Kibana 4, create the new index pattern using @timestamp as the "time field name" Now hitting F5 will give the "byName" error. Logs in console show this
Tried this a couple of times with same results so seems to be recreatable on my system at least. Let me know if you need any more info |
Tried to delete almost everything on my Kibana 4, recreate a simple query, and a pie representation of it, two aggregations, so nice two level pie, and the bugs comes back. It seems to appear while saving but I think it's wrong, it's when opening the visualisation, but as saving it seems to kind of reopen it, the bugs appear. Because when I open the visualisation from saved items, I got the message too. @rashidkpc: Tell me if we can help more than copy/pasting the message, as I'm not a ruby / java runtime pro, I do not have an idea, but if I can help by dumping something, just tell us :) |
as suggested: dropping the index pattern gets rid of the error message (for a while) but trying to save a new simple visualization (with for instance just a date histogram) throws the same error message again. |
I was getting this very consistently, deleting the visualization pattern was not helping. The pattern would save, however on refresh the errors would come up. And on any attempt to load the visualization (closing browser, using new browser...even different computer) the load would fail. I deleted the index kibana was saving to and that was helpful (we have been using kibana-4-int and running parallel instances of kibana as we test out the beta). On the new 'clean' kibana-4-int index I created 2 saved searches and 2 visualizations without a problem. However, when trying to load the first visualization I get the error - every time. Loading the second one seems to work just fine - every time. I can also reliably add the second to a dashboard, but not the first. If there would be any helpful logs or error messages that we can share - please let me know. |
Getting the same issue here. Clean install, brand new index with only 3 documents. Etc.. |
Getting the same issue. |
From what I have noticed...there seems to be a heavy amount of lag when clicking the save button on a visualization that errors out (I get this error: aggConfig.vis.indexPattern.fields is undefined). When the save button is nice and responsive the save works fine and the visualization can be viewed later and added to a dashboard. When it lags it's as if it is predicting that it will fail (save is sucessful but seemingly not complete). |
Was able to reproduce with the DateHistorgram then Term sub agg -> Dashboard -> F5 (Refresh). |
Just to confirm, Is this bug expected to be fixed on the November 7th 2014 release? |
This bug is already fixed in the Beta 1.1 release - at least it was fixed for me |
I am running BETA 1.1 and I still see the issue.. |
@lramosar can you provide any details about how you're getting that error? Steps to reproduce would be fantastic, but any insight would be helpful. |
I still see it Version 4.0.0-rc1; Build 5827 Request:
|
i am using kibana latest version 4.0 .I am getting below error . |
I am also getting above error "Fatal Error Cannot read property 'byName' of undefined" .Actually Earlied I never faced this issue when I had number of visualisation <100 but now I am having number of visualisation >100 and when I import json file containing dashboard and visulisation it shows above error.But when I import it again , I am able to see dashboard without any error. Can you please suggest some points . My ELK configuartion is Elastic search 2.2.1 and logstash 2.2.1 and kibana 4.4.2 |
@luckycse this error message is unfortunately pretty vague, and can be caused by a number of things, but I'm guessing in your case it's caused by visualizations that were saved with custom visualization type (maybe ones from timelion?) that are not available in the new installation you are importing them into. |
@spalger Error in detail : |
This is happening in
|
@chiefy did you encounter this error after importing some visualizations/dashboards? If so, are there any objects those visualizations might rely on, like index patterns or specific fields, that don't exist in your new installation? Or perhaps you have custom visualizations from a plugin that's no longer installed (e.g. timelion) as @spalger mentioned above? |
@Bargs no, this was after I created a brand new dashboard from visualizations I also created within the same hour. |
@chiefy ah interesting. When exactly did the error appear? Right after saving the dashboard? Do you have concrete steps to reproduce? |
@Bargs it's hard to describe what's going on - so naturally I made a gif. Things work fine sometimes, but it seems like when I am on the dashboard page, and I refresh the page, it always barfs. |
Thanks for the extra info @chiefy. I'm gonna re-open this. Do all three of those visualizations on your dashboard target the same index pattern? Is it the default index pattern? |
I am still facing the issue. While Importing it gives the issue but after refreshing things work fine and I am able to see my dashboard. |
@Bargs as it turns out my issue was caused by the fact that our index had something in the neighborhood of 14k fields. The |
closing as @chiefy identified the underlying issue, and it's unrelated to this one. |
Having the same error in Kibana 4.6.1 "TypeError: Cannot read property 'byName' of undefined at FieldAggParamFactory.FieldAggParam.deserialize" |
Hi, just got thins on kibana 4 beta 1, hop it helps, tell me if you want more:
The text was updated successfully, but these errors were encountered: