You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Jae Joo <ja...@gmail.com> on 2021/06/03 15:08:33 UTC

Export Handler Exception

I am having the exception fro export Handler with specified q parameter
(not *:*)
the field id is docValued and title is text field.
localhost:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id

o.a.s.s.HttpSolrCall null:java.lang.NullPointerException: Cannot invoke
"org.apache.lucene.util.BitSet.length()" because "bits" is null
        at
org.apache.lucene.util.BitSetIterator.<init>(BitSetIterator.java:61)
        at
org.apache.solr.handler.export.ExportWriter.identifyLowestSortingUnexportedDocs(ExportWriter.java:433)
        at
org.apache.solr.handler.export.ExportWriter.fillOutDocs(ExportWriter.java:523)
        at
org.apache.solr.handler.export.ExportWriter.writeDocs(ExportWriter.java:514)
        at
org.apache.solr.handler.export.ExportWriter.lambda$null$1(ExportWriter.java:411)
        at
org.apache.solr.common.util.JsonTextWriter.writeIterator(JsonTextWriter.java:141)

However, those 2 queries are woking good.
localhost:8983/solr/testcollection/export?q=title:*&sort=id+asc&fl=id
localhost:8983/solr/testcollection/export?q=*:*&sort=id+asc&fl=id

ANy issues and anything I missed?

Re: Export Handler Exception

Posted by Jae Joo <ja...@gmail.com>.
localhosrt:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id

in Solr 8.6.2 and 8.8.

Amazon.com Inc. OpenJDK 64-Bit Server VM 15.0.1 15.0.1+9



On Mon, Jun 7, 2021 at 4:02 PM Joel Bernstein <jo...@gmail.com> wrote:
>
> Can you post the full URL of the failing request?
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
>
> On Mon, Jun 7, 2021 at 11:41 AM Jae Joo <ja...@gmail.com> wrote:
>
> > 8.6.2
> >
> > On Mon, Jun 7, 2021 at 9:59 AM Joel Bernstein <jo...@gmail.com> wrote:
> >
> > > Which version of Solr are you using?
> > >
> > >
> > > Joel Bernstein
> > > http://joelsolr.blogspot.com/
> > >
> > >
> > > On Thu, Jun 3, 2021 at 11:09 AM Jae Joo <ja...@gmail.com> wrote:
> > >
> > > > I am having the exception fro export Handler with specified q parameter
> > > > (not *:*)
> > > > the field id is docValued and title is text field.
> > > >
> > >
> > localhost:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id
> > > >
> > > > o.a.s.s.HttpSolrCall null:java.lang.NullPointerException: Cannot invoke
> > > > "org.apache.lucene.util.BitSet.length()" because "bits" is null
> > > >         at
> > > > org.apache.lucene.util.BitSetIterator.<init>(BitSetIterator.java:61)
> > > >         at
> > > >
> > > >
> > >
> > org.apache.solr.handler.export.ExportWriter.identifyLowestSortingUnexportedDocs(ExportWriter.java:433)
> > > >         at
> > > >
> > > >
> > >
> > org.apache.solr.handler.export.ExportWriter.fillOutDocs(ExportWriter.java:523)
> > > >         at
> > > >
> > > >
> > >
> > org.apache.solr.handler.export.ExportWriter.writeDocs(ExportWriter.java:514)
> > > >         at
> > > >
> > > >
> > >
> > org.apache.solr.handler.export.ExportWriter.lambda$null$1(ExportWriter.java:411)
> > > >         at
> > > >
> > > >
> > >
> > org.apache.solr.common.util.JsonTextWriter.writeIterator(JsonTextWriter.java:141)
> > > >
> > > > However, those 2 queries are woking good.
> > > > localhost:8983/solr/testcollection/export?q=title:*&sort=id+asc&fl=id
> > > > localhost:8983/solr/testcollection/export?q=*:*&sort=id+asc&fl=id
> > > >
> > > > ANy issues and anything I missed?
> > > >
> > >
> >

Re: Export Handler Exception

Posted by Joel Bernstein <jo...@gmail.com>.
Can you post the full URL of the failing request?


Joel Bernstein
http://joelsolr.blogspot.com/


On Mon, Jun 7, 2021 at 11:41 AM Jae Joo <ja...@gmail.com> wrote:

> 8.6.2
>
> On Mon, Jun 7, 2021 at 9:59 AM Joel Bernstein <jo...@gmail.com> wrote:
>
> > Which version of Solr are you using?
> >
> >
> > Joel Bernstein
> > http://joelsolr.blogspot.com/
> >
> >
> > On Thu, Jun 3, 2021 at 11:09 AM Jae Joo <ja...@gmail.com> wrote:
> >
> > > I am having the exception fro export Handler with specified q parameter
> > > (not *:*)
> > > the field id is docValued and title is text field.
> > >
> >
> localhost:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id
> > >
> > > o.a.s.s.HttpSolrCall null:java.lang.NullPointerException: Cannot invoke
> > > "org.apache.lucene.util.BitSet.length()" because "bits" is null
> > >         at
> > > org.apache.lucene.util.BitSetIterator.<init>(BitSetIterator.java:61)
> > >         at
> > >
> > >
> >
> org.apache.solr.handler.export.ExportWriter.identifyLowestSortingUnexportedDocs(ExportWriter.java:433)
> > >         at
> > >
> > >
> >
> org.apache.solr.handler.export.ExportWriter.fillOutDocs(ExportWriter.java:523)
> > >         at
> > >
> > >
> >
> org.apache.solr.handler.export.ExportWriter.writeDocs(ExportWriter.java:514)
> > >         at
> > >
> > >
> >
> org.apache.solr.handler.export.ExportWriter.lambda$null$1(ExportWriter.java:411)
> > >         at
> > >
> > >
> >
> org.apache.solr.common.util.JsonTextWriter.writeIterator(JsonTextWriter.java:141)
> > >
> > > However, those 2 queries are woking good.
> > > localhost:8983/solr/testcollection/export?q=title:*&sort=id+asc&fl=id
> > > localhost:8983/solr/testcollection/export?q=*:*&sort=id+asc&fl=id
> > >
> > > ANy issues and anything I missed?
> > >
> >
>

Re: Export Handler Exception

Posted by Jae Joo <ja...@gmail.com>.
8.6.2

On Mon, Jun 7, 2021 at 9:59 AM Joel Bernstein <jo...@gmail.com> wrote:

> Which version of Solr are you using?
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
>
> On Thu, Jun 3, 2021 at 11:09 AM Jae Joo <ja...@gmail.com> wrote:
>
> > I am having the exception fro export Handler with specified q parameter
> > (not *:*)
> > the field id is docValued and title is text field.
> >
> localhost:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id
> >
> > o.a.s.s.HttpSolrCall null:java.lang.NullPointerException: Cannot invoke
> > "org.apache.lucene.util.BitSet.length()" because "bits" is null
> >         at
> > org.apache.lucene.util.BitSetIterator.<init>(BitSetIterator.java:61)
> >         at
> >
> >
> org.apache.solr.handler.export.ExportWriter.identifyLowestSortingUnexportedDocs(ExportWriter.java:433)
> >         at
> >
> >
> org.apache.solr.handler.export.ExportWriter.fillOutDocs(ExportWriter.java:523)
> >         at
> >
> >
> org.apache.solr.handler.export.ExportWriter.writeDocs(ExportWriter.java:514)
> >         at
> >
> >
> org.apache.solr.handler.export.ExportWriter.lambda$null$1(ExportWriter.java:411)
> >         at
> >
> >
> org.apache.solr.common.util.JsonTextWriter.writeIterator(JsonTextWriter.java:141)
> >
> > However, those 2 queries are woking good.
> > localhost:8983/solr/testcollection/export?q=title:*&sort=id+asc&fl=id
> > localhost:8983/solr/testcollection/export?q=*:*&sort=id+asc&fl=id
> >
> > ANy issues and anything I missed?
> >
>

Re: Export Handler Exception

Posted by Joel Bernstein <jo...@gmail.com>.
Which version of Solr are you using?


Joel Bernstein
http://joelsolr.blogspot.com/


On Thu, Jun 3, 2021 at 11:09 AM Jae Joo <ja...@gmail.com> wrote:

> I am having the exception fro export Handler with specified q parameter
> (not *:*)
> the field id is docValued and title is text field.
> localhost:8983/solr/testcollection/export?q=title:iphone&sort=id+asc&fl=id
>
> o.a.s.s.HttpSolrCall null:java.lang.NullPointerException: Cannot invoke
> "org.apache.lucene.util.BitSet.length()" because "bits" is null
>         at
> org.apache.lucene.util.BitSetIterator.<init>(BitSetIterator.java:61)
>         at
>
> org.apache.solr.handler.export.ExportWriter.identifyLowestSortingUnexportedDocs(ExportWriter.java:433)
>         at
>
> org.apache.solr.handler.export.ExportWriter.fillOutDocs(ExportWriter.java:523)
>         at
>
> org.apache.solr.handler.export.ExportWriter.writeDocs(ExportWriter.java:514)
>         at
>
> org.apache.solr.handler.export.ExportWriter.lambda$null$1(ExportWriter.java:411)
>         at
>
> org.apache.solr.common.util.JsonTextWriter.writeIterator(JsonTextWriter.java:141)
>
> However, those 2 queries are woking good.
> localhost:8983/solr/testcollection/export?q=title:*&sort=id+asc&fl=id
> localhost:8983/solr/testcollection/export?q=*:*&sort=id+asc&fl=id
>
> ANy issues and anything I missed?
>