# TransportSerializationException

**URL:** <https://discuss.elastic.co/t/transportserializationexception/14089>\
**Category:** Elasticsearch\
**Created:** [October 24, 2013, 10:21am UTC](https://discuss.elastic.co/t/transportserializationexception/14089 "2013-10-24T10:21:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Kley](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@Alexander\_Kley](https://discuss.elastic.co/u/Alexander_Kley)\
**Post date:** [October 24, 2013, 10:21am UTC](https://discuss.elastic.co/t/transportserializationexception/14089/1 "2013-10-24T10:21:38Z")

</div>

Hi guys,

i have some trouble with exception deserialization form server. During  
index delete request, exception is occured. But  
through TransportSerializationException i can't find out the initial  
exception, thrown by the server.

My request:  
final DeleteIndexResponse response =  
this.esClient.admin().indices().prepareDelete(index).execute().actionGet();

Stack:  
org.elasticsearch.transport.TransportSerializationException: Failed to  
deserialize exception response from stream  
java.io.InvalidClassException: failed to read class descriptor  
java.lang.ClassNotFoundException:  
org.elasticsearch.transport.RemoteTransportException  
null

AND: I can't finde any exceptions in server.log!

Whats wrong?

Best regards  
Alex

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Alexander\_Kley](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@Alexander\_Kley](https://discuss.elastic.co/u/Alexander_Kley)\
**Post date:** [October 24, 2013, 11:46am UTC](https://discuss.elastic.co/t/transportserializationexception/14089/2 "2013-10-24T11:46:52Z")

</div>

I forgot to mention that I am in OSGI context. Without OSGI the delete  
request works fine.

Am Donnerstag, 24. Oktober 2013 12:21:38 UTC+2 schrieb Alex:

> Hi guys,
> 
> i have some trouble with exception deserialization form server. During  
> index delete request, exception is occured. But  
> through TransportSerializationException i can't find out the initial  
> exception, thrown by the server.
> 
> My request:  
> final DeleteIndexResponse response =  
> this.esClient.admin().indices().prepareDelete(index).execute().actionGet();
> 
> Stack:  
> org.elasticsearch.transport.TransportSerializationException: Failed to  
> deserialize exception response from stream  
> java.io.InvalidClassException: failed to read class descriptor  
> java.lang.ClassNotFoundException:  
> org.elasticsearch.transport.RemoteTransportException  
> null
> 
> AND: I can't finde any exceptions in server.log!
> 
> Whats wrong?
> 
> Best regards  
> Alex

--  
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).  
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, 2:10am UTC](https://discuss.elastic.co/t/transportserializationexception/14089/3 "2017-07-06T02:10:50Z")

</div>


