# Problem upgrading elasticsearch 0.16.2 to elasticsearch 0.18.7

**URL:** <https://discuss.elastic.co/t/problem-upgrading-elasticsearch-0-16-2-to-elasticsearch-0-18-7/6730>\
**Category:** Elasticsearch\
**Created:** [February 16, 2012, 11:32am UTC](https://discuss.elastic.co/t/problem-upgrading-elasticsearch-0-16-2-to-elasticsearch-0-18-7/6730 "2012-02-16T11:32:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_4](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Sam\_4](https://discuss.elastic.co/u/Sam_4)\
**Post date:** [February 16, 2012, 11:32am UTC](https://discuss.elastic.co/t/problem-upgrading-elasticsearch-0-16-2-to-elasticsearch-0-18-7/6730/1 "2012-02-16T11:32:23Z")

</div>

Hi

I try to switch elastic search 0.16.2 to stable version 0.18.7,but i facing  
problem on creating index with rabbitmq river,all code are  
working smoothly in version 0.16.2,but in 0.18.7 i got the following  
exception:

java.lang.IllegalArgumentException: This AttributeSource contains  
AttributeImpl of type  
org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not  
in the target  
I not able to resolve this exception,please help me where the problem also  
i have included server log file.

Thanks

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 16, 2012, 5:33pm UTC](https://discuss.elastic.co/t/problem-upgrading-elasticsearch-0-16-2-to-elasticsearch-0-18-7/6730/2 "2012-02-16T17:33:06Z")

</div>

Are you running embedded in your java app? Did you make sure to use the correct Lucene version (and make sure you don't have multiple versions in the class path).

On Thursday, February 16, 2012 at 1:32 PM, sameek mishra wrote:

> Hi
> 
> I try to switch Elasticsearch 0.16.2 to stable version 0.18.7,but i facing problem on creating index with rabbitmq river,all code are working smoothly in version 0.16.2,but in 0.18.7 i got the following exception:
> 
> java.lang.IllegalArgumentException: This AttributeSource contains AttributeImpl of type org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not in the target
> 
> I not able to resolve this exception,please help me where the problem also i have included server log file.
> 
> Thanks
> 
> Attachments:
> 
> - elasticsearch.log

---

<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, 3:39am UTC](https://discuss.elastic.co/t/problem-upgrading-elasticsearch-0-16-2-to-elasticsearch-0-18-7/6730/3 "2017-07-06T03:39:05Z")

</div>

Closed on July 6, 2017, 3:39am UTC


