You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when starting an application that has a (probably elapsed) DO alarm:
AssertionError [ERR_ASSERTION]: beforeReload() must be called before getObject()
at DurableObjectsPlugin.getObject (~/node_modules/@miniflare/durable-objects/src/plugin.ts:143:5)
at AlarmStore.<anonymous> (~/node_modules/@miniflare/durable-objects/src/plugin.ts:215:32)
at Timeout.<anonymous> (~/node_modules/@miniflare/durable-objects/src/alarms.ts:52:7)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
Attaching the persisted DOs for easier debugging: mf.zip
Removing .mf/durableobjects fixes this error.
The text was updated successfully, but these errors were encountered:
AlCalzone
changed the title
Crashes with beforeReload() must be called before getObject()
v2.7.1: Crashes with beforeReload() must be called before getObject()
Sep 8, 2022
Hey! 👋 I wasn't able to reproduce this using your persisted DOs, but I managed to reproduce the error another way, and think I've fixed it. 🙂 The fix will be in the next release. 👍
I'm getting the following error when starting an application that has a (probably elapsed) DO alarm:
Attaching the persisted DOs for easier debugging: mf.zip
Removing
.mf/durableobjects
fixes this error.The text was updated successfully, but these errors were encountered: