Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Jae Joo
Yes, we have timeAllowed=2 sec. On Tue, Jul 7, 2020 at 2:20 PM Mikhail Khludnev wrote: > Still not clear regarding fl param. Does request enabled timeAllowed param? > Anyway debugQuery true should give a clue why "sort_values" are absent in > shard response, note they should be supplied at >

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Mikhail Khludnev
Still not clear regarding fl param. Does request enabled timeAllowed param? Anyway debugQuery true should give a clue why "sort_values" are absent in shard response, note they should be supplied at QueryComponent.doFieldSortValues(ResponseBuilder, SolrIndexSearcher). On Tue, Jul 7, 2020 at 4:19

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Jae Joo
8.3.1 the field "id" is for nested document. On Mon, Jul 6, 2020 at 4:17 PM Mikhail Khludnev wrote: > Hi, > What's the version? What's uniqueKey? is it stored? what's fl param? > > On Mon, Jul 6, 2020 at 5:12 PM Jae Joo wrote: > > > I am seeing the nullPointerException in the list belo

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Mikhail Khludnev
Hi, What's the version? What's uniqueKey? is it stored? what's fl param? On Mon, Jul 6, 2020 at 5:12 PM Jae Joo wrote: > I am seeing the nullPointerException in the list below and I am > looking for how to fix the exception. > > Thanks, > > > NamedList sortFieldValues = > (NamedList)(srsp.getSol

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 si

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 server

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 fr

Re: Null Pointer Exception on distributed search

2016-02-24 Thread Shawn Heisey
On 2/24/2016 9:58 AM, Lokesh Chhaparwal wrote: > Can someone please update on this exception trace while we are using > distributed search using shards parameter (solr-master-slave). The line of code where the NPE happened (from the 4.7.2 source) is in XMLWriter.java, at line 190: for (String

Re: Null Pointer Exception on distributed search

2016-02-24 Thread Lokesh Chhaparwal
Hi, Can someone please update on this exception trace while we are using distributed search using shards parameter (solr-master-slave). Thanks, Lokesh On Wed, Feb 17, 2016 at 5:33 PM, Lokesh Chhaparwal wrote: > Hi, > > We are facing NPE while using distributed search (Solr version 4.7.2) > (u

Re: Null pointer exception in spell checker at addchecker method

2015-12-24 Thread JoeWang
Thank you! It really help me out. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4247203.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2014-08-22 Thread nish
Great!! Worked for me too. Thanks a lot -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4154403.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2013-12-09 Thread sweety
yes, it worked. And i got the reason for the error. Thanks a lot. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4105636.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2013-12-08 Thread ??????
how can i unsubscribe -- Original -- From: "Areek Zillur";; Date: Mon, Dec 9, 2013 02:26 PM To: "solr-user"; Subject: Re: Null pointer exception in spell checker at addchecker method From the solrConfig provided it seems like you

Re: Null pointer exception in spell checker at addchecker method

2013-12-08 Thread Areek Zillur
>From the solrConfig provided it seems like you have only two named spellcheckers defined (direct & wordbreak), but in your '/spell' requestHandler you are setting three spellcheckers (direct, default & wordbreak). As you do not have an unnamed spellchecker, there is no spellchecker defined with th

Re: NULL POINTER EXCEPTION WITH SOLR SUGGESTER

2013-01-13 Thread Jack Krupansky
What URL did you use? What is your data like? I tried your exact config but with the field name of "name" rather than spell_check, using the Solr 4.0 example. Then I added the following data: curl http://localhost:8983/solr/update?commit=true -H 'Content-type:application/csv' -d ' id,name su

Re: Null Pointer Exception on DIH with MySQL

2012-08-30 Thread Erick Erickson
I really, really, really _hate_ it when I have to blame mysterious corruptions and the problem magically goes away, it leaves me worried that the problem is just lurking out there somewhere waiting...waitingwaiting with my name on it ... Anyway, thanks for bringing closure to this. Erick On

Re: Null Pointer Exception on DIH with MySQL

2012-08-29 Thread Aleksey Vorona
Thank you for the reply. We rebuilt solr from sources, reinstalled it and the problem went away. As it was never reproducible on any other server, I blame some mysterious java byte code corruption on that server. The assumption I would never be able to verify, because we did not make a copy of

Re: Null Pointer Exception on DIH with MySQL

2012-08-29 Thread Erick Erickson
Not much information to go on here, have you tried the DIH debugging console? See: http://wiki.apache.org/solr/DataImportHandler#interactive Best Erick On Mon, Aug 27, 2012 at 7:22 PM, Aleksey Vorona wrote: > We have Solr 3.6.1 running on Jetty (7.x) and using DIH to get data from the > MySQL da

Re: Null Pointer Exception in SOLR

2012-05-03 Thread mechravi25
Hi, I'm using the following configuration for solr Solr Specification Version: 1.4.0.2010.01.13.08.09.44 Solr Implementation Version: 1.5-dev exported - yonik - 2010-01-13 08:09:44 Lucene Specification Version: 2.9.1-dev Lucene Implementation Version: 2.9.1-dev 888785 - 2009-12-09 18:03:31 C

Re: Null Pointer Exception in SOLR

2012-05-03 Thread Erick Erickson
Hmmm, can we have some more details here? What version of Solr? What exactly did you do in the UI? What was the state of your index (i.e. adding documents from some other process? etc.). Best Erick On Wed, May 2, 2012 at 8:17 AM, mechravi25 wrote: > Hi, > > > When I tried to remove a data from U

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
Andrew, you should download Solr from the apache site. This packaging is wrong-headed. As to Java, a Linux person would know the system for picking which is the standard Java. andrewdps wrote: Also,the solr Java properties looks like this using gcj,despite setting java_home in /etc/profile

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
Good eye, Thomas! Yes, GCJ is a non-starter. You're best off downloading Java 1.6 yourself, but I understand that it is easier to use the public package repositories. Thomas Joiner wrote: My guess would be that Jetty has some configuration somewhere that is telling it to use GCJ. Is it possib

Re: Null Pointer Exception while indexing

2010-09-16 Thread Thomas Joiner
My guess would be that Jetty has some configuration somewhere that is telling it to use GCJ. Is it possible to completely remove GCJ from the system? Another possibility would be to uninstall Jetty, and then reinstall it, and hope that on the reinstall it would pick up on the OpenJDK. What distr

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
Lance, We are on Solr Specification Version: 1.4.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1488320.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
Also,the solr Java properties looks like this using gcj,despite setting java_home in /etc/profile jetty.logs = /usr/local/vufind/solr/jetty/logs path.separator = : java.vm.name = GNU libgcj java.vm.specification.name = Java(tm) Virtual Machine Specification java.runtime.version = 1.5.0 java.home

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
Thanks for all the suggestions. As far as JAVA is concerned,I'm worried to see different things.I'm afraid if things are going wrong with the settings. r...@zoombox:/etc# echo $JAVA_HOME /usr/lib/jvm/default-java r...@zoombox:/etc# java -version java version "1.6.0_0" OpenJDK Runtime Environmen

Re: Null Pointer Exception while indexing

2010-09-16 Thread Yonik Seeley
On Wed, Sep 15, 2010 at 2:01 PM, andrewdps wrote: > I still get the same error when I try to index the mrc file... If you get the exact same error, then you are still using GCJ. When you type "java" it's probably going to GCJ because of your path (i.e. change it or directly specify the path to th

Re: Null Pointer Exception while indexing

2010-09-16 Thread Israel Ekpo
Try removing the data directory and then restart your Servlet container and see if that helps. On Thu, Sep 16, 2010 at 3:28 AM, Lance Norskog wrote: > Which version of Solr? 1.4?, 1.4.1? 3.x branch? trunk? if the 3.x or the > trunk, when did you pull it? > > > andrewdps wrote: > >> What could be

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
Which version of Solr? 1.4?, 1.4.1? 3.x branch? trunk? if the 3.x or the trunk, when did you pull it? andrewdps wrote: What could be possible error for 14-Sep-10 4:28:47 PM org.apache.solr.common.SolrException log SEVERE: java.util.concurrent.ExecutionException: java.lang.NullPointerException

Re: Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
I still get the same error when I try to index the mrc file... This was the previous version of the Java on our server. # java -version java version "1.5.0" gij (GNU libgcj) version 4.3.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditio

Re: Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
I'm sorry,but how do I use that.Is that something to do with uninstalling "gcu" and installing jvm and openJDK? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1481285.html Sent from the Solr - User mailing list archive

Re: Null Pointer Exception while indexing

2010-09-15 Thread Yonik Seeley
On Wed, Sep 15, 2010 at 1:12 PM, andrewdps wrote: > > What could be possible error for > > 14-Sep-10 4:28:47 PM org.apache.solr.common.SolrException log > SEVERE: java.util.concurrent.ExecutionException: > java.lang.NullPointerException >   at java.util.concurrent.FutureTask$Sync.innerGet(libgcj.s

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-14 Thread Chris Hostetter
I didn't see any open Jira issues for this, so i created one... https://issues.apache.org/jira/browse/SOLR-2121 : Date: Tue, 7 Sep 2010 01:35:39 -0700 (PDT) : From: Marc Sturlese : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Null pointer exce

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-10 Thread Yonik Seeley
On Fri, Sep 10, 2010 at 7:21 PM, Ron Mayer wrote: > Ron Mayer wrote: > Yes, looks good now. > Thanks! Great, thanks for the report! -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-10 Thread Ron Mayer
Ron Mayer wrote: > Yonik Seeley wrote: >> I just checked in the last part of those changes that should eliminate >> any restriction on key. >> But, that last part dealt with escaping keys that contained whitespace or } >> Your example really should have worked after my previous 2 commits. >> Perhap

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Ron Mayer
Yonik Seeley wrote: > I just checked in the last part of those changes that should eliminate > any restriction on key. > But, that last part dealt with escaping keys that contained whitespace or } > Your example really should have worked after my previous 2 commits. > Perhaps not all of the servers

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Yonik Seeley
I just checked in the last part of those changes that should eliminate any restriction on key. But, that last part dealt with escaping keys that contained whitespace or } Your example really should have worked after my previous 2 commits. Perhaps not all of the servers got successfully upgraded? Ca

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Ron Mayer
Yonik Seeley wrote: > On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: >> Short summary: >> * Mixing Facets and Shards give me a NullPointerException >>when not all docs have all facets. > > https://issues.apache.org/jira/browse/SOLR-2110 > > I believe the underlying real issue stemmed from

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Yonik Seeley
On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: > Short summary: >  * Mixing Facets and Shards give me a NullPointerException >    when not all docs have all facets. https://issues.apache.org/jira/browse/SOLR-2110 I believe the underlying real issue stemmed from your use of a complex key "invol

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-07 Thread Ron Mayer
Yonik Seeley wrote: > Thanks for the report Ron, can you open a JIRA issue? Sure. I'll do it at work tomorrow morning, hopefully after I try to verify with a standalone test case. > What version of Solr is this? This is trunk as of a few days ago. I can update to the latest trunk and check th

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-07 Thread Yonik Seeley
Thanks for the report Ron, can you open a JIRA issue? What version of Solr is this? -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8 On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: > Short summary: >  * Mixing Facets and Shards give me a NullPointerException >    when

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-07 Thread Ron Mayer
Marc Sturlese wrote: > I noticed that long ago. > Fixed it doing in HighlightComponent finishStage: > ... > public void finishStage(ResponseBuilder rb) { >... > } Thanks! I'll try that I also seem to have a similar problem with shards + facets -- in particular it seems like the error o

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-07 Thread Marc Sturlese
I noticed that long ago. Fixed it doing in HighlightComponent finishStage: @Override public void finishStage(ResponseBuilder rb) { boolean hasHighlighting = true ; if (rb.doHighlights && rb.stage == ResponseBuilder.STAGE_GET_FIELDS) { Map.Entry[] arr = new NamedList.NamedListEnt

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-20 Thread Sam Keen
thanks, I applied the patch in SOLR-1077 and this is now fixed for me (i updated the bug w/ a comment) sam keen 2009/3/19 Noble Paul നോബിള്‍ नोब्ळ् : > it is a bug , I have raised an issue > > https://issues.apache.org/jira/browse/SOLR-1077 > > On Fri, Mar 20, 2009 at 4:41 AM, Sam Keen wrote: >

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is a bug , I have raised an issue https://issues.apache.org/jira/browse/SOLR-1077 On Fri, Mar 20, 2009 at 4:41 AM, Sam Keen wrote: > guess I spoke to soon.  The above setup (with Shalin's fix) works for > a mock run of 2 records.  But when I try it with the production data > of about 450 reco

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-19 Thread Sam Keen
guess I spoke to soon. The above setup (with Shalin's fix) works for a mock run of 2 records. But when I try it with the production data of about 450 records, I get this error. again, any help is greatly appreciated sam keen Mar 19, 2009 3:59:20 PM org.apache.solr.handler.dataimport.DataImport

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-18 Thread Sam Keen
that worked perfectly Shalin. thanks so much for your help! sam keen On Wed, Mar 18, 2009 at 1:15 PM, Shalin Shekhar Mangar wrote: > On Thu, Mar 19, 2009 at 1:29 AM, Sam Keen wrote: > >> >> What I am now attempting to do is leverage 'useSolrAddSchema="true"' . >> I have a URL the responds wit

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-18 Thread Shalin Shekhar Mangar
On Thu, Mar 19, 2009 at 1:29 AM, Sam Keen wrote: > > What I am now attempting to do is leverage 'useSolrAddSchema="true"' . > I have a URL the responds with a well formatted solr add xml (I'm able > to add it by POSTing). But when I try to add it using > http://localhost:8983/solr/dataimport?com

RE: Null pointer exception

2007-05-15 Thread Chris Hostetter
: I decided to trash the whole installation and start again. I downloaded : last nights build and untarred it. Put the .war into : $TOMCAT_HOME/webapps. Copied the example/solr directory as : /var/www/html/solr. No JNDI file this time, just updated solrconfig to : read /var/www/html/solr as my dat

RE: Null pointer exception

2007-05-14 Thread Gary Browne
of Sydney Australia ph: 61-2-9351 5946 -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 May 2007 9:51 AM To: solr-user@lucene.apache.org Subject: RE: Null pointer exception : I am running v1.1.0. If I do a search (from the admin page), it throws : the

RE: Null pointer exception

2007-05-14 Thread Chris Hostetter
: I am running v1.1.0. If I do a search (from the admin page), it throws : the following exception: : : java.lang.RuntimeException: java.io.IOException: : /var/www/html/solr/data/index not a directory does /var/www/html/solr/data/ exist? ... if so does the effective userID for tomcat have permissi

RE: Null pointer exception

2007-05-14 Thread Gary Browne
of Sydney Australia ph: 61-2-9351 5946 -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 May 2007 7:27 AM To: solr-user@lucene.apache.org Subject: Re: Null pointer exception : I have tried indexing from the exampledocs which is just sitting in my : user

Re: Null pointer exception

2007-05-14 Thread Chris Hostetter
: I have tried indexing from the exampledocs which is just sitting in my : user home directory but now I get a null pointer exception after : running: just to clarify: are you using solr 1.1 or a nightly build? did you check the log file to ensure thatthere are no exceptions when you start tomcat?