Java.lang.ClassCastException Histogram of Kibana

Hello,

I have an error of the Histogram of Kibana 3.1.2 (elasticsearch 4.0)

the time field is integer ,

[2014-11-13 16:09:48,131][DEBUG][action.search.type ] [Bible John]
[logstash-ged-2014.11.13][1], node[cRfZFQ-TR7SxXbOvcQwCPQ], [R],
s[STARTED]: Failed to execute
[org.elasticsearch.action.search.SearchRequest@18949ad1]
org.elasticsearch.search.SearchParseException:
[logstash-ged-2014.11.13][1]: from[-1],size[-1]: Parse Failure [Failed to
parse source
[{"facets":{"0":{"date_histogram":{"key_field":"date","value_field":"time","interval":"1y"},"global":true,"facet_filter":{"fquery":{"query":{"filtered":{"query":{"query_string":{"query":"*"}},"filter":{"bool":{"must":[{"match_all":{}}]}}}}}}}},"size":0}]]
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:681)
at
org.elasticsearch.search.SearchService.createContext(SearchService.java:537)
at
org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:509)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:264)
at
org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
at
org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
at
org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassCastException:
org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be
cast to org.elasticsearch.index.fielddata.IndexNumericFieldData
at
org.elasticsearch.search.facet.datehistogram.DateHistogramFacetParser.parse(DateHistogramFacetParser.java:173)
at
org.elasticsearch.search.facet.FacetParseElement.parse(FacetParseElement.java:93)
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:665)
... 9 more

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/40716ecf-37a2-4c21-a744-06fc9aefeae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.