# Unit test failing after upgrading to ES 1.0.0

**URL:** <https://discuss.elastic.co/t/unit-test-failing-after-upgrading-to-es-1-0-0/15849>\
**Category:** Elasticsearch\
**Created:** [February 17, 2014, 3:02pm UTC](https://discuss.elastic.co/t/unit-test-failing-after-upgrading-to-es-1-0-0/15849 "2014-02-17T15:02:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@Will](https://discuss.elastic.co/u/Will)\
**Post date:** [February 17, 2014, 3:02pm UTC](https://discuss.elastic.co/t/unit-test-failing-after-upgrading-to-es-1-0-0/15849/1 "2014-02-17T15:02:36Z")

</div>

I have trouble with TransportSerializationException that occurs within our  
maven junit test case.

All the servers and clients have been recently upgraded to ES 1.0.0 and has  
identical version of JAVA 7.

The unit test cases worked with out any problem before and it still works  
in our Eclipse IDE environment.  
It simply fails during our maven build test stage.

Here is our log.

[Log4jESLogger] - [Choice] loaded [], sites []  
[Log4jESLogger] - [Choice] failed to get node info for  
[#transport#-1][test][inet[/127.0.0.1:9300]], disconnecting...  
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize  
response of type  
[org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse]  
Caused by: org.elasticsearch.transport.TransportSerializationException:  
Failed to deserialize response of type  
[org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse]  
at  
org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:148)  
at  
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125)  
at  
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)  
at  
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)  
at  
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)  
at  
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)  
at  
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)  
at  
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)  
at  
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
at  
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)  
at  
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
at  
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)  
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:744)  
Caused by: java.lang.AssertionError  
at  
org.elasticsearch.common.io.stream.StreamInput.readVLong(StreamInput.java:220)  
at  
org.elasticsearch.common.io.stream.AdapterStreamInput.readVLong(AdapterStreamInput.java:117)  
at  
org.elasticsearch.common.unit.SizeValue.readFrom(SizeValue.java:205)  
at  
org.elasticsearch.common.unit.SizeValue.readSizeValue(SizeValue.java:199)  
at  
org.elasticsearch.threadpool.ThreadPool$Info.readFrom(ThreadPool.java:604)  
at  
org.elasticsearch.threadpool.ThreadPoolInfo.readFrom(ThreadPoolInfo.java:65)  
at  
org.elasticsearch.threadpool.ThreadPoolInfo.readThreadPoolInfo(ThreadPoolInfo.java:55)  
at  
org.elasticsearch.action.admin.cluster.node.info.NodeInfo.readFrom(NodeInfo.java:224)  
at  
org.elasticsearch.action.admin.cluster.node.info.NodeInfo.readNodeInfo(NodeInfo.java:194)  
at  
org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse.readFrom(NodesInfoResponse.java:54)  
at  
org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:146)  
... 23 more

This might be related to...  
[http://elasticsearch-users.115913.n3.nabble.com/Issue-with-unit-testing-TransportClient-td4049573.html](http://elasticsearch-users.115913.n3.nabble.com/Issue-with-unit-testing-TransportClient-td4049573.html)

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0e942269-8e82-42f8-ad5b-482386c1be48%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0e942269-8e82-42f8-ad5b-482386c1be48%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:49am UTC](https://discuss.elastic.co/t/unit-test-failing-after-upgrading-to-es-1-0-0/15849/2 "2017-07-06T01:49:38Z")

</div>

Closed on July 6, 2017, 1:49am UTC


