2018-04-19 10:51:42,449 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException: index must not be null
	at java.util.Objects.requireNonNull(Unknown Source)
	at org.elasticsearch.action.search.SearchRequest.indices(SearchRequest.java:114)
	at org.elasticsearch.action.search.SearchRequestBuilder.setIndices(SearchRequestBuilder.java:56)
	at org.elasticsearch.client.support.AbstractClient.prepareSearch(AbstractClient.java:535)
	at com.zhiwei.manage.util.ESUtil.getCountByPt(ESUtil.java:138)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:88)
2018-04-19 10:51:56,692 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException: index must not be null
	at java.util.Objects.requireNonNull(Unknown Source)
	at org.elasticsearch.action.search.SearchRequest.indices(SearchRequest.java:114)
	at org.elasticsearch.action.search.SearchRequestBuilder.setIndices(SearchRequestBuilder.java:56)
	at org.elasticsearch.client.support.AbstractClient.prepareSearch(AbstractClient.java:535)
	at com.zhiwei.manage.util.ESUtil.getCountByPt(ESUtil.java:138)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:88)
2018-05-18 12:03:27,954 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:150)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
2018-05-18 12:04:01,225 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:150)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
2018-05-18 12:04:51,859 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:150)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
2018-05-18 12:05:20,555 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:154)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
2018-05-18 12:05:40,438 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:152)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
2018-05-18 12:05:54,767 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
UncategorizedExecutionException[Failed execution]; nested: IOException[can not write type [class java.util.GregorianCalendar]];
	at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:87)
	at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:46)
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:164)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
Caused by: java.io.IOException: can not write type [class java.util.GregorianCalendar]
	at org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:655)
	at org.elasticsearch.index.query.RangeQueryBuilder.doWriteTo(RangeQueryBuilder.java:129)
	at org.elasticsearch.index.query.AbstractQueryBuilder.writeTo(AbstractQueryBuilder.java:73)
	at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:857)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalNamedWriteable(StreamOutput.java:868)
	at org.elasticsearch.search.builder.SearchSourceBuilder.writeTo(SearchSourceBuilder.java:237)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalWriteable(StreamOutput.java:732)
	at org.elasticsearch.action.search.SearchRequest.writeTo(SearchRequest.java:337)
	at org.elasticsearch.transport.TcpTransport.buildMessage(TcpTransport.java:1179)
	at org.elasticsearch.transport.TcpTransport.sendRequestToChannel(TcpTransport.java:1031)
	at org.elasticsearch.transport.TcpTransport.access$1100(TcpTransport.java:113)
	at org.elasticsearch.transport.TcpTransport$NodeChannels.sendRequest(TcpTransport.java:435)
	at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:554)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:485)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:473)
	at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:51)
	at org.elasticsearch.client.transport.TransportProxyClient.lambda$execute$0(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
	at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:356)
	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
	... 2 more
2018-05-18 12:07:03,923 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
UncategorizedExecutionException[Failed execution]; nested: IOException[can not write type [class java.util.GregorianCalendar]];
	at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:87)
	at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:46)
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:165)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
Caused by: java.io.IOException: can not write type [class java.util.GregorianCalendar]
	at org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:655)
	at org.elasticsearch.index.query.RangeQueryBuilder.doWriteTo(RangeQueryBuilder.java:129)
	at org.elasticsearch.index.query.AbstractQueryBuilder.writeTo(AbstractQueryBuilder.java:73)
	at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:857)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalNamedWriteable(StreamOutput.java:868)
	at org.elasticsearch.search.builder.SearchSourceBuilder.writeTo(SearchSourceBuilder.java:237)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalWriteable(StreamOutput.java:732)
	at org.elasticsearch.action.search.SearchRequest.writeTo(SearchRequest.java:337)
	at org.elasticsearch.transport.TcpTransport.buildMessage(TcpTransport.java:1179)
	at org.elasticsearch.transport.TcpTransport.sendRequestToChannel(TcpTransport.java:1031)
	at org.elasticsearch.transport.TcpTransport.access$1100(TcpTransport.java:113)
	at org.elasticsearch.transport.TcpTransport$NodeChannels.sendRequest(TcpTransport.java:435)
	at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:554)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:485)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:473)
	at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:51)
	at org.elasticsearch.client.transport.TransportProxyClient.lambda$execute$0(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
	at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:356)
	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
	... 2 more
2018-05-18 12:08:16,688 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
UncategorizedExecutionException[Failed execution]; nested: IOException[can not write type [class java.util.GregorianCalendar]];
	at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:87)
	at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:46)
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:164)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
Caused by: java.io.IOException: can not write type [class java.util.GregorianCalendar]
	at org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:655)
	at org.elasticsearch.index.query.RangeQueryBuilder.doWriteTo(RangeQueryBuilder.java:129)
	at org.elasticsearch.index.query.AbstractQueryBuilder.writeTo(AbstractQueryBuilder.java:73)
	at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:857)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalNamedWriteable(StreamOutput.java:868)
	at org.elasticsearch.search.builder.SearchSourceBuilder.writeTo(SearchSourceBuilder.java:237)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalWriteable(StreamOutput.java:732)
	at org.elasticsearch.action.search.SearchRequest.writeTo(SearchRequest.java:337)
	at org.elasticsearch.transport.TcpTransport.buildMessage(TcpTransport.java:1179)
	at org.elasticsearch.transport.TcpTransport.sendRequestToChannel(TcpTransport.java:1031)
	at org.elasticsearch.transport.TcpTransport.access$1100(TcpTransport.java:113)
	at org.elasticsearch.transport.TcpTransport$NodeChannels.sendRequest(TcpTransport.java:435)
	at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:554)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:485)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:473)
	at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:51)
	at org.elasticsearch.client.transport.TransportProxyClient.lambda$execute$0(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
	at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:356)
	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
	... 2 more
2018-05-18 12:09:45,001 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
UncategorizedExecutionException[Failed execution]; nested: IOException[can not write type [class java.util.GregorianCalendar]];
	at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:87)
	at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:46)
	at com.zhiwei.manage.util.ESUtil.getDatasMap(ESUtil.java:164)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:122)
Caused by: java.io.IOException: can not write type [class java.util.GregorianCalendar]
	at org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:655)
	at org.elasticsearch.index.query.RangeQueryBuilder.doWriteTo(RangeQueryBuilder.java:129)
	at org.elasticsearch.index.query.AbstractQueryBuilder.writeTo(AbstractQueryBuilder.java:73)
	at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:857)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalNamedWriteable(StreamOutput.java:868)
	at org.elasticsearch.search.builder.SearchSourceBuilder.writeTo(SearchSourceBuilder.java:237)
	at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalWriteable(StreamOutput.java:732)
	at org.elasticsearch.action.search.SearchRequest.writeTo(SearchRequest.java:337)
	at org.elasticsearch.transport.TcpTransport.buildMessage(TcpTransport.java:1179)
	at org.elasticsearch.transport.TcpTransport.sendRequestToChannel(TcpTransport.java:1031)
	at org.elasticsearch.transport.TcpTransport.access$1100(TcpTransport.java:113)
	at org.elasticsearch.transport.TcpTransport$NodeChannels.sendRequest(TcpTransport.java:435)
	at org.elasticsearch.transport.TransportService.sendRequestInternal(TransportService.java:554)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:485)
	at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:473)
	at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:51)
	at org.elasticsearch.client.transport.TransportProxyClient.lambda$execute$0(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
	at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
	at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:356)
	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:403)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
	... 2 more
