It appears that the document is indexed properly and is displayed on the es 
head screen. The response object returned by 
    JestResult response = client.execute(index);
seems to be fine as well.
------------
isSucceeded: true
jsonString: 
{"_index":"test","_type":"document","_id":"f6aa55d3-849e-4fd1-b907-5e656b7dc8fa","_version":1,"created":true}
pathToResult: ok
------------
Any idea why it is throwing the NullPointer exception?

On Monday, November 17, 2014 5:31:41 PM UTC-5, [email protected] wrote:
>
> I upgraded directly to 1.4.0.
>
> On Monday, November 17, 2014 5:22:30 PM UTC-5, Mark Walkom wrote:
>>
>> Did you upgrade directly to 1.4.0, or did you do it in major version 
>> jumps?
>>
>> On 18 November 2014 09:18, andyrobin1 via elasticsearch <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Upgraded ElasticSearch server to version 1.4.0.  Compiled project with 
>>> 1.4.0 artifact in pom file.  Get NullPointer exception on JestClient for 
>>> the code that works in version 0.20.1 when a document is indexed.  Stack 
>>> trace:
>>> -------------------
>>> ERROR 2014-11-17 14:29:35,238 - 
>>> AbstractJestClient.isOperationSucceed(90) | Exception occurred during the 
>>> parsing result. Since http ok g
>>> oing to return isSucceed as a true
>>> java.lang.NullPointerException
>>>         at 
>>> io.searchbox.client.AbstractJestClient.isOperationSucceed(AbstractJestClient.java:79)
>>>         at 
>>> io.searchbox.client.AbstractJestClient.createNewElasticSearchResult(AbstractJestClient.java:62)
>>>         at 
>>> io.searchbox.client.http.JestHttpClient.deserializeResponse(JestHttpClient.java:149)
>>>         at 
>>> io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:59)
>>>         at app.common.search.ESUtils.indexDocument(ESUtils.java:65)
>>> -------------------
>>>
>>> Any help is greatly appreciated.
>>>
>>> Regards,
>>> Andy
>>>
>>> -- 
>>> 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/elasticsearch/ec9c2a6e-a183-4a18-89bd-7cdea8b4bce6%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/elasticsearch/ec9c2a6e-a183-4a18-89bd-7cdea8b4bce6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/3de59600-e4f8-4754-8b06-61e9c57f98c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to