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
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
Facing following error suddenly for data update:
null:java.lang.NullPointerException
at
org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.mapValueClassesToFieldType(AddSchemaFieldsUpdateProcessorFactory.java:509)
at
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
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
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
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
;:[
{"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
;>> >
> >>>> > for(String col : clusterState.getCollections()) {
> >>>> >
> >>>> >
> >>>> > Joel Bernstein
> >>>> > http://joelsolr.blogspot.com/
> >>>> >
> >>>> &g
6 PM, Ryan Yacyshyn <
>>>> ryan.yacys...@gmail.com>
>>>> > wrote:
>>>> >
>>>> > > Yes stack trace can be found here:
>>>> > >
>>>> > > http://pastie.org/10821638
>>>> > >
>&
..@gmail.com>
>>> > wrote:
>>> >
>>> > > Yes stack trace can be found here:
>>> > >
>>> > > http://pastie.org/10821638
>>> > >
>>> > >
>>> > >
>>> > > On Mon, 2 May 2016 at 01:0
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
.
> > > >
> > > > Joel Bernstein
> > > > http://joelsolr.blogspot.com/
> > > >
> > > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn <
> ryan.yacys...@gmail.com
> > >
> > > > wrote:
> > > >
> > > &g
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
; >
> > 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
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
> >
> &
> 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
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
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
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
(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
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
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
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?
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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.
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
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,
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
=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
://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
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
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
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
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
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
}, 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
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
)={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
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
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
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
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
56 matches
Mail list logo