Android Question Fatal Exception: java.lang.NullPointerException

D

Deleted member 103

Guest
Hello,

Crash report from Crashlytics-Firebase.
I can not imagine where the mistake is. :(

Gerät
Marke: TrendMicro
Modell: GI-I9500_TMMARS
Ausrichtung: Hochformat
Freier RAM: 17.27 GB
Freier Festplattenspeicher: 39.98 GB

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.isEmpty()' on a null object reference
at anywheresoftware.b4a.objects.IbHelper.startSetup(IbHelper.java:269)
at anywheresoftware.b4a.inappbilling3.BillingManager3.Initialize(BillingManager3.java:46)
at fg.MasterOfRegolarity.starter$ResumableSub_InitBillmanager.resume(starter.java:544)
at fg.MasterOfRegolarity.starter._initbillmanager(starter.java:522)
at fg.MasterOfRegolarity.starter._service_create(starter.java:964)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:171)
at fg.MasterOfRegolarity.starter.onCreate(starter.java:56)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2785)
at android.app.ActivityThread.access$1800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1391)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5278)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

B4a-Code:

B4X:
Sub Service_Create
...
#if Release
   'Log("billmanager Starten")
   InitBillmanager
#end if

End Sub

Public Sub InitBillmanager
    billmanager.Initialize("billmanager", key)

    Wait For billmanager_BillingSupported (Supported As Boolean, Message As String)
    IsBillingSupported = Supported
    If Supported Then
        CallSubDelayed (Main, "GetOwnedProducts")
    End If
End Sub

upload_2018-10-27_20-11-51.png


upload_2018-10-27_20-12-36.png


But I found something here(stackoverflow).
 

npsonic

Active Member
Licensed User
Your code has nothing to do with crash. Device is most likely rooted and doesn't behave like it should, also RAM 17.27 GB ?!
 
Upvote 0
Top