!HELP Bitwarden for Android keeps crashing

Hi, I need to downgrade Bitwarden on Android ASAP. The latest update (it auto updated this morning) keeps crashing, won’t let me log in.
Where could I find the previous apk ?

Thanks.

For developers: Android 8.1

4 Likes

Yup, happens to me as well on v2.3.1
Pixel XL Android 10

App boots, then login page is shown and crashes immediately.

This is what I am seeing in logcat

$ adb logcat AndroidRuntime:E *:S
04-02 10:35:08.382 25964 25964 E AndroidRuntime: FATAL EXCEPTION: main
04-02 10:35:08.382 25964 25964 E AndroidRuntime: Process: com.x8bit.bitwarden, PID: 25964
04-02 10:35:08.382 25964 25964 E AndroidRuntime: android.runtime.JavaProxyThrowable: System.TypeInitializationException: The type initializer for 'LiteDB.BsonExpression' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
04-02 10:35:08.382 25964 25964 E AndroidRuntime: Parameter name: method
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at System.Linq.Expressions.Expression.Call (System.Reflection.MethodInfo method, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1) [0x00068] in <b0037b07c89b44f9bf29887da14b4658>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpressionParser.TryParsePath (LiteDB.Tokenizer tokenizer, LiteDB.ExpressionContext context, System.Boolean isRoot) [0x000de] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpressionParser.ParseSingleExpression (LiteDB.Tokenizer tokenizer, LiteDB.ExpressionContext context, System.Boolean isRoot) [0x00094] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpressionParser.ParseFullExpression (LiteDB.Tokenizer tokenizer, LiteDB.ExpressionContext context, System.Boolean isRoot) [0x00000] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpression.Parse (LiteDB.Tokenizer tokenizer, LiteDB.BsonExpressionParserMode mode, System.Boolean isRoot) [0x00054] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpression.Create (System.String expression) [0x00028] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.BsonExpression..cctor () [0x0000a] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:    --- End of inner exception stack trace ---
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.Engine.LiteEngine.RebuildContent (LiteDB.Engine.IFileReader reader) [0x00118] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.Engine.LiteEngine.Upgrade (System.String filename, System.String password) [0x00106] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.LiteDatabase..ctor (LiteDB.ConnectionString connectionString, LiteDB.BsonMapper mapper) [0x00028] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at LiteDB.LiteDatabase..ctor (System.String connectionString, LiteDB.BsonMapper mapper) [0x00007] in <da3b55f2020d4ca38f320e2cd4b6423d>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Bit.Core.Services.LiteDbStorageService.<InitAsync>b__5_0 () [0x00015] in <c357100c811f48f099f33746186395a1>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <1caf55231bdd4bb483764b9b31b31ebe>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at System.Threading.Tasks.Task.Execute () [0x00000] in <1caf55231bdd4bb483764b9b31b31ebe>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime: --- End of stack trace from previous location where exception was thrown ---
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Bit.Core.Services.LiteDbStorageService.GetAsync[T] (System.String key) [0x00084] in <c357100c811f48f099f33746186395a1>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Bit.App.Services.MobileStorageService.GetAsync[T] (System.String key) [0x0013b] in <ab8465693fdb481aa44e5dbe887eb411>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Bit.Droid.Autofill.Parser.ShouldAutofillAsync (Bit.Core.Abstractions.IStorageService storageService) [0x000bb] in <a6c82668eb8f4c5198b6b5c7270873fe>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Bit.Droid.Autofill.AutofillService.OnFillRequest (Android.Service.Autofill.FillRequest request, Android.OS.CancellationSignal cancellationSignal, Android.Service.Autofill.FillCallback callback) [0x000e4] in <a6c82668eb8f4c5198b6b5c7270873fe>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <1caf55231bdd4bb483764b9b31b31ebe>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <2d0de8a221e34f1eb8819be4a9e3a57b>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <2d0de8a221e34f1eb8819be4a9e3a57b>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <2d0de8a221e34f1eb8819be4a9e3a57b>:0 
04-02 10:35:08.382 25964 25964 E AndroidRuntime:   at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.16(intptr,intptr)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at mono.java.lang.RunnableImplementor.n_run(Native Method)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7356)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
04-02 10:35:08.382 25964 25964 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

@kspearrin

3 Likes

Same here, it either crashes straight at opening or as soon as I select the button to connect :frowning: Any solutions out of going out of beta program and use stable version ?
Bitwarden 2.3.1 on Oneplus 7 Pro with Android 10.
Tried full uninstall of app, restart of phone and reinstall but same :frowning:

1 Like

Hello, I’m a new user, seems bitwarden app working perfectly for me. (android 8.1.0)

Idk if it will work or not, but you can downgrade app & choose your version from here: https://github.com/bitwarden/mobile/releases

(or wait for an official reply. Developers are quite active here😇)

Same here, I tried clearing cache, then all User Data, then removed and re-installed the app.

To get it working I had to leave the beta programme and install the regular app from Play Store.

Are you in the beta programme?

Hey guys,

Thanks for bearing with us through this beta issue - we’re not sure why there is such a delay in Google pushing out the fixed beta app (which was done a couple of days ago).

We are using a new status page (https://status.bitwarden.com) to post updates for matters like this, so feel free to check it out!

4 Likes

I have the same problem! Beta version.

Hey tgreer with the covid situation, they pushed the delay of publication to 7 days.
And yes it’s only on the Android store Beta only, not the F-Droid version.

Strange as now it’s more than 7 days but still no updated version showing up in Playstore :frowning: Someone from BW would be able to confirm when beta updated version will be avalaible in market ?

1 Like

Gave up on beta program and switched back to main stream version !

1 Like

I did too, beta is totally unusable.

8 days without a version update.
I am forced to leave the beta program as well unfortunately.

1 Like

Will there ever be an update for the Android Beta??

+1 on the question. Crash report dated 4/4 says an update has been submitted…goog really taking their time with an approval?

1 Like

Has the fixed version been pushed through the Play Store? Don’t want to switch to beta only to have to leave it and uninstall/reinstall

Can’t figure why it’s not fixed for almost a month.

1 Like

I had this same issue. My only recourse was to leave the beta program and re-install. Sad that it’s taking so long, but I couldn’t wait any longer.

1 Like

@BAlGaInTl ironically, it seems to be fixed now https://status.bitwarden.com/issues/5e84b0b8386fb309578caf0b

Not seeing it yet.

@rg9400 - Yes… ironic… on the day I finally gave up. I’ll give it a shot again tonight.