Invalid dimension size: 0 (Firebase)

Good day. I have a running application, but when I try to compile another APK from the same blocks, it doesn’t run. The logcat shows this error
E FATAL EXCEPTION: main
Process: appinventor.ai_xxxxxxxxxx, PID: 23585
com.google.appinventor.components.runtime.errors.YailRuntimeError: Invalid dimension size: 0
at com.google.appinventor.components.runtime.util.YailMatrix.(YailMatrix.java:39)
at com.google.appinventor.components.runtime.util.YailMatrix.fromJsonArray(YailMatrix.java:460)
at com.google.appinventor.components.runtime.util.JsonUtil.getObjectFromJson(JsonUtil.java:356)
at com.google.appinventor.components.runtime.FirebaseDB.GotValue(FirebaseDB.java:537)
at com.google.appinventor.components.runtime.FirebaseDB$3$1.run(FirebaseDB.java:508)
at android.os.Handler.handleCallback(Handler.java:1095)
at android.os.Handler.dispatchMessageImpl(Handler.java:135)
at android.os.Handler.dispatchMessage(Handler.java:125)
at android.os.Looper.loopOnce(Looper.java:269)
at android.os.Looper.loop(Looper.java:367)
at android.app.ActivityThread.main(ActivityThread.java:9333)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
2026-03-24 17:41:28.740 23585-23585 Form appinventor.ai_xxxxxxxxxx E Uncaught Exception
com.google.appinventor.components.runtime.errors.YailRuntimeError: Invalid dimension size: 0
at com.google.appinventor.components.runtime.util.YailMatrix.(YailMatrix.java:39)
at com.google.appinventor.components.runtime.util.YailMatrix.fromJsonArray(YailMatrix.java:460)
at com.google.appinventor.components.runtime.util.JsonUtil.getObjectFromJson(JsonUtil.java:356)
at com.google.appinventor.components.runtime.FirebaseDB.GotValue(FirebaseDB.java:537)
at com.google.appinventor.components.runtime.FirebaseDB$3$1.run(FirebaseDB.java:508)
at android.os.Handler.handleCallback(Handler.java:1095)
at android.os.Handler.dispatchMessageImpl(Handler.java:135)
at android.os.Handler.dispatchMessage(Handler.java:125)
at android.os.Looper.loopOnce(Looper.java:269)
at android.os.Looper.loop(Looper.java:367)
at android.app.ActivityThread.main(ActivityThread.java:9333)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

Please assist. I compiled the running APK a week ago, and didnt change anything.

This is a known bug.

Looks like the Firebase component is affected, along with TinyDB and CloudDB.

If you need to fix this in your app before the bugfix comes out, you can use the web component for access to Firebase, or see this workaround here for cloudDB:

Well noted, thank you:blush: