Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

App crash when switching simulator #7

Open
Mad-Creator opened this issue Oct 5, 2020 · 0 comments
Open

App crash when switching simulator #7

Mad-Creator opened this issue Oct 5, 2020 · 0 comments

Comments

@Mad-Creator
Copy link

time: 1601897458516
msg: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start service net.alea.beaconsimulator.bluetooth.BeaconSimulatorService@dab232b with Intent { act=net.alea.beaconsimulator.service.ACTION_START cmp=net.alea.beaconsimulator/.bluetooth.BeaconSimulatorService (has extras) }: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4105)
at android.app.ActivityThread.access$1800(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:915)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IInterface.asBinder()' on a null object reference
at android.os.Parcel.createException(Parcel.java:2077)
at android.os.Parcel.readException(Parcel.java:2039)
at android.os.Parcel.readException(Parcel.java:1987)
at android.bluetooth.IBluetoothGatt$Stub$Proxy.startAdvertisingSet(IBluetoothGatt.java:1526)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertisingSet(BluetoothLeAdvertiser.java:434)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertisingSet(BluetoothLeAdvertiser.java:306)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertising(BluetoothLeAdvertiser.java:158)
at android.bluetooth.le.BluetoothLeAdvertiser.startAdvertising(BluetoothLeAdvertiser.java:93)
at net.alea.beaconsimulator.bluetooth.BeaconSimulatorService.a(BeaconSimulatorService.java:243)
at net.alea.beaconsimulator.bluetooth.BeaconSimulatorService.onStartCommand(BeaconSimulatorService.java:135)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
... 8 more

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant