Skip to content

bug: patches null #3507

Description

@valeriesykes

Bug description

Cannot patch any app. Keep getting the error message execute patch:null

Image

Patch logs

Debug logs

App: com.reddit.frontpage (Selected: 2026.33.1)
Manager version: 2.7.0-dev.11
Use manager pre-releases: true
Manager auto-update: true
Allow changing patch selection: true
Show universal patches: true
Memory limit: 256MB (large: 512MB)
Root permissions: No
RAM: 4.54 GB / 11.65 GB available
Storage: 422 GB / 495 GB available
Android version: 16 (API 36)
Supported architectures: arm64-v8a
Model: SM-F741U

[INFO] Deleting existing temporary files directory
[INFO] Decoding manifest
[INFO] Loading resource table from file: /data/user/0/app.revanced.manager.flutter/cache/framework/1.apk
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=sharedUserLabel, value=0x7f13120d
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=sharedUserLabel, value=0x7f13120d
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132447
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132441
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132448
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140017
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100001
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=fullBackupContent, value=0x7f160003
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=networkSecurityConfig, value=0x7f160007
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=dataExtractionRules, value=0x7f160001
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=localeConfig, value=0x7f160006
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140166
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f16000a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003e
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100034
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100004
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100003
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10001a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100039
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100038
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003d
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100019
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100002
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003c
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f10003b
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100037
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100018
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100031
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100033
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100032
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100035
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100017
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100036
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303e2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f100001
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140166
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1301c2
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132447
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132445
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132444
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132443
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132442
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132446
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132448
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132445
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132444
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132443
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132442
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x7f132446
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1311e4
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f131224
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f160002
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050005
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f13041a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140160
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13112a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140164
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f13122b
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f160009
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f14016a
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303ce
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f1303ce
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140237
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f030011
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=authorities, value=0x7f132074
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7f160008
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140245
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140245
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050004
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050006
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=enabled, value=0x7f050004
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x7f0c000f
[WARN] Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f140277
[INFO] Applying patches...
[INFO] Warming up the cache
[INFO] Applying patches
[ERROR] Hide 'Trending Today' shelf 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(Patching.kt:0)
at app.revanced.patcher.PatchingKt$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invokeSuspend(Session.kt:47)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invoke(Session.kt:8)
at app.revanced.manager.patcher.Session$applyPatchesVerbose$2.invoke(Session.kt: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(dex-id-b4c42cbf2855fb380a690c1f836e0308a1b7e33c:1)
at app.revanced.manager.patcher.Session.applyPatchesVerbose(Session.kt:43)
at app.revanced.manager.patcher.Session.run(Session.kt:97)
at app.revanced.manager.patcher.runtime.CoroutineRuntime.execute(CoroutineRuntime.kt:74)
at app.revanced.manager.patcher.runtime.CoroutineRuntime$execute$1.invokeSuspend(CoroutineRuntime.kt:21)
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.firstImmutableMethod(Matching.kt:333)
at app.revanced.patcher.MatchingKt.firstImmutableMethod$default(Matching.kt:330)
at app.revanced.patches.reddit.layout.trendingtoday.FingerprintsKt.searchTypeaheadListDefaultPresentationConstructorMethod_delegate$lambda$1(Fingerprints.kt:24)
at app.revanced.patches.reddit.layout.trendingtoday.FingerprintsKt$1.invoke(D8$$SyntheticClass:0)
at app.revanced.util.BytecodeUtilsKt.using$lambda$0(BytecodeUtils.kt:1372)
at app.revanced.util.BytecodeUtilsKt$13.invoke(D8$$SyntheticClass:0)
at app.revanced.util.BytecodeUtilsKt$cachedReadOnlyProperty$1.getValue(BytecodeUtils.kt:1367)
at app.revanced.util.BytecodeUtilsKt$cachedReadOnlyProperty$1.getValue(BytecodeUtils.kt:1358)
at app.revanced.patches.reddit.layout.trendingtoday.FingerprintsKt.getSearchTypeaheadListDefaultPresentationConstructorMethod(Fingerprints.kt:17)
at app.revanced.patches.reddit.layout.trendingtoday.HideTrendingTodayShelfPatchKt.hideTrendingTodayShelfPatch$lambda$0$0(HideTrendingTodayShelfPatch.kt:15)
at app.revanced.patches.reddit.layout.trendingtoday.HideTrendingTodayShelfPatchKt.$r8$lambda$EgcS3GU_ytQp0bF6NCBkSBvwqdw(HideTrendingTodayShelfPatch.kt:0)
at app.revanced.patches.reddit.layout.trendingtoday.HideTrendingTodayShelfPatchKt$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(Patch.kt:0)
at app.revanced.patcher.patch.BytecodePatchBuilder$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at app.revanced.patcher.PatchingKt.apply$lambda$1$apply(Patching.kt:84)
... 21 more

Image

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions