Hi there,
I'd like to create a subscription to one of my dashboards. When I send a test email while setting it up, I consistently see the following logs. The final log line is always an HTTP status 500 due to a ClassCastException with no stack trace. I'm wondering if maybe the dashboard is too big (the last log line says it's making 461 DB calls ), but the dashboard itself works fine when I load it in the browser.
Any help would be most appreciated!
Logs:
[fde882f3-0ef9-4b4b-9755-d85eae0890d5] 2022-05-04T10:52:53-04:00 DEBUG metabase.server.middleware.log GET /api/pulse 200 7.2 ms (7 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (12 idle, 0 queued) (132 total active threads) Queries in flight: 0 (0 queued)
[fde882f3-0ef9-4b4b-9755-d85eae0890d5] 2022-05-04T10:52:54-04:00 DEBUG metabase.server.middleware.log GET /api/user 200 3.4 ms (4 DB calls) App DB connections: 0/15 Jetty threads: 3/50 (12 idle, 0 queued) (132 total active threads) Queries in flight: 0 (0 queued)
[fde882f3-0ef9-4b4b-9755-d85eae0890d5] 2022-05-04T10:52:54-04:00 DEBUG metabase.server.middleware.log GET /api/pulse/form_input 200 1.4 ms (2 DB calls) App DB connections: 1/15 Jetty threads: 3/50 (12 idle, 0 queued) (132 total active threads) Queries in flight: 0 (0 queued)
...
[fde882f3-0ef9-4b4b-9755-d85eae0890d5] 2022-05-04T10:52:56-04:00 INFO metabase.query-processor.middleware.fetch-source-query Fetched source query from Card 14:
/* This line repeated several times for numerous "Cards" */
...
[fde882f3-0ef9-4b4b-9755-d85eae0890d5] 2022-05-04T10:53:07-04:00 ERROR metabase.server.middleware.log POST /api/pulse/test 500 10.8 s (461 DB calls)
{:via [{:type java.lang.ClassCastException}], :trace [], :message nil}
Diagnostic info:
{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15",
"vendor": "Apple Computer, Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.13+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.13",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.13+8",
"os.name": "Linux",
"os.version": "4.14.256-197.484.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"postgres",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "12.8"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.23"
}
},
"run-mode": "prod",
"version": {
"date": "2021-12-16",
"tag": "v1.41.5",
"branch": "release-x.41.x",
"hash": "fbfffc6"
},
"settings": {
"report-timezone": "America/New_York"
}
}
}