Title: Native Histogram not working with GraalVM · Issue #1995 · prometheus/client_java · GitHub
Open Graph Title: Native Histogram not working with GraalVM · Issue #1995 · prometheus/client_java
X Title: Native Histogram not working with GraalVM · Issue #1995 · prometheus/client_java
Description: SEVERE: The Prometheus metrics HTTPServer caught an Exception while trying to send the metrics response. java.lang.IllegalStateException: Generated message class "io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_34...
Open Graph Description: SEVERE: The Prometheus metrics HTTPServer caught an Exception while trying to send the metrics response. java.lang.IllegalStateException: Generated message class "io.prometheus.metrics.expositionfo...
X Description: SEVERE: The Prometheus metrics HTTPServer caught an Exception while trying to send the metrics response. java.lang.IllegalStateException: Generated message class "io.prometheus.metrics.exposit...
Opengraph URL: https://github.com/prometheus/client_java/issues/1995
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Native Histogram not working with GraalVM","articleBody":"```\nSEVERE: The Prometheus metrics HTTPServer caught an Exception while trying to send the metrics response.\njava.lang.IllegalStateException: Generated message class \"io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_34_0.Metrics$MetricFamily\" missing method \"getName\".\n\tat com.google.protobuf.GeneratedMessage.getMethodOrDie(GeneratedMessage.java:2109)\n\tat com.google.protobuf.GeneratedMessage.access$1100(GeneratedMessage.java:55)\n\tat com.google.protobuf.GeneratedMessage$FieldAccessorTable$SingularFieldAccessor$ReflectionInvoker.\u003cinit>(GeneratedMessage.java:2494)\n\tat com.google.protobuf.GeneratedMessage$FieldAccessorTable$SingularFieldAccessor.\u003cinit>(GeneratedMessage.java:2563)\n\tat com.google.protobuf.GeneratedMessage$FieldAccessorTable$SingularStringFieldAccessor.\u003cinit>(GeneratedMessage.java:3212)\n\tat com.google.protobuf.GeneratedMessage$FieldAccessorTable.ensureFieldAccessorsInitialized(GeneratedMessage.java:2257)\n\tat io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_34_0.Metrics$MetricFamily.internalGetFieldAccessorTable(Metrics.java:13756)\n\tat com.google.protobuf.GeneratedMessage.getAllFieldsMutable(GeneratedMessage.java:132)\n\tat com.google.protobuf.GeneratedMessage.getAllFields(GeneratedMessage.java:210)\n\tat com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:794)\n\tat com.google.protobuf.TextFormat$Printer.print(TextFormat.java:401)\n\tat com.google.protobuf.TextFormat$Printer.print(TextFormat.java:386)\n\tat com.google.protobuf.TextFormat$Printer.printToString(TextFormat.java:683)\n\tat com.google.protobuf.TextFormat$Printer.printToString(TextFormat.java:674)\n\tat io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl.toDebugString(PrometheusProtobufWriterImpl.java:53)\n\tat io.prometheus.metrics.expositionformats.PrometheusProtobufWriter.toDebugString(PrometheusProtobufWriter.java:59)\n\tat io.prometheus.metrics.exporter.common.PrometheusScrapeHandler.writeDebugResponse(PrometheusScrapeHandler.java:169)\n\tat io.prometheus.metrics.exporter.common.PrometheusScrapeHandler.handleRequest(PrometheusScrapeHandler.java:64)\n\tat io.prometheus.metrics.exporter.httpserver.MetricsHandler.handle(MetricsHandler.java:33)\n\tat jdk.httpserver@25.0.2/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)\n\tat jdk.httpserver@25.0.2/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:76)\n\tat jdk.httpserver@25.0.2/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:101)\n\tat jdk.httpserver@25.0.2/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:915)\n\tat jdk.httpserver@25.0.2/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)\n\tat jdk.httpserver@25.0.2/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:891)\n\tat java.base@25.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)\n\tat java.base@25.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)\n\tat java.base@25.0.2/java.lang.Thread.runWith(Thread.java:1487)\n\tat java.base@25.0.2/java.lang.Thread.run(Thread.java:1474)\n\tat org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:837)\n\tat org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:813)\nCaused by: java.lang.NoSuchMethodException: io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_34_0.Metrics$MetricFamily.getName()\n\tat java.base@25.0.2/java.lang.Class.checkMethod(DynamicHub.java:1343)\n\tat java.base@25.0.2/java.lang.Class.getMethod(DynamicHub.java:1337)\n\tat com.google.protobuf.GeneratedMessage.getMethodOrDie(GeneratedMessage.java:2106)\n\t... 30 more\n```","author":{"url":"https://github.com/altaiezior","@type":"Person","name":"altaiezior"},"datePublished":"2026-04-15T17:04:11Z","url":"https://github.com/prometheus/client_java/issues/1995"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f76a8cb-a875-5880-abf6-660a948f7eee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8A2:1BB36A:2186FB0:2D36732:6AFBA897 |
| html-safe-nonce | ad46020f6b7ba4d9823a6b6b0f977cfbc61eb67891e61d11e144e450f61fbbb6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEEyOjFCQjM2QToyMTg2RkIwOjJEMzY3MzI6NkFGQkE4OTciLCJ2aXNpdG9yX2lkIjoiODAxODg5NjM3OTQzNjU3NDg3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75a3b970d949e0c165ababcb6253db617fcb865fda69f14aced302a8345f52df |
| hovercard-subject-tag | issue:4270449037 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/prometheus/client_java/1995/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0949c9b737041320a9636605ed40995d7436493ed41a430c1f4466fd6d12d401/prometheus/client_java/issues/1995 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0949c9b737041320a9636605ed40995d7436493ed41a430c1f4466fd6d12d401/prometheus/client_java/issues/1995 |
| og:image:alt | SEVERE: The Prometheus metrics HTTPServer caught an Exception while trying to send the metrics response. java.lang.IllegalStateException: Generated message class "io.prometheus.metrics.expositionfo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | altaiezior |
| hostname | github.com |
| expected-hostname | github.com |
| None | 03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf |
| turbo-cache-control | no-preview |
| go-import | github.com/prometheus/client_java git https://github.com/prometheus/client_java.git |
| octolytics-dimension-user_id | 3380462 |
| octolytics-dimension-user_login | prometheus |
| octolytics-dimension-repository_id | 7997879 |
| octolytics-dimension-repository_nwo | prometheus/client_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7997879 |
| octolytics-dimension-repository_network_root_nwo | prometheus/client_java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f00295b9a35dca977890ab83b22788ab211dc8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width