You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/01/11 16:21:36 UTC
[jira] [Reopened] (SOLR-6880) ZKStateReader makes a call to
updateWatchedCollection, which doesn't accept null with a method creating
the argument that can return null.
[ https://issues.apache.org/jira/browse/SOLR-6880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller reopened SOLR-6880:
-------------------------------
Hey [~shalinmangar], it seems that the assert you added in updateClusterState can be tripped in CollectionsAPIDistributedZkTest.
{noformat}
Error from server at http://127.0.0.1:40942: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 {trace=java.lang.AssertionError at org.apache.solr.common.cloud.ZkStateReader.updateClusterState(ZkStateReader.java:532) at org.apache.solr.common.cloud.ZkStateReader.updateClusterState(ZkStateReader.java:255) at org.apache.solr.common.cloud.ZkStateReader.removeZKWatch(ZkStateReader.java:900) at org.apache.solr.cloud.ZkController.unregister(ZkController.java:1218) at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:590) at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:199) at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:188) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144) at
{noformat}
> ZKStateReader makes a call to updateWatchedCollection, which doesn't accept null with a method creating the argument that can return null.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-6880
> URL: https://issues.apache.org/jira/browse/SOLR-6880
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Minor
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6880.patch, SOLR-6880.patch
>
>
> I've seen the resulting NPE in tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org