You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "hulucc (via GitHub)" <gi...@apache.org> on 2024/11/07 06:40:18 UTC

[I] Prometheus Exporter Nullpointer exception 2 [cloudstack]

hulucc opened a new issue, #9901:
URL: https://github.com/apache/cloudstack/issues/9901

   ISSUE TYPE
   
   Bug Report
   
   COMPONENT NAME
   
   Prometheus Exporter
   
   CLOUDSTACK VERSION
   
   4.18
   
   After the fix of #8024, get anothoer `NullPointerException` in prometheus exporter
   
   ```
   cloudstack-0 cloudstack WARN  [o.a.c.m.PrometheusExporterImpl] (HTTP-Dispatcher:null) (logid:) Getting metrics failed
   cloudstack-0 cloudstack java.lang.NullPointerException
   cloudstack-0 cloudstack         at org.apache.cloudstack.metrics.PrometheusExporterImpl.addHostMetrics(PrometheusExporterImpl.java:164)
   cloudstack-0 cloudstack         at org.apache.cloudstack.metrics.PrometheusExporterImpl.updateMetrics(PrometheusExporterImpl.java:458)
   cloudstack-0 cloudstack         at org.apache.cloudstack.metrics.PrometheusExporterServerImpl$ExporterHandler.handle(PrometheusExporterServerImpl.java:57)
   cloudstack-0 cloudstack         at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
   cloudstack-0 cloudstack         at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:848)
   cloudstack-0 cloudstack         at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:817)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.ServerImpl$DefaultExecutor.execute(ServerImpl.java:201)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:560)
   cloudstack-0 cloudstack         at jdk.httpserver/sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:526)
   cloudstack-0 cloudstack         at java.base/java.lang.Thread.run(Thread.java:829)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Prometheus Exporter Nullpointer exception 2 [cloudstack]

Posted by "hulucc (via GitHub)" <gi...@apache.org>.
hulucc closed issue #9901: Prometheus Exporter Nullpointer exception 2
URL: https://github.com/apache/cloudstack/issues/9901


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Prometheus Exporter Nullpointer exception 2 [cloudstack]

Posted by "hulucc (via GitHub)" <gi...@apache.org>.
hulucc commented on issue #9901:
URL: https://github.com/apache/cloudstack/issues/9901#issuecomment-2461442682

   already fixed in 4.19.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org