RE: RequestHandlerBase java.lang.NullPointerException Error

2019-03-13 Thread Rathor, Piyush (US - Philadelphia)
fore printing. -Original Message- From: Jan Høydahl Sent: Wednesday, March 13, 2019 1:40 PM To: solr-user@lucene.apache.org Subject: [EXT] Re: RequestHandlerBase java.lang.NullPointerException Error What Solr version? What configuration? What is the document you are indexing and how do you

Re: RequestHandlerBase java.lang.NullPointerException Error

2019-03-13 Thread Jan Høydahl
What Solr version? What configuration? What is the document you are indexing and how do you send it to Solr? Think this may be a known bug that is already fixed.. Jan Høydahl > 13. mar. 2019 kl. 17:21 skrev Rathor, Piyush (US - Philadelphia) > : > > Facing following error suddenly for data

RequestHandlerBase java.lang.NullPointerException Error

2019-03-13 Thread Rathor, Piyush (US - Philadelphia)
Facing following error suddenly for data update: null:java.lang.NullPointerException at org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.mapValueClassesToFieldType(AddSchemaFieldsUpdateProcessorFactory.java:509) at

Re: java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:421)

2018-09-03 Thread asis.ind...@gmail.com
Hi thanks for posting this, was getting same error and had same stored false ID. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: java.lang.NullPointerException in json facet hll function

2017-05-29 Thread jpereira
Hi, Any updates on this issue? I am using Solr 6.3 and I have hit this same bug... Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/java-lang-NullPointerException-in-json-facet-hll-function-tp4265378p4337877.html Sent from the Solr - User mailing list archive at

Re: Streaming Expressions (/stream) StreamHandler java.lang.NullPointerException

2016-06-28 Thread Dennis Gove
gt; > My collection EventsAndDCF exists. and I succeed to run GET queries like: > > > > > http://localhost:8983/solr/EventsAndDCF/export?fl=AccessPath=*:*=AccessPath > > desc=json > > > > Solr version: 6.0.1. Single

Re: Streaming Expressions (/stream) StreamHandler java.lang.NullPointerException

2016-06-26 Thread Joel Bernstein
quot;:[ > {"EXCEPTION":null,"EOF":true}]}} > > > My collection EventsAndDCF exists. and I succeed to run GET queries like: > > http://localhost:8983/solr/EventsAndDCF/export?fl=AccessPath=*:*=AccessPath > desc=json > > Solr version: 6.0.1. Single

Streaming Expressions (/stream) StreamHandler java.lang.NullPointerException

2016-06-25 Thread Peter Sh
;:[ {"EXCEPTION":null,"EOF":true}]}} My collection EventsAndDCF exists. and I succeed to run GET queries like: http://localhost:8983/solr/EventsAndDCF/export?fl=AccessPath=*:*=AccessPath desc=json Solr version: 6.0.1. Single node 2016-06-25 21:15:44.147 ERROR (qtp15

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Ryan Yacyshyn
;>> > > >>>> > for(String col : clusterState.getCollections()) { > >>>> > > >>>> > > >>>> > Joel Bernstein > >>>> > http://joelsolr.blogspot.com/ > >>>> > > >>>> &g

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Joel Bernstein
6 PM, Ryan Yacyshyn < >>>> ryan.yacys...@gmail.com> >>>> > wrote: >>>> > >>>> > > Yes stack trace can be found here: >>>> > > >>>> > > http://pastie.org/10821638 >>>> > > >&

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Joel Bernstein
..@gmail.com> >>> > wrote: >>> > >>> > > Yes stack trace can be found here: >>> > > >>> > > http://pastie.org/10821638 >>> > > >>> > > >>> > > >>> > > On Mon, 2 May 2016 at 01:0

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Joel Bernstein
gt; >> > > >> > > On Mon, 2 May 2016 at 01:05 Joel Bernstein <joels...@gmail.com> >> wrote: >> > > >> > > > Can you post your stack trace? I suspect this has to do with how the >> > > > Streaming API is interacting with Sol

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Joel Bernstein
. > > > > > > > > Joel Bernstein > > > > http://joelsolr.blogspot.com/ > > > > > > > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn < > ryan.yacys...@gmail.com > > > > > > > wrote: > > > > > > > &g

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Kevin Risden
May 1, 2016 at 4:02 AM, Ryan Yacyshyn <ryan.yacys...@gmail.com > > > > > wrote: > > > > > > > Hi all, > > > > > > > > I'm exploring with parallel SQL queries and found something strange > > after > > > > reloading the coll

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-02 Thread Joel Bernstein
; > > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn <ryan.yacys...@gmail.com> > > wrote: > > > > > Hi all, > > > > > > I'm exploring with parallel SQL queries and found something strange > after > > > reloading the c

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-02 Thread Ryan Yacyshyn
ter > > reloading the collection: the same query will return a > > java.lang.NullPointerException error. Here are my steps on a fresh > install > > of Solr 6.0.0. > > > > *Start Solr in cloud mode with example* > > bin/solr -e cloud -noprompt > > > &

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-01 Thread Joel Bernstein
> Hi all, > > I'm exploring with parallel SQL queries and found something strange after > reloading the collection: the same query will return a > java.lang.NullPointerException error. Here are my steps on a fresh install > of Solr 6.0.0. > > *Start Solr in cloud mode wit

Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-01 Thread Ryan Yacyshyn
Hi all, I'm exploring with parallel SQL queries and found something strange after reloading the collection: the same query will return a java.lang.NullPointerException error. Here are my steps on a fresh install of Solr 6.0.0. *Start Solr in cloud mode with example* bin/solr -e cloud -noprompt

Re: java.lang.NullPointerException in json facet hll function

2016-03-22 Thread Yago Riveiro
visitor__visitor_id_l is a dynamic field. Running the query described above I'm hitting this exception. java.lang.NullPointerException at org.apache.solr.search.facet.HLLAgg$Merger.merge(HLLAgg.java:86) at org.apache.solr.search.facet.Fac

Re: java.lang.NullPointerException in json facet hll function

2016-03-22 Thread Yonik Seeley
col_1_unique_visitors:'hll(visitor__visitor_id_l)' > } > } > } > > visitor__visitor_id_l is a dynamic field. > > Running the query described above I'm hitting this exception. > > java.lang.NullPointerException at > org.apache.solr.search.facet.HLLAgg$Merger.merge(HLLAgg.ja

java.lang.NullPointerException in json facet hll function

2016-03-22 Thread Yago Riveiro
(visitor__visitor_id_l)' } } } visitor__visitor_id_l is a dynamic field. Running the query described above I'm hitting this exception. java.lang.NullPointerException at org.apache.solr.search.facet.HLLAgg$Merger.merge(HLLAgg.java:86) at org.apache.solr.search.facet.FacetBucket.mergeBucket

RE: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor

2013-06-12 Thread srinalluri
I have solved this problem and able work with CachedSqlEntityProcessor successfully after a very long struggle. I tried this on 4.2. There are still existing bugs it seems: 1. What ever you mention in cacheKey, that field name must in the select statement explicitly. 2. If I am correct, the

RE: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor

2013-05-01 Thread Dyer, James
Ingram Content Group (615) 213-4311 -Original Message- From: srinalluri [mailto:nallurisr...@yahoo.com] Sent: Tuesday, April 30, 2013 10:53 AM To: solr-user@lucene.apache.org Subject: RE: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor Thanks James for your

RE: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor

2013-04-30 Thread srinalluri
Thanks James for your reply. I have updated to 3.6.2. Now the NullPointerException is gone. But the entities with CachedSqlEntityProcessor don't add anything to solr. And entities without CachedSqlEntityProcessor, are working fine. Why entities with CachedSqlEntityProcessor don't do anything?

java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor

2013-04-29 Thread srinalluri
I am in Solr 3.6.1. The following entity gives java.lang.NullPointerException. How to debug this? Here I am usingCachedSqlEntityProcessor. entity name=vig8-article-mon dataSource=vig8 pk=VCMID preImportDeleteQuery=content_type:article AND repository:vig8qamon query=select ID as VCMID

RE: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor

2013-04-29 Thread Dyer, James
Subject: java.lang.NullPointerException. I am trying to use CachedSqlEntityProcessor I am in Solr 3.6.1. The following entity gives java.lang.NullPointerException. How to debug this? Here I am usingCachedSqlEntityProcessor. entity name=vig8-article-mon dataSource=vig8 pk=VCMID

java.lang.NullPointerException withs stats component and shards

2013-03-21 Thread Agnieszka Kukałowicz
Hi, I have problem with Stats component in shards environment. Solr throws Java.lang.NullPointerException when there is no results and statistic is computed over date field. arr name=stats.field strprice/str strddate/str /arr str name=statstrue/str str

Re: solr java.lang.NullPointerException on select queries

2012-06-26 Thread avenka
So, I tried 'optimize', but it failed because of lack of space on the first machine. I then moved the whole thing to a different machine where the index was pretty much the only thing and was using about 37% of disk, but it still failed because of a No space left on device IOException. Also, the

Re: solr java.lang.NullPointerException on select queries

2012-06-26 Thread Erick Erickson
Well, you'd have to understand the whole way the index structure is laid out to do binary editing, and I don't know it well enough to even offer a rough idea. There are detailed docs hanging around _somewhere_ that will give you the formats, or you could go at the code. But that's probably pretty

RE: solr java.lang.NullPointerException on select queries

2012-06-26 Thread Bryan Loofbourrow
double name=maxMergedSegmentMB3/double /mergePolicy /mainIndex -- Bryan -Original Message- From: avenka [mailto:ave...@gmail.com] Sent: Tuesday, June 26, 2012 8:46 AM To: solr-user@lucene.apache.org Subject: Re: solr java.lang.NullPointerException on select queries

Re: solr java.lang.NullPointerException on select queries

2012-06-21 Thread Erick Erickson
Ah, OK, I misunderstood. OK, here's a couple of off-the-top-of-my-head ideas. make a backup of your index before anything else G... Split up your current index into two parts by segments. That is, copy the whole directory to another place, and remove some of the segments from each. I.e. when

Re: solr java.lang.NullPointerException on select queries

2012-06-21 Thread avenka
Erick, much thanks for detailing these options. I am currently trying the second one as that seems a little easier and quicker to me. I successfully deleted documents with IDs after the problem time that I do know to an accuracy of a couple hours. Now, the stats are: numDocs : 2132454075

Re: solr java.lang.NullPointerException on select queries

2012-06-21 Thread Erick Erickson
Right, if you optimize, at the end maxDocs should == numDocs. Usually the document reclamation stuff is done when segments merge, but that won't happen in this case since this index is becoming static, so a manual optimize is probably indicated. Something like this should also work, either way:

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread avenka
For the first install, I copied over all files in the directory example into, let's call it, install1. I did the same for install2. The two installs run on different ports, use different jar files, are not really related to each other in any way as far as I can see. In particular, they are not

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread Erick Erickson
Internal Lucene document IDs are signed 32 bit numbers, so having 2.5B docs seems to be just _asking_ for trouble. Which could explain the fact that this just came out of thin air. If you kept adding docs to the problem instance, you wouldn't have changed configs etc, just added more docs I

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread avenka
Erick, thanks for pointing that out. I was going to say in my original post that it is almost like some limit on max documents got violated all of a sudden, but the rest of the symptoms didn't seem to quite match. But now that I think about it, the problem probably happened at 2B (corresponding

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread Erick Erickson
Let's make sure we're talking about the same thing. Solr happily indexes and stores long (64) bit values, no problem. What it doesn't do is assign _internal_ documents IDs as longs, those are ints. on admin/statistics, look at maxDocs and numDocs. maxDocs +1 will be the next _internal_ lucene doc

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread avenka
Yes, wonky indeed. numDocs : -2006905329 maxDoc : -1993357870 And yes, I meant that the holes are in the database auto-increment ID space, nothing to do with lucene IDs. I will set up sharding. But is there any way to retrieve most of the current index? Currently, all select queries even

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread Erick Erickson
That indeed sucks. But I don't personally know of a good way to try to split apart an existing index into shards. I'm afraid you're going to be stuck with re-indexing Wish I had a better solution Erick On Wed, Jun 20, 2012 at 10:45 AM, avenka ave...@gmail.com wrote: Yes, wonky indeed.  

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread avenka
Thanks. Do you know if the tons of index files with names like '_zxt.tis' in the index/data/ directory have the lucene IDs embedded in the binaries? The files look good to me and are partly readable even if in binary. I am wondering if I could just set up a new solr instance and move these index

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread Erick Erickson
Don't even try to do that. First of all, you have to have a reliable way to index the same docs to the same shards. The docs are all mixed up in the segment files and would lead to chaos. Solr/Lucene report the same doc multiple times if it's indifferent shards, so if you ever updated a document,

Re: solr java.lang.NullPointerException on select queries

2012-06-20 Thread avenka
Erick, thanks for the advice, but let me make sure you haven't misunderstood what I was asking. I am not trying to split the huge existing index in install1 into shards. I am also not trying to make the huge install1 index as one shard of a sharded solr setup. I plan to use a sharded setup only

solr java.lang.NullPointerException on select queries

2012-06-16 Thread avenka
=10indent=on I am stupefied. Any idea? HTTP ERROR 500 Problem accessing /solr/select/. Reason: null java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:398) at org.apache.solr.handler.component.SearchHandler.handleRequestBody

Re: solr java.lang.NullPointerException on select queries

2012-06-16 Thread Erick Erickson
://machine_name/solr/select/?q=title%3Afooversion=2.2start=0rows=10indent=on I am stupefied. Any idea? HTTP ERROR 500 Problem accessing /solr/select/. Reason: null java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:398

facet.field :java.lang.NullPointerException

2010-10-15 Thread Pradeep Singh
Faceting blows up when the field has no data. And this seems to be random. Sometimes it will work even with no data, other times not. Sometimes the error goes away if the field is set to multiValued=true (even though it's one value every time), other times it doesn't. In all cases setting

Re: facet.field :java.lang.NullPointerException

2010-10-15 Thread Yonik Seeley
This is https://issues.apache.org/jira/browse/SOLR-2142 I'll look into it soon. -Yonik http://www.lucidimagination.com On Fri, Oct 15, 2010 at 3:12 PM, Pradeep Singh pksing...@gmail.com wrote: Faceting blows up when the field has no data. And this seems to be random. Sometimes it will work

java.lang.NullPointerException

2010-07-13 Thread Frederico Azeiteiro
org.apache.solr.common.SolrException log SEVERE: java.lang.NullPointerException at java.io.StringReader.init(Unknown Source) My querystring has now about 10 000 chars. Could this be memory issues? Thank You, Frederico

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-03 Thread Lance Norskog
I just tested this with a DIH that does not use database input. If the DataImportHandler JDBC code does not support a schema that has optional fields, that is a major weakness. Noble/Shalin, is this true? On Tue, Feb 2, 2010 at 8:50 AM, Sascha Szott sz...@zib.de wrote: Hi, since some of the

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Feb 4, 2010 at 10:50 AM, Lance Norskog goks...@gmail.com wrote: I just tested this with a DIH that does not use database input. If the DataImportHandler JDBC code does not support a schema that has optional fields, that is a major weakness. Noble/Shalin, is this true? The problem is

java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Jean-Michel Philippon-Nadeau
}, name=name(1.0)={Dolce amp; Gabbana Damp;G Neckties designer Tie for men 543}, productID=productID(1.0)={220213}}] java.lang.NullPointerException at org.apache.lucene.util.StringHelper.intern(StringHelper.java:36) at org.apache.lucene.document.Field.init(Field.java:341

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Sascha Szott
Damp;G Neckties designer Tie for men 543}, productID=productID(1.0)={220213}}] java.lang.NullPointerException at org.apache.lucene.util.StringHelper.intern(StringHelper.java:36) at org.apache.lucene.document.Field.init(Field.java:341

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Shalin Shekhar Mangar
)={Dolce amp; Gabbana Damp;G Neckties designer Tie for men 543}, productID=productID(1.0)={220213}}] java.lang.NullPointerException at org.apache.lucene.util.StringHelper.intern(StringHelper.java:36) at org.apache.lucene.document.Field.init(Field.java:341

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Jean-Michel Philippon-Nadeau
Hi, Thanks for the reply. On Tue, 2010-02-02 at 16:57 +0100, Sascha Szott wrote: * the output of MySQL's describe command for all tables/views referenced in your DIH configuration mysql describe products; ++--+--+-+-++ | Field

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Sascha Szott
Hi, since some of the fields used in your DIH configuration aren't mandatory (e.g., keywords and tags are defined as nullable in your db table schema), add a default value to all optional fields in your schema configuration (e.g., default = ). Note, that Solr does not understand the

java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:421)

2009-11-17 Thread Eugene Dzhurinsky
to search on both of these servers (like it was described at http://wiki.apache.org/solr/DistributedSearch) HTTP ERROR: 500 null java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:421

Re: java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:421)

2009-11-17 Thread Eugene Dzhurinsky
On Tue, Nov 17, 2009 at 06:09:56PM +0200, Eugene Dzhurinsky wrote: java.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:421) I compared schema.xml from Solr installation package with the one I created, and found out that my