When attempting to patch reddit using merged apkm files, the patches fail with null reference exceptions.
App: com.reddit.frontpage (Selected: 2026.14.0)
Manager version: 2.5.1
Manager auto-update: true
Memory limit: 256MB (large: 512MB)
Root permissions: No
RAM: 2.06 GB / 11.65 GB available
Storage: 379 GB / 493 GB available
Android version: 16 (API 36)
Supported architectures: arm64-v8a
Model: SM-S938U1
Deleting existing temporary files directory
Decoding manifest
Loading resource table from file: /data/user/0/app.revanced.manager.flutter/cache/framework/1.apk
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=sharedUserLabel, value=0x7f131162
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=sharedUserLabel, value=0x7f131162
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132225
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f13221c
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132226
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140017
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100001
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=fullBackupContent, value=0x7f160003
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=networkSecurityConfig, value=0x7f160007
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=dataExtractionRules, value=0x7f160001
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=localeConfig, value=0x7f160006
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140166
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f16000e
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100033
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100004
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100003
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10001a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100038
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100037
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100039
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003c
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100019
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100002
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003b
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100036
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100018
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100030
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100032
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100031
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100034
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100017
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100035
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13039a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100001
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f131177
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140166
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f130195
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132225
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132222
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132221
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132220
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f13221e
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132223
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f13221f
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f13221d
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132224
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132226
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13112d
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f131177
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f160002
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050005
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x7f13056a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f1303d3
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140160
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13117f
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f16000d
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13106b
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140164
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f130386
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f130386
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140237
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f03001a
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=authorities, value=0x7f131efd
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f16000c
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140245
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140245
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050004
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050006
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050004
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x7f0c000f
Warning: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140277
Applying patches...
Warming up the cache
Applying patches
Error: Disable screenshot popup failed:
Error: app.revanced.patcher.patch.PatchException: Required value was null.
at app.revanced.patcher.patch.PatchKt.toPatchException(Patch.kt:266)
at app.revanced.patcher.patch.PatchKt.patchResult(Patch.kt:256)
at app.revanced.patcher.PatchingKt.apply$lambda$1$apply(Patching.kt:87)
at app.revanced.patcher.PatchingKt.apply(Patching.kt:95)
at app.revanced.patcher.PatchingKt.patcher$lambda$2(Patching.kt:58)
at app.revanced.patcher.PatchingKt.$r8$lambda$jgQuUltekjIPkAZcxH1mNgNFTN4(Unknown Source:0)
at app.revanced.patcher.PatchingKt$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invokeSuspend(Session.kt:45)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invoke(Unknown Source:8)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invoke(Unknown Source:4)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
at app.revanced.manager.patcher.Session.applyPatchesVerbose(Session.kt:41)
at app.revanced.manager.patcher.Session.run(Session.kt:95)
at app.revanced.manager.patcher.runtime.CoroutineRuntime.execute(CoroutineRuntime.kt:72)
at app.revanced.manager.patcher.worker.PatcherWorker.runPatcher(PatcherWorker.kt:230)
at app.revanced.manager.patcher.worker.PatcherWorker.access$runPatcher(PatcherWorker.kt:56)
at app.revanced.manager.patcher.worker.PatcherWorker$runPatcher$1.invokeSuspend(Unknown Source:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: java.lang.IllegalArgumentException: Required value was null.
at app.revanced.patcher.MatchingKt.firstMethodDeclaratively(Matching.kt:578)
at app.revanced.patcher.MatchingKt.gettingFirstMethodDeclaratively$lambda$1(Matching.kt:599)
at app.revanced.patcher.MatchingKt.$r8$lambda$We1a4f98tSjFFk6KcawvyUXF8Fc(Unknown Source:0)
at app.revanced.patcher.MatchingKt$$ExternalSyntheticLambda24.invoke(D8$$SyntheticClass:0)
at app.revanced.patcher.MatchingKt$cachedReadOnlyProperty$1.getValue(Matching.kt:86)
at app.revanced.patches.reddit.layout.disablescreenshotpopup.FingerprintsKt.getDisableScreenshotPopupMethod(Fingerprints.kt:10)
at app.revanced.patches.reddit.layout.disablescreenshotpopup.DisableScreenshotPopupPatchKt.disableScreenshotPopupPatch$lambda$0$0(DisableScreenshotPopupPatch.kt:14)
at app.revanced.patches.reddit.layout.disablescreenshotpopup.DisableScreenshotPopupPatchKt.$r8$lambda$8KHx-VPBeMk6dMyIV--7tN6Rov8(Unknown Source:0)
at app.revanced.patches.reddit.layout.disablescreenshotpopup.DisableScreenshotPopupPatchKt$0.invoke(D8$$SyntheticClass:0)
at app.revanced.patcher.patch.BytecodePatchBuilder.apply$lambda$0(Patch.kt:149)
at app.revanced.patcher.patch.BytecodePatchBuilder.$r8$lambda$N91Td9ApDDrs5zCuH6M0nb8KWB4(Unknown Source:0)
at app.revanced.patcher.patch.BytecodePatchBuilder$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at app.revanced.patcher.PatchingKt.apply$lambda$1$apply(Patching.kt:84)
... 23 more
Bug description
When attempting to patch reddit using merged apkm files, the patches fail with null reference exceptions.
Patch logs
Debug logs
revanced-manager_logcat_2026-04-07T20_48_45.270007.txt
Acknowledgements