Debug log doesn't have much info either!
--------------
DEBUG 2014-11-18 14:32:54,508 - JestClientFactory.getObject(35) | Creating 
HTTP client based on configuration
DEBUG 2014-11-18 14:32:54,578 - JestClientFactory.getObject(44) | Default 
http client is created without multi threaded option
INFO 2014-11-18 14:32:54,718 - JestClientFactory.getObject(71) | Node 
Discovery Disabled...
DEBUG 2014-11-18 14:32:54,735 - JestHttpClient.constructHttpMethod(106) | 
PUT method created based on client request
ERROR 2014-11-18 14:32:55,095 - AbstractJestClient.isOperationSucceed(90) | 
Exception occurred during the parsing result. Since http ok going 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)
--------------

On Tuesday, November 18, 2014 11:47:42 AM UTC-5, [email protected] wrote:
>
> 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/30b746c7-1868-4445-b4b1-a9c5437a4e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to