Skip to content

[BUG] Crash while installing curseforge modpacks with Minecraft 1.4.7 #282

@RAD750

Description

@RAD750

Describe the bug

Hi, when installing any (tried with FTB Ultimate, FTB Lite and mine; both from the "search" function, as well as by downloading them frm CurseForge beforehand and importing the ZIP) Minecraft 1.4.7-based modpacks, Amethyst will crash.
After restarting the application, it will show the modpack but refuse to launch it.

The log file and images/videos

latestlog.txt confusingly contains contents about a previous (successfull) game launch.

Content of the crash message

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.resolveTypeIfNeeded(android.content.ContentResolver)' on a null object reference
	at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:585)
	at android.app.PendingIntent.getActivity(PendingIntent.java:572)
	at android.app.PendingIntent.getActivity(PendingIntent.java:536)
	at net.kdt.pojavlaunch.utils.NotificationUtils.sendBasicNotification(NotificationUtils.java:29)
	at net.kdt.pojavlaunch.modloaders.modpacks.api.NotificationDownloadListener.lambda$sendEmptyNotification$1$net-kdt-pojavlaunch-modloaders-modpacks-api-NotificationDownloadListener(NotificationDownloadListener.java:54)
	at net.kdt.pojavlaunch.modloaders.modpacks.api.NotificationDownloadListener$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
	at android.os.Handler.handleCallback(Handler.java:1012)
	at android.os.Handler.dispatchMessage(Handler.java:113)
	at android.os.Looper.loopOnce(Looper.java:249)
	at android.os.Looper.loop(Looper.java:339)
	at android.app.ActivityThread.main(ActivityThread.java:9808)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:597)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)

Steps To Reproduce

1. Create new Modpack profile
2. Click browse and Search for FTB Lite (1.4.7)
3. Install it
4. It will crash.

Expected Behavior

The modpack should get installed and run.

Platform

I can reproduce on my two devices
- Device model: Lenovo Legion Tab (TB321FU_EEA) / Blackview BL8800Pro
- CPU architecture: arm64 (Qualcomm Snapdragon 8 Gen 3 SM8650) / Mediatek MT6833
- Android version: 16 / 11
- Amethyst version: both on amethyst-legacy-20260610-efd645a-1.1.5

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions