Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-06 Thread Steve Rowe
Hi, Null handling in AddSchemaFieldsUpdateProcessorFactory has been added for Solr 7.5, see https://issues.apache.org/jira/browse/SOLR-12704 . -- Steve www.lucidworks.com > On Sep 6, 2018, at 1:11 AM, deniz wrote: > > server is also 7.4 > > and your assumption/check on null values on input

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
server is also 7.4 and your assumption/check on null values on input doc seems legit... I have added some checks before pushing the doc to solr and replaced null values with some default values, and updates seem going through w/o problem... though having a little bit explanatory logs on server

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread Shawn Heisey
On 9/5/2018 8:32 PM, deniz wrote: I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data from db and push the docs to solr... Once the client pushes the docs to solr, on

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
nope, the data i am pushing is stuff like string, int, etc etc i have have checked further and made bunch of trial and error, here are the things I was able to figure out: - If a date value from database is null, then it is breaking the update with "-00-00" is not a valid date string error.

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread David Hastings
Are you trying to push a java hash to solr? On Sep 5, 2018, at 10:32 PM, deniz mailto:denizdurmu...@gmail.com>> wrote: I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data

Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data from db and push the docs to solr... Once the client pushes the docs to solr, on server there are npe logs as below: