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 up

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 org.apache.solr.update.proce

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 Nabb

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

2016-06-28 Thread Dennis Gove
> > > My collection EventsAndDCF exists. and I succeed to run GET queries like: > > > > > http://localhost:8983/solr/EventsAndDCF/export?fl=AccessPath&q=*:*&sort=AccessPath > > desc&wt=j

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

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

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

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

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

2016-05-03 Thread Ryan Yacyshyn
)) { > >>>> > > >>>> > > >>>> > Joel Bernstein > >>>> > http://joelsolr.blogspot.com/ > >>>> > > >>>> > On Mon, May 2, 2016 at 10:06 PM, Ryan Yacyshyn < > >>>> ryan.yacys...@gmail.com> > >>&

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

2016-05-03 Thread Joel Bernstein
gt;> > >>>> > Joel Bernstein >>>> > http://joelsolr.blogspot.com/ >>>> > >>>> > On Mon, May 2, 2016 at 10:06 PM, Ryan Yacyshyn < >>>> ryan.yacys...@gmail.com> >>>> > wrote: >>>> &g

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

2016-05-03 Thread Joel Bernstein
nd here: >>> > > >>> > > http://pastie.org/10821638 >>> > > >>> > > >>> > > >>> > > On Mon, 2 May 2016 at 01:05 Joel Bernstein >>> wrote: >>> > > >>> > > > Can you post

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

2016-05-03 Thread Joel Bernstein
gt; > > >> > > > Can you post your stack trace? I suspect this has to do with how the >> > > > Streaming API is interacting with SolrCloud. We can probably also >> > create >> > > a >> > > > jira ticket for this. >>

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

2016-05-03 Thread Joel Bernstein
ct this has to do with how the > > > > Streaming API is interacting with SolrCloud. We can probably also > > create > > > a > > > > jira ticket for this. > > > > > > > > Joel Bernstein > > > > http://joelsolr.blogspot.com/ > >

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

2016-05-03 Thread Kevin Risden
Cloud. We can probably also > create > > a > > > jira ticket for this. > > > > > > Joel Bernstein > > > http://joelsolr.blogspot.com/ > > > > > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn > > > > wrote: > > > > > &

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

2016-05-02 Thread Joel Bernstein
yshyn > > wrote: > > > > > 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 ar

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

2016-05-02 Thread Ryan Yacyshyn
> > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn > wrote: > > > Hi all, > > > > I'm exploring with parallel SQL queries and found something strange after > > reloading the collection: the same q

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

2016-05-01 Thread Joel Bernstein
27;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

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 -nop

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

2016-03-22 Thread Yago Riveiro
{index:asc}, > numBuckets:true, > facet:{ > 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 > o

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

2016-03-22 Thread Yonik Seeley
t; } > } > } > > 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(H

java.lang.NullPointerException in json facet hll function

2016-03-22 Thread Yago Riveiro
7;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.java:86) at org.apache.solr.search.facet.FacetBuc

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 fiel

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? Wh

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

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. Here is the

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. price ddate true *:* date:[2013-03-23T00:00:00Z TO

RE: solr java.lang.NullPointerException on select queries

2012-06-26 Thread Bryan Loofbourrow
Sent: Tuesday, June 26, 2012 8:46 AM > To: solr-user@lucene.apache.org > Subject: Re: solr java.lang.NullPointerException on select queries > > So, I tried 'optimize', but it failed because of lack of space on the > first > machine. I then moved the whole thing to a differ

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 h

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-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: ht

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 maxDo

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 ... 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 you'r

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 fo

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, y

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 fi

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 wrote: > Yes, wonky indeed. >  numDocs : -2006905

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 in

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
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 exa

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

Re: solr java.lang.NullPointerException on select queries

2012-06-19 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 no

Re: solr java.lang.NullPointerException on select queries

2012-06-16 Thread Erick Erickson
t; to run fine) is: > http:///solr/select/?q=title%3Afoo&version=2.2&start=0&rows=10&indent=on > > I am stupefied. Any idea? > > HTTP ERROR 500 > > Problem accessing /solr/select/. Reason: > > null > java.lang.NullPointerException a

solr java.lang.NullPointerException on select queries

2012-06-16 Thread avenka
mp;rows=10&indent=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(S

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 wrote: > Faceting blows up when the field has no data. And this seems to be random. > Sometimes it will work even with no data, o

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 facet.met

java.lang.NullPointerException

2010-07-13 Thread Frederico Azeiteiro
EVERE: java.lang.NullPointerException at java.io.StringReader.(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 Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Feb 4, 2010 at 10:50 AM, Lance Norskog 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 obviously not wi

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 wrote: > Hi, > > since some of the fields used

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 db-rela

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 Shalin Shekhar Mangar
> upload > WARNING: Error creating document : > SolrInputDocument[{keywords=keywords(1.0)={Dolce}, name=name(1.0)={Dolce > & Gabbana D&G Neckties designer Tie for men 543}, > productID=productID(1.0)={220213}}] > java.lang.NullPointerException >at > org.

Re: java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Sascha Szott
ame(1.0)={Dolce & Gabbana D&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.(Field.java:341) at

java.lang.NullPointerException with MySQL DataImportHandler

2010-02-02 Thread Jean-Michel Philippon-Nadeau
eywords=keywords(1.0)={Dolce}, name=name(1.0)={Dolce & Gabbana D&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

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 ou

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

2009-11-17 Thread Eugene Dzhurinsky
ng 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)