Ah, it was caused by an badly made alias via the GUI. If you do not select the
destination collection in that popup, it will mess up, and show these
exceptions.
-----Original message-----
> From:Markus Jelsma <markus.jel...@openindex.io>
> Sent: Tuesday 17th July 2018 16:52
> To: solr-user@lucene.apache.org
> Subject: RE: Cannot index to 7.2.1 collection alias
>
> Hi Shawn,
>
> Indexing stack trace:
>
> null:java.lang.NullPointerException
> at
> org.apache.solr.servlet.HttpSolrCall.getCoreUrl(HttpSolrCall.java:931)
> at
> org.apache.solr.servlet.HttpSolrCall.getRemotCoreUrl(HttpSolrCall.java:902)
> at
> org.apache.solr.servlet.HttpSolrCall.extractRemotePath(HttpSolrCall.java:432)
> at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:289)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:470)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
>
> Reloading an alias is just not supported it seems:
>
> 2018-07-17 14:51:35.223 ERROR
> (OverseerThreadFactory-32-thread-5-processing-n:idx2.oi.dev:8983_solr) [ ]
> o.a.s.c.OverseerCollectionMessageHandler Collection: c1 operation: reload
> failed:org.apache.solr.common.SolrException: Could not find collection : c1
> at
> org.apache.solr.common.cloud.ClusterState.getCollection(ClusterState.java:111)
> at
> org.apache.solr.cloud.OverseerCollectionMessageHandler.collectionCmd(OverseerCollectionMessageHandler.java:795)
> at
> org.apache.solr.cloud.OverseerCollectionMessageHandler.collectionCmd(OverseerCollectionMessageHandler.java:784)
>
>
> Thanks,
> MArkus
>
> -----Original message-----
> > From:Shawn Heisey <apa...@elyograg.org>
> > Sent: Tuesday 17th July 2018 16:39
> > To: solr-user@lucene.apache.org
> > Subject: Re: Cannot index to 7.2.1 collection alias
> >
> > On 7/17/2018 6:28 AM, Markus Jelsma wrote:
> > > Just attempted to connect and index a bunch of documents to a collection
> > > alias, got a NPE right away. Can't find this error in Jira, did i
> > > overlook something? Create new ticket?
> >
> > Indexing to an alias should send the documents only to the first
> > collection in the alias. I am not aware of any problems in this
> > functionality.
> >
> > Before opening a Jira, can we see the full stacktrace from the error, so
> > we can look into it? Can you confirm that 7.2.1 is the version that
> > created the stacktrace?
> >
> > I don't know whether RELOAD is supported on aliases. It would be good
> > to see that stacktrace as well.
> >
> > Thanks,
> > Shawn
> >
> >
>