PrivilegedEuiccContextMarker shall only be used on Fragments or UI types that derive from Context #178

Closed
opened 2025-03-14 14:37:04 +01:00 by axel0073 · 1 comment

Not working anymore with this Release: https://github.com/hzy132/OpenEUICC_for_Magisk

24478-24478 AndroidRuntime pid-24478 E FATAL EXCEPTION: main Process: im.angry.openeuicc, PID: 24478 java.lang.RuntimeException: PrivilegedEuiccContextMarker shall only be used on Fragments or UI types that derive from Context at im.angry.openeuicc.util.PrivilegedEuiccContextMarker$DefaultImpls.getPrivilegedEuiccMarkerContext(PrivilegedUtils.kt:18) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.getPrivilegedEuiccMarkerContext(PrivilegedEuiccChannelFactory.kt:11) at im.angry.openeuicc.util.PrivilegedEuiccContextMarker$DefaultImpls.getPreferenceRepository(PrivilegedUtils.kt:22) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.getPreferenceRepository(PrivilegedEuiccChannelFactory.kt:11) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.tryOpenEuiccChannel(PrivilegedEuiccChannelFactory.kt:26) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory$tryOpenEuiccChannel$1.invokeSuspend(Unknown Source:14) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@88166d7, Dispatchers.Main.immediate]

Not working anymore with this Release: https://github.com/hzy132/OpenEUICC_for_Magisk `24478-24478 AndroidRuntime pid-24478 E FATAL EXCEPTION: main Process: im.angry.openeuicc, PID: 24478 java.lang.RuntimeException: PrivilegedEuiccContextMarker shall only be used on Fragments or UI types that derive from Context at im.angry.openeuicc.util.PrivilegedEuiccContextMarker$DefaultImpls.getPrivilegedEuiccMarkerContext(PrivilegedUtils.kt:18) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.getPrivilegedEuiccMarkerContext(PrivilegedEuiccChannelFactory.kt:11) at im.angry.openeuicc.util.PrivilegedEuiccContextMarker$DefaultImpls.getPreferenceRepository(PrivilegedUtils.kt:22) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.getPreferenceRepository(PrivilegedEuiccChannelFactory.kt:11) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory.tryOpenEuiccChannel(PrivilegedEuiccChannelFactory.kt:26) at im.angry.openeuicc.core.PrivilegedEuiccChannelFactory$tryOpenEuiccChannel$1.invokeSuspend(Unknown Source:14) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@88166d7, Dispatchers.Main.immediate]`
Contributor

resolve from #177

resolve from #177
PeterCxy referenced this issue from a commit 2025-03-17 00:01:09 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PeterCxy/OpenEUICC#178
No description provided.