[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-22 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18130371#comment-18130371
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit a3ff1e362635321ab58c783089fef60e90ec95fe in solr's branch 
refs/heads/branch_9x from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=a3ff1e36263 ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 
Adapted for branch_9x: applied to the v1 Admin UI services; the Selenium test is
omitted since its test base class is not on 9.x.

(cherry picked from commit e432df19c4a50b9d54d7fba545397b859cc54f98)
(cherry picked from commit ca0ad8281f6ddd4d1943a0028487f0bd287144f6)


> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Assignee: Eric Pugh
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 10.1
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-06 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123799#comment-18123799
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit e432df19c4a50b9d54d7fba545397b859cc54f98 in solr's branch 
refs/heads/jira/SOLR-17697-picocli from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e432df19c4a ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Assignee: Eric Pugh
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 10.1
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123430#comment-18123430
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit ca0ad8281f6ddd4d1943a0028487f0bd287144f6 in solr's branch 
refs/heads/branch_10x from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=ca0ad8281f6 ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 
(cherry picked from commit e432df19c4a50b9d54d7fba545397b859cc54f98)


> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Blocker
>  Labels: pull-request-available
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123429#comment-18123429
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit ca0ad8281f6ddd4d1943a0028487f0bd287144f6 in solr's branch 
refs/heads/branch_10x from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=ca0ad8281f6 ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 
(cherry picked from commit e432df19c4a50b9d54d7fba545397b859cc54f98)


> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Blocker
>  Labels: pull-request-available
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123428#comment-18123428
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit da2298fb2e855bdad9f18263254c41abfab2302a in solr's branch 
refs/heads/branch_10_1 from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=da2298fb2e8 ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 
(cherry picked from commit e432df19c4a50b9d54d7fba545397b859cc54f98)


> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Blocker
>  Labels: pull-request-available
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123405#comment-18123405
 ] 

ASF subversion and git services commented on SOLR-18317:


Commit e432df19c4a50b9d54d7fba545397b859cc54f98 in solr's branch 
refs/heads/main from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e432df19c4a ]

SOLR-18317: Admin UI no longer sends nodes=all in standalone mode (#5001)

Co-authored-by: Eric Pugh 

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Blocker
>  Labels: pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-10-01 Thread Nick Shanin (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121753#comment-18121753
 ] 

Nick Shanin commented on SOLR-18317:


I opened PR #5001 for this: [https://github.com/apache/solr/pull/5001]
 

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-07-24 Thread Eric Pugh (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098854#comment-18098854
 ] 

Eric Pugh commented on SOLR-18317:
--

I dug into migrating logging.js to the v2 apis, and made good progress till I 
ran into this problem!   SOLR-16738 apparently gets the plumbing in place, but 
we still don't actually use it for the Logging stuff yet!

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-07-23 Thread Chris M. Hostetter (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098610#comment-18098610
 ] 

Chris M. Hostetter commented on SOLR-18317:
---

{quote}Do the V2 equivalent have the same issues?   If not, maybe the easiest 
fix is just to update the Admin UI to use the equivalent API?
{quote}
IIUC {{RemoteRequestProxy}} (and specifically 
{{RemoteRequestProxy.validateNodeNames()}}) are still used in the V2 situation 
... they are just used via the {{V2SolrRequestBasedProxy}} subclass instead of 
the {{GenericV1RequestProxy}} subclass.

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-07-23 Thread Eric Pugh (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098572#comment-18098572
 ] 

Eric Pugh commented on SOLR-18317:
--

one thought...   Do the V2 equivalent have the same issues?   If not, maybe the 
easiest fix is just to update the Admin UI to use the equivalent API?

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-07-23 Thread Chris M. Hostetter (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098555#comment-18098555
 ] 

Chris M. Hostetter commented on SOLR-18317:
---

 

IMO: remote callers (like the admin UI, or utility scripts) should not have to 
know/care if the solr they are talking to use user-managed or not – they should 
be able to send the exact same request params in eithercase

Strawman suggestions:
 * Make the proxy APIs smart enough to recognize that {{nodes=all}} should just 
be the local node if we are in user-managed mode (long before triggering an NPE)
 ** if {{nodes=a,b,c,...}} (ie: a literal list of nodes) in user-managed mode, 
throw a clear 400 error explaining the problem (long before an NPE is triggered 
for not having a zkStatereader)

...OR

 * Add a new {{nodes=any}} variant to these "proxiable" APIs
 ** in zk mode treat {{{}any==all{}}}, in user-managed mode treat {{any}} as 
just the local node
 ** change Solr UI to send {{nodes=any}} anyplace it currently sends 
{{nodes=all}}
 ** if any value other then {{any}} (ie: {{all}} or a literal list of nodes)  
is received in user-managed mode, throw a very clear 400 error explaining the 
problem (long before an NPE is triggered for not having a zkStatereader)

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be {{LoggingHandler}}, {{MetricsHandler}}, and {{SystemInfoHandler}}
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (SOLR-18317) standalone solr 10 logging UI tries to access zookeeper: NullPointerException

2026-07-23 Thread Chris M. Hostetter (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098548#comment-18098548
 ] 

Chris M. Hostetter commented on SOLR-18317:
---

Stack trace logged by Solr-10.0.0 when using {{docker run -it --rm -p 8983:8983 
solr:10.0.0 --user-managed}} and trying to change the log level in the UI...
{noformat}
2026-07-23 17:04:37.999 INFO  (qtp69329761-40-null-31) [ t:null-31] 
o.a.s.l.l.Log4j2Watcher Setting log level to 'INFO' for logger: root
2026-07-23 17:04:38.003 ERROR (qtp69329761-40-null-31) [ t:null-31] 
o.a.s.h.RequestHandlerBase Server exception =>java.lang.NullPointerException: 
Cannot read field "zkStateReader" because the return value of 
"org.apache.solr.core.CoreContainer.getZkController()" is null
at 
org.apache.solr.handler.admin.AdminHandlersProxy.resolveNodes(AdminHandlersProxy.java:170)

2026-07-23 17:04:38.003 INFO  (qtp69329761-40-null-31) [ t:null-31] 
o.a.s.s.HttpSolrCall [admin] path=/admin/info/logging 
params={nodes=all&set=root:INFO&wt=json&_=1784826261694} status=500 QTime=6
2026-07-23 17:04:38.004 ERROR (qtp69329761-40-null-31) [ t:null-31] 
o.a.s.s.HttpSolrCall 500 Exception =>java.lang.NullPointerException: Cannot 
read field "zkStateReader" because the return value of 
"org.apache.solr.core.CoreContainer.getZkController()" is null
at 
org.apache.solr.handler.admin.AdminHandlersProxy.resolveNodes(AdminHandlersProxy.java:170)
{noformat}

Stack trace logged by current branch_10x when using {{./gradlew dev; 
./solr/packaging/build/dev/bin/solr start --user-managed}} and trying to make 
the same change via the UI...

{noformat}
2026-07-23 17:39:38.433 INFO  (qtp65488937-40-null-10) [ t:null-10] 
o.a.s.s.HttpSolrCall [admin] path=/admin/info/logging 
params={nodes=all&set=root:WARN&wt=json&_=1784827279633} status=500 QTime=4
2026-07-23 17:39:38.433 ERROR (qtp65488937-40-null-10) [ t:null-10] 
o.a.s.s.HttpSolrCall 500 Exception
java.lang.NullPointerException: Cannot read field "zkStateReader" because the 
return value of "org.apache.solr.core.CoreContainer.getZkController()" is null
at 
org.apache.solr.handler.admin.proxy.RemoteRequestProxy.validateNodeNames(RemoteRequestProxy.java:154)
at 
org.apache.solr.handler.admin.proxy.GenericV1RequestProxy.getDestinationNodes(GenericV1RequestProxy.java:55)
at 
org.apache.solr.handler.admin.proxy.RemoteRequestProxy.proxyRequest(RemoteRequestProxy.java:86)
at 
org.apache.solr.handler.admin.LoggingHandler.handleRequestBody(LoggingHandler.java:95)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:251)
at 
org.apache.solr.handler.admin.InfoHandler.handle(InfoHandler.java:109)
at 
org.apache.solr.handler.admin.InfoHandler.handleRequestBody(InfoHandler.java:97)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:251)
at 
org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:747)
at 
org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:706)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:473)
{noformat}

> standalone solr 10 logging UI tries to access zookeeper: NullPointerException
> -
>
> Key: SOLR-18317
> URL: https://issues.apache.org/jira/browse/SOLR-18317
> Project: Solr
>  Issue Type: Test
>Affects Versions: 10.0
>Reporter: Chris M. Hostetter
>Priority: Major
>
> The following problem affects solr-10 and the current 10x branch (but with 
> slightly different stack traces)
> When using solr in "user managed" (aka: standalone) mode, attempts to use the 
> admin UI logging screen to change the log level succeed in changing the log 
> level on the node, but also cause a NullPointerException as the underlying 
> java code tries to use zookeeper to lookup a list of nodes to proxy the 
> request to.
> Making an explicit request to {{/admin/info/logging?set=...}} does not cause 
> a NullPointerException.
> The underlying problem seems to be a disconnect in the 
> assumptions/preconditions in various pieces of code:
>  * the UI assumes it can _*always*_ include the {{nodes=all}} param when 
> sending {{set=...}} to {{/admin/info/logging}}
>  * {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume they will only be 
> invoked in a "cloud" deployment
>  * callers to {{AdminHandlersProxy.resolveNodes()}} and/or 
> {{RemoteRequestProxy.validateNodeNames()}} seem to assume requests should be 
> proxied anytime a {{node(s)}} param is specified.
> {panel}I believe this bug affects any Solr APIs that may delegate to 
> {{AdminHandlersProxy}} and/or {{RemoteRequestProxy}} -- so at a minimum that 
> would be