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
java.lang.NoSuchMethodError: No static method encodeBase64URLSafeString([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Base64; or its super classes (declaration of 'org.apache.commons.codec.binary.Base64' appears in /system/framework/org.apache.http.legacy.jar)
at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
Steps to Reproduce
Current Behavior
I get above error, when ever I invoke the method to retrieve a Phone Number Network Provider and then whenever I try to top-up a phone number. Below is the full stack trace;
ATAL EXCEPTION: main
Process: com.prinstech.freesair, PID: 7078
java.lang.NoSuchMethodError: No static method encodeBase64URLSafeString([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Base64; or its super classes (declaration of 'org.apache.commons.codec.binary.Base64' appears in /system/framework/org.apache.http.legacy.jar)
at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
at software.reloadly.sdk.core.internal.util.TelemetryUtil.getTelemetryInterceptor(TelemetryUtil.java:17)
at software.reloadly.sdk.core.internal.net.API.buildClient(API.java:135)
at software.reloadly.sdk.core.internal.net.API.(API.java:78)
at software.reloadly.sdk.core.internal.net.ServiceAPI.(ServiceAPI.java:31)
at software.reloadly.sdk.airtime.client.AirtimeAPI.(AirtimeAPI.java:40)
at software.reloadly.sdk.airtime.client.AirtimeAPI$AirtimeAPIBuilder.build(AirtimeAPI.java:34)
at com.prinstech.freesair.Home$3$1.onDataChange(Home.java:246)
at com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:75)
at com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:63)
at com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:55)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:264)
at android.app.ActivityThread.main(ActivityThread.java:7684)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:507)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.util.TelemetryUtil.getTelemetryInterceptor(TelemetryUtil.java:17)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.API.buildClient(API.java:135)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.API.(API.java:78)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.ServiceAPI.(ServiceAPI.java:31)
I/ExceptionHandle: at software.reloadly.sdk.airtime.client.AirtimeAPI.(AirtimeAPI.java:40)
I/ExceptionHandle: at software.reloadly.sdk.airtime.client.AirtimeAPI$AirtimeAPIBuilder.build(AirtimeAPI.java:34)
I/ExceptionHandle: at com.prinstech.freesair.Home$3$1.onDataChange(Home.java:246)
I/ExceptionHandle: at com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:75)
I/ExceptionHandle: at com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:63)
I/ExceptionHandle: at com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:55)
I/ExceptionHandle: at android.os.Handler.handleCallback(Handler.java:883)
I/ExceptionHandle: at android.os.Handler.dispatchMessage(Handler.java:100)
I/ExceptionHandle: at android.os.Looper.loop(Looper.java:264)
I/ExceptionHandle: at android.app.ActivityThread.main(ActivityThread.java:7684)
I/ExceptionHandle: at java.lang.reflect.Method.invoke(Native Method)
I/ExceptionHandle: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:507)
I/ExceptionHandle: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
I/Process: Sending signal. PID: 7078 SIG: 9
Describe the issue
java.lang.NoSuchMethodError: No static method encodeBase64URLSafeString([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Base64; or its super classes (declaration of 'org.apache.commons.codec.binary.Base64' appears in /system/framework/org.apache.http.legacy.jar)
at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
Steps to Reproduce
Current Behavior
I get above error, when ever I invoke the method to retrieve a Phone Number Network Provider and then whenever I try to top-up a phone number. Below is the full stack trace;
ATAL EXCEPTION: main
Process: com.prinstech.freesair, PID: 7078
java.lang.NoSuchMethodError: No static method encodeBase64URLSafeString([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Base64; or its super classes (declaration of 'org.apache.commons.codec.binary.Base64' appears in /system/framework/org.apache.http.legacy.jar)
at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
at software.reloadly.sdk.core.internal.util.TelemetryUtil.getTelemetryInterceptor(TelemetryUtil.java:17)
at software.reloadly.sdk.core.internal.net.API.buildClient(API.java:135)
at software.reloadly.sdk.core.internal.net.API.(API.java:78)
at software.reloadly.sdk.core.internal.net.ServiceAPI.(ServiceAPI.java:31)
at software.reloadly.sdk.airtime.client.AirtimeAPI.(AirtimeAPI.java:40)
at software.reloadly.sdk.airtime.client.AirtimeAPI$AirtimeAPIBuilder.build(AirtimeAPI.java:34)
at com.prinstech.freesair.Home$3$1.onDataChange(Home.java:246)
at com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:75)
at com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:63)
at com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:55)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:264)
at android.app.ActivityThread.main(ActivityThread.java:7684)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:507)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.Telemetry.(Telemetry.java:65)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.util.TelemetryUtil.getTelemetryInterceptor(TelemetryUtil.java:17)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.API.buildClient(API.java:135)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.API.(API.java:78)
I/ExceptionHandle: at software.reloadly.sdk.core.internal.net.ServiceAPI.(ServiceAPI.java:31)
I/ExceptionHandle: at software.reloadly.sdk.airtime.client.AirtimeAPI.(AirtimeAPI.java:40)
I/ExceptionHandle: at software.reloadly.sdk.airtime.client.AirtimeAPI$AirtimeAPIBuilder.build(AirtimeAPI.java:34)
I/ExceptionHandle: at com.prinstech.freesair.Home$3$1.onDataChange(Home.java:246)
I/ExceptionHandle: at com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:75)
I/ExceptionHandle: at com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:63)
I/ExceptionHandle: at com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:55)
I/ExceptionHandle: at android.os.Handler.handleCallback(Handler.java:883)
I/ExceptionHandle: at android.os.Handler.dispatchMessage(Handler.java:100)
I/ExceptionHandle: at android.os.Looper.loop(Looper.java:264)
I/ExceptionHandle: at android.app.ActivityThread.main(ActivityThread.java:7684)
I/ExceptionHandle: at java.lang.reflect.Method.invoke(Native Method)
I/ExceptionHandle: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:507)
I/ExceptionHandle: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
I/Process: Sending signal. PID: 7078 SIG: 9
Your Environment
*SDK version: implementation "software.reloadly:java-sdk-authentication:1.0.2"
implementation "software.reloadly:java-sdk-airtime:1.0.2"
JDK version: Chipmunk
Operating System and version: Am using Android Version 10 for testing and debugging
The text was updated successfully, but these errors were encountered: