Metabase email dashboard error

Hi All,

I am running metabase in a k8 cluster and everything is running fine.I am running a community edition on k8.Now I am able to create dashboards and other stuff and i have set a amazon ses email service with metabase to send the dashboards to emails.But I am getting the below error and when i am trying to send the dashboards over email.Below is the full stack trace:

2024-09-06 10:29:32,689 ERROR pulse.render :: Pulse card render error

clojure.lang.ExceptionInfo: Error registering fonts: Metabase will not be able to send Pulses. This is a known issue with certain JVMs. See Pulse: slack messaging not working - NullpointerException · Issue #7986 · metabase/metabase · GitHub and for more details. {}

at metabase.pulse.render.style$register_fonts_BANG_.invokeStatic(style.clj:117)

at metabase.pulse.render.style$register_fonts_BANG_.invoke(style.clj:107)

at metabase.pulse.render.style$fn__50542$fn__50543.invoke(style.clj:121)

at clojure.lang.Delay.deref(Delay.java:42)

at clojure.core$deref.invokeStatic(core.clj:2337)

at clojure.core$deref.invoke(core.clj:2323)

at metabase.pulse.render.style$fn__50542$fn__50545.invoke(style.clj:122)

at metabase.pulse.render.js_svg$render_svg.invokeStatic(js_svg.clj:99)

at metabase.pulse.render.js_svg$render_svg.invoke(js_svg.clj:97)

at metabase.pulse.render.js_svg$svg_string__GT_bytes.invokeStatic(js_svg.clj:112)

at metabase.pulse.render.js_svg$svg_string__GT_bytes.invoke(js_svg.clj:111)

at metabase.pulse.render.js_svg$combo_chart.invokeStatic(js_svg.clj:141)

at metabase.pulse.render.js_svg$combo_chart.invoke(js_svg.clj:133)

at metabase.pulse.render.body$lab_image_bundle.invokeStatic(body.clj:841)

at metabase.pulse.render.body$lab_image_bundle.invoke(body.clj:816)

at metabase.pulse.render.body$fn__73908$render__73896__73913$fn__73914.invoke(body.clj:860)

at metabase.pulse.render.body$fn__73908$render__73896__73913.invoke(body.clj:858)

at clojure.lang.MultiFn.invoke(MultiFn.java:261)

at metabase.pulse.render$fn__74652$render_pulse_card_body__74657$fn__74661.invoke(render.clj:138)

at metabase.pulse.render$fn__74652$render_pulse_card_body__74657.invoke(render.clj:128)

at metabase.pulse.render$fn__74692$render_pulse_card__74697$fn__74698.invoke(render.clj:167)

at metabase.pulse.render$fn__74692$render_pulse_card__74697.invoke(render.clj:149)

at metabase.pulse.render$fn__74724$render_pulse_section__74729$fn__74733$fn__74736.invoke(render.clj:199)

at metabase.pulse.render$fn__74724$render_pulse_section__74729$fn__74733.invoke(render.clj:197)

at metabase.pulse.render$fn__74724$render_pulse_section__74729.invoke(render.clj:194)

at metabase.email.messages$render_part.invokeStatic(messages.clj:442)

at metabase.email.messages$render_part.invoke(messages.clj:438)

at metabase.email.messages$render_message_body$fn__75779$fn__75780.invoke(messages.clj:495)

at clojure.core$mapv$fn__8535.invoke(core.clj:6979)

at clojure.core.protocols$fn__8249.invokeStatic(protocols.clj:168)

at clojure.core.protocols$fn__8249.invoke(protocols.clj:124)

at clojure.core.protocols$fn__8204$G__8199__8213.invoke(protocols.clj:19)

at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)

at clojure.core.protocols$fn__8236.invokeStatic(protocols.clj:75)

at clojure.core.protocols$fn__8236.invoke(protocols.clj:75)

at clojure.core.protocols$fn__8178$G__8173__8191.invoke(protocols.clj:13)

at clojure.core$reduce.invokeStatic(core.clj:6886)

at clojure.core$mapv.invokeStatic(core.clj:6970)

at clojure.core$mapv.invoke(core.clj:6970)

at metabase.email.messages$render_message_body$fn__75779.invoke(messages.clj:495)

at metabase.email.messages$render_message_body.invokeStatic(messages.clj:494)

at metabase.email.messages$render_message_body.invoke(messages.clj:492)

at metabase.email.messages$render_pulse_email.invokeStatic(messages.clj:521)

at metabase.email.messages$render_pulse_email.invoke(messages.clj:518)

at metabase.pulse$fn__101408.invokeStatic(pulse.clj:433)

at metabase.pulse$fn__101408.invoke(pulse.clj:422)

at clojure.lang.MultiFn.invoke(MultiFn.java:239)

at metabase.pulse$parts__GT_notifications$iter__101482__101486$fn__101487$fn__101488.invoke(pulse.clj:504)

at metabase.pulse$parts__GT_notifications$iter__101482__101486$fn__101487.invoke(pulse.clj:502)

at clojure.lang.LazySeq.sval(LazySeq.java:42)

at clojure.lang.LazySeq.seq(LazySeq.java:51)

at clojure.lang.RT.seq(RT.java:535)

at clojure.core$seq__5467.invokeStatic(core.clj:139)

at clojure.core$seq__5467.invoke(core.clj:139)

at metabase.pulse$send_notifications_BANG_.invokeStatic(pulse.clj:626)

at metabase.pulse$send_notifications_BANG_.invoke(pulse.clj:625)

at metabase.pulse$send_pulse_BANG_.invokeStatic(pulse.clj:653)

at metabase.pulse$send_pulse_BANG_.doInvoke(pulse.clj:634)

at clojure.lang.RestFn.invoke(RestFn.java:410)

at metabase.api.pulse$fn__102431.invokeStatic(pulse.clj:322)

at metabase.api.pulse$fn__102431.invoke(pulse.clj:308)

at compojure.core$wrap_response$fn__43924.invoke(core.clj:160)

at compojure.core$wrap_route_middleware$fn__43908.invoke(core.clj:132)

at compojure.core$wrap_route_info$fn__43913.invoke(core.clj:139)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:151)

at clojure.lang.Var.invoke(Var.java:393)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at clojure.lang.Var.invoke(Var.java:393)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at clojure.lang.Var.invoke(Var.java:393)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at clojure.lang.Var.invoke(Var.java:393)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:152)

at clojure.lang.Var.invoke(Var.java:393)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936.invoke(core.clj:200)

at metabase.server.middleware.auth$enforce_authentication$fn__95229.invoke(auth.clj:17)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936.invoke(core.clj:200)

at compojure.core$make_context$handler__43964.invoke(core.clj:290)

at compojure.core$make_context$fn__43968.invoke(core.clj:300)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$make_context$fn__43968.invoke(core.clj:301)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at metabase.api.routes$fn__102992$fn__102995.invoke(routes.clj:66)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936.invoke(core.clj:200)

at clojure.lang.AFn.applyToHelper(AFn.java:160)

at clojure.lang.AFn.applyTo(AFn.java:144)

at clojure.core$apply.invokeStatic(core.clj:667)

at clojure.core$apply.invoke(core.clj:662)

at metabase.server.routes$fn__103155$fn__103156.doInvoke(routes.clj:72)

at clojure.lang.RestFn.invoke(RestFn.java:436)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936.invoke(core.clj:200)

at compojure.core$make_context$handler__43964.invoke(core.clj:290)

at compojure.core$make_context$fn__43968.invoke(core.clj:300)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at compojure.core$wrap_route_matches$fn__43917.invoke(core.clj:153)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936$f__43937$respond_SINGLEQUOTE___43938.invoke(core.clj:197)

at metabase.server.routes$fn__103140$fn__103142.invoke(routes.clj:49)

at compojure.core$routes$fn__43936$f__43937.invoke(core.clj:198)

at compojure.core$routes$fn__43936.invoke(core.clj:200)

at metabase.server.middleware.exceptions$catch_uncaught_exceptions$fn__100042.invoke(exceptions.clj:108)

at metabase.server.middleware.exceptions$catch_api_exceptions$fn__100039.invoke(exceptions.clj:96)

at metabase.server.middleware.log$log_api_call$fn__103421$fn__103422$fn__103423.invoke(log.clj:216)

at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invokeStatic(diagnostic.clj:18)

at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invoke(diagnostic.clj:12)

at metabase.server.middleware.log$log_api_call$fn__103421$fn__103422.invoke(log.clj:208)

at toucan2.execute$do_with_call_counts.invokeStatic(execute.clj:112)

at toucan2.execute$do_with_call_counts.invoke(execute.clj:103)

at metabase.server.middleware.log$log_api_call$fn__103421.invoke(log.clj:207)

at metabase.server.middleware.browser_cookie$ensure_browser_id_cookie$fn__105454.invoke(browser_cookie.clj:40)

at metabase.server.middleware.security$add_security_headers$fn__85933.invoke(security.clj:180)

at metabase.server.middleware.json$wrap_json_body$fn__45297.invoke(json.clj:67)

at metabase.server.middleware.offset_paging$handle_paging$fn__85957.invoke(offset_paging.clj:45)

at metabase.server.middleware.json$wrap_streamed_json_response$fn__45315.invoke(json.clj:103)

at ring.middleware.keyword_params$wrap_keyword_params$fn__105721.invoke(keyword_params.clj:55)

at ring.middleware.params$wrap_params$fn__105740.invoke(params.clj:77)

at metabase.server.middleware.misc$maybe_set_site_url$fn__66045.invoke(misc.clj:61)

at metabase.server.middleware.session$reset_session_timeout$fn__72112.invoke(session.clj:488)

at metabase.server.middleware.session$bind_current_user$fn__72079$fn__72080.invoke(session.clj:383)

at metabase.server.middleware.session$do_with_current_user.invokeStatic(session.clj:362)

at metabase.server.middleware.session$do_with_current_user.invoke(session.clj:346)

at metabase.server.middleware.session$bind_current_user$fn__72079.invoke(session.clj:382)

at metabase.server.middleware.session$wrap_current_user_info$fn__72062.invoke(session.clj:321)

at metabase.server.middleware.session$wrap_session_id$fn__72045.invoke(session.clj:253)

at metabase.server.middleware.auth$wrap_api_key$fn__95237.invoke(auth.clj:30)

at ring.middleware.cookies$wrap_cookies$fn__105641.invoke(cookies.clj:216)

at metabase.server.middleware.misc$add_content_type$fn__66027.invoke(misc.clj:29)

at metabase.server.middleware.misc$disable_streaming_buffering$fn__66053.invoke(misc.clj:78)

at ring.middleware.gzip$wrap_gzip$fn__105683.invoke(gzip.clj:86)

at metabase.server.middleware.misc$bind_request$fn__66056.invoke(misc.clj:95)

at metabase.server.middleware.ssl$redirect_to_https_middleware$fn__105470.invoke(ssl.clj:41)

at metabase.server$async_proxy_handler$fn__66230.invoke(server.clj:77)

at metabase.server.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)

at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)

at org.eclipse.jetty.server.Server.handle(Server.java:563)

at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)

at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)

at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)

at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Problem reading font data.

at java.desktop/java.awt.Font.createFont0(Unknown Source)

at java.desktop/java.awt.Font.createFont(Unknown Source)

at metabase.pulse.render.style$register_font_BANG_.invokeStatic(style.clj:105)

at metabase.pulse.render.style$register_font_BANG_.invoke(style.clj:102)

at metabase.pulse.render.style$register_fonts_BANG_.invokeStatic(style.clj:110)

... 250 more

please upgrade