Skip to content

Beta version of app crashes on startup #1107

@Jan-Bulthuis

Description

@Jan-Bulthuis

When opening finamp (version 0.9.14 installed through play store beta program) the app immediately encounters an error and shows the following text:

[Startup/INFO] 2025-03-16 07:17:22.447782: App starting, logging initialized.
[Startup/INFO] 2025-03-16 07:17:22.465445: This is Finamp version 0.9.14+114 (Signature 'A7217FD431D22ECBBECF8FE07336576047DCD8D9BD29040491F9D57D94A543C7'), installed via com.android.vending.
[ErrorApp/SEVERE] 2025-03-16 07:17:22.471396: PlatformException(error, getString(...) must not be null, null, java.lang.NullPointerException: getString(...) must not be null
			at f6.b.C(SourceFile:183)
			at y6.j$a.a(SourceFile:16)
			at o6.b.run(SourceFile:138)
			at android.os.Handler.handleCallback(Handler.java:995)
			at android.os.Handler.dispatchMessage(Handler.java:103)
			at android.os.Looper.loopOnce(Looper.java:248)
			at android.os.Looper.loop(Looper.java:338)
			at android.app.ActivityThread.main(ActivityThread.java:8982)
			at java.lang.reflect.Method.invoke(Native Method)
			at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
			at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
		)
		#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
		#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)
		<asynchronous suspension>
		#2      MethodChannelDeviceInfo.deviceInfo (package:device_info_plus_platform_interface/method_channel/method_channel_device_info.dart:19)
		<asynchronous suspension>
		#3      DeviceInfoPlugin.androidInfo (package:device_info_plus/device_info_plus.dart:54)
		<asynchronous suspension>
		#4      setupLogging (package:finamp/setup_logging.dart:42)
		<asynchronous suspension>
		#5      main (package:finamp/main.dart:84)
		<asynchronous suspension>

The problem is not fixed by reinstalling the app or clearing all it's data.

My device is running the android 16 beta.

The problem seems to be caused by device_info_plus, and seems to have the same cause as this issue issue for which a fix was pushed and released in version 11.3.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions