# java.lang.Float error

**URL:** <https://discuss.elastic.co/t/java-lang-float-error/146499>\
**Category:** Kibana\
**Created:** [August 29, 2018, 9:24am UTC](https://discuss.elastic.co/t/java-lang-float-error/146499 "2018-08-29T09:24:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Data\_Statistics](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_statistics/32/34755_2.png) [@Data\_Statistics](https://discuss.elastic.co/u/Data_Statistics)\
**Post date:** [August 29, 2018, 9:24am UTC](https://discuss.elastic.co/t/java-lang-float-error/146499/1 "2018-08-29T09:24:07Z")

</div>

Hi, after I update the elastic and kibana to 6.4 version, my dashboard start showing below error message only when I remove all filters set, any idea about this error?

Request to Elasticsearch failed: {"error":{"root\_cause":[],"type":"search\_phase\_execution\_exception","reason":"","phase":"fetch","grouped":true,"failed\_shards":[],"caused\_by":{"type":"class\_cast\_exception","reason":"java.lang.Float cannot be cast to java.lang.Long"}},"status":503}  
less  
Less Info  
OK  
Error: Request to Elasticsearch failed: {"error":{"root\_cause":[],"type":"search\_phase\_execution\_exception","reason":"","phase":"fetch","grouped":true,"failed\_shards":[],"caused\_by":{"type":"class\_cast\_exception","reason":"java.lang.Float cannot be cast to java.lang.Long"}},"status":503}  
KbnError@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:8341](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:8341)  
RequestFailure@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:8804](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:8804)  
[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:1094621](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:1094621)  
try@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:807107](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:807107)  
map@[native code]  
map@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:806434](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:806434)  
processQueue@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:199686](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:199686)  
[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:200659](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:200659)  
$digest@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:210411](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:210411)  
[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:212948](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:212948)  
completeOutstandingRequest@[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:64429](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:64429)  
[https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:67291](https://397faf78d06942179138550cfae82fd9.us-east-1.aws.found.io:9243/bundles/vendors.bundle.js:197:67291)

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [August 30, 2018, 7:37pm UTC](https://discuss.elastic.co/t/java-lang-float-error/146499/2 "2018-08-30T19:37:07Z")

</div>

Hi,

I am confused about which filters are you removing here. A screenshot would definitely help here 🙂 Can you please post one where you are seeing the error and one where you don't?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Data\_Statistics](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_statistics/32/34755_2.png) [@Data\_Statistics](https://discuss.elastic.co/u/Data_Statistics)\
**Post date:** [August 31, 2018, 5:09pm UTC](https://discuss.elastic.co/t/java-lang-float-error/146499/3 "2018-08-31T17:09:58Z")

</div>

Hi, thank you for your reply. Yesterday, after some memory stress in my instance, it restated automactlly and it seems this problem was fixed.

But I keep with other problem regarding kibana\_dashboard\_user\_only which, after update to 6.4 version) this type of users cannot see datas in a saved search anymore. In the previous version (6.3.2) they could see data normally.  
If I change such user to kibana\_user they can see the data on saved search views on dashboard.

I am struggling to solve this, someone have any clue?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [September 11, 2018, 7:56pm UTC](https://discuss.elastic.co/t/java-lang-float-error/146499/4 "2018-09-11T19:56:37Z")

</div>

Hi,

This is a bug on 6.4.0. It will be resolved in the next release.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 9, 2018, 8:11pm UTC](https://discuss.elastic.co/t/java-lang-float-error/146499/5 "2018-10-09T20:11:18Z")

</div>

Closed on October 9, 2018, 8:11pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
