Getting Exception org.apache.lucene.util.AttributeSource.cloneAttributes?

Hi

i am using ES 0.16.2. I have following data in index :

ID word

  1.      see
    
  2.      she
    
  3.      sea
    
  4.      C
    

and synonyam.txt contains following configuration:

see ,she
*
*
when i index data with following configuration i got following exception:

java.lang.NullPointerException
at
org.apache.lucene.util.AttributeSource.cloneAttributes(AttributeSource.java:542)
at
org.apache.lucene.analysis.synonym.SynonymFilter.incrementToken(SynonymFilter.java:135)
at
org.apache.lucene.analysis.miscellaneous.WordDelimiterFilter.incrementToken(WordDelimiterFilter.java:224)
at
org.elasticsearch.common.lucene.all.AllTokenStream.incrementToken(AllTokenStream.java:56)
at
org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:182)
at
org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:248)
at
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:701)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2042)
at
org.elasticsearch.index.engine.robin.RobinEngine.innerIndex(RobinEngine.java:459)
at
org.elasticsearch.index.engine.robin.RobinEngine.index(RobinEngine.java:374)
at
org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:292)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:131)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.access$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:331)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

when i remove same phonetic value from index ,it successfully index
data.so my side that phonetically same value in synonym token filter not
supported or this may be an issue.

Thanks

--