You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
I'm getting a java.lang.NoSuchFieldException whenever I'm trying to make a request. I traced it with the debugger and found out that getDeclaredField() method is throwing that error for the "authority" field as well.
java.lang.NoSuchFieldException: No field host in class Ljava/net/URL; (declaration of 'java.net.URL' appears in /system/framework/core-oj.jar)
at java.lang.Class.getDeclaredField(Native Method)
at me.nikhilchaudhari.asynkio.request.RequestImpl.toIDN(RequestImpl.kt:174)
at me.nikhilchaudhari.asynkio.request.RequestImpl.makeRoute(RequestImpl.kt:201)
at me.nikhilchaudhari.asynkio.request.RequestImpl.(RequestImpl.kt:117)
at me.nikhilchaudhari.asynkio.core.NetworkCall.request(NetworkCall.kt:115)
at me.nikhilchaudhari.asynkio.core.NetworkCall.post(NetworkCall.kt:94)
at me.nikhilchaudhari.asynkio.core.NetworkCall.post$default(NetworkCall.kt:92)
at com.alfresco.core.data.NetworkProtocolImpl.post(NetworkProtocolImpl.kt:66)
at com.alfresco.core.data.NetworkProtocol$DefaultImpls.post$default(NetworkProtocol.kt:28)
at com.alfresco.alfrescocore.MainActivity$onCreate$1.invokeSuspend(MainActivity.kt:31)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask$DefaultImpls.run(Dispatched.kt:235)
at kotlinx.coroutines.DispatchedContinuation.run(Dispatched.kt:81)
at kotlinx.coroutines.scheduling.Task.run(Tasks.kt:94)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:732)
The text was updated successfully, but these errors were encountered:
Hello,
I'm getting a java.lang.NoSuchFieldException whenever I'm trying to make a request. I traced it with the debugger and found out that getDeclaredField() method is throwing that error for the "authority" field as well.
java.lang.NoSuchFieldException: No field host in class Ljava/net/URL; (declaration of 'java.net.URL' appears in /system/framework/core-oj.jar)
at java.lang.Class.getDeclaredField(Native Method)
at me.nikhilchaudhari.asynkio.request.RequestImpl.toIDN(RequestImpl.kt:174)
at me.nikhilchaudhari.asynkio.request.RequestImpl.makeRoute(RequestImpl.kt:201)
at me.nikhilchaudhari.asynkio.request.RequestImpl.(RequestImpl.kt:117)
at me.nikhilchaudhari.asynkio.core.NetworkCall.request(NetworkCall.kt:115)
at me.nikhilchaudhari.asynkio.core.NetworkCall.post(NetworkCall.kt:94)
at me.nikhilchaudhari.asynkio.core.NetworkCall.post$default(NetworkCall.kt:92)
at com.alfresco.core.data.NetworkProtocolImpl.post(NetworkProtocolImpl.kt:66)
at com.alfresco.core.data.NetworkProtocol$DefaultImpls.post$default(NetworkProtocol.kt:28)
at com.alfresco.alfrescocore.MainActivity$onCreate$1.invokeSuspend(MainActivity.kt:31)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask$DefaultImpls.run(Dispatched.kt:235)
at kotlinx.coroutines.DispatchedContinuation.run(Dispatched.kt:81)
at kotlinx.coroutines.scheduling.Task.run(Tasks.kt:94)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:732)
The text was updated successfully, but these errors were encountered: