[ https://issues.apache.org/jira/browse/SOLR-14412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094764#comment-17094764 ]
ASF subversion and git services commented on SOLR-14412: -------------------------------------------------------- Commit 0fc5179c6a7247b2a6df93459cd29aec4d60658d in lucene-solr's branch refs/heads/master from Mike Drob [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0fc5179 ] SOLR-14412 only set ssl props when ssl enabled > NPE in MetricsHistoryHandler when running single node in cloud mode with SSL > ---------------------------------------------------------------------------- > > Key: SOLR-14412 > URL: https://issues.apache.org/jira/browse/SOLR-14412 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics > Affects Versions: master (9.0) > Environment: 9.0.0-SNAPSHOT, SSL enabled (self-signed certificate), > cloud mode. > Reporter: Mike Drob > Assignee: Mike Drob > Priority: Major > Fix For: master (9.0) > > > {noformat} > 2020-04-17 15:35:19.335 INFO (MetricsHistoryHandler-22-thread-1) [ ] > o.a.s.c.s.i.SolrClientNodeStateProvider Error on getting remote info, trying > again: IOException occurred when talking to server at: > http://localhost:8983/solr > 2020-04-17 15:35:19.842 INFO (MetricsHistoryHandler-22-thread-1) [ ] > o.a.s.c.s.i.SolrClientNodeStateProvider Error on getting remote info, trying > again: IOException occurred when talking to server at: > http://localhost:8983/solr > 2020-04-17 15:35:20.346 INFO (MetricsHistoryHandler-22-thread-1) [ ] > o.a.s.c.s.i.SolrClientNodeStateProvider Error on getting remote info, trying > again: IOException occurred when talking to server at: > http://localhost:8983/solr > 2020-04-17 15:35:20.851 WARN (MetricsHistoryHandler-22-thread-1) [ ] > o.a.s.c.s.i.SolrClientNodeStateProvider could not get tags from node > localhost:8983_solr => java.lang.NullPointerException > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.lambda$fetchReplicaMetrics$7(SolrClientNodeStateProvider.java:226) > java.lang.NullPointerException: null > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.lambda$fetchReplicaMetrics$7(SolrClientNodeStateProvider.java:226) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at java.util.HashMap.forEach(HashMap.java:1336) ~[?:?] > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchReplicaMetrics(SolrClientNodeStateProvider.java:225) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider$AutoScalingSnitch.getRemoteInfo(SolrClientNodeStateProvider.java:271) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.common.cloud.rule.ImplicitSnitch.getTags(ImplicitSnitch.java:75) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchTagValues(SolrClientNodeStateProvider.java:139) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.getNodeValues(SolrClientNodeStateProvider.java:128) > ~[solr-solrj-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.handler.admin.MetricsHistoryHandler.collectGlobalMetrics(MetricsHistoryHandler.java:506) > ~[solr-core-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.handler.admin.MetricsHistoryHandler.collectMetrics(MetricsHistoryHandler.java:378) > ~[solr-core-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > org.apache.solr.handler.admin.MetricsHistoryHandler.lambda$new$0(MetricsHistoryHandler.java:235) > ~[solr-core-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT > 74ecc13816fb6aae6e512e2e9d815459e235a120 - mdrob - 2020-04-17 10:28:44] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) > ~[?:?] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) > ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > ~[?:?] > at java.lang.Thread.run(Thread.java:834) [?:?] {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org