An exception was thrown when attempting to stop a service due to a null object reference. Specifically, a NullPointerException occurred when trying to invoke the ondestroy() method of the UDPSocketService, which was null. This led to an inability to stop the BridgeService.
An exception was thrown when attempting to stop a service due to a null object reference. Specifically, a NullPointerException occurred when trying to invoke the ondestroy() method of the UDPSocketService, which was null. This led to an inability to stop the BridgeService.
An exception was thrown when attempting to stop a service due to a null object reference. Specifically, a NullPointerException occurred when trying to invoke the ondestroy() method of the UDPSocketService, which was null. This led to an inability to stop the BridgeService.
java.lang.RuntimeException: Unable to stop service
hsl.p2pipcam.service.BridgeService@133c28c: java.lang.NullPointerException: Attempt to invoke virtual method 'void hsl.p2pipcam.service.UDPSocketService.ondestroy()' on a null object reference at android.app.ActivityThread.handleStopService(ActivityThread.java:4974) at android.app.ActivityThread.-$$Nest$mhandleStopService(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2340) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8381) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void hsl.p2pipcam.service.UDPSocketService.ondestroy()' on a null object reference at hsl.p2pipcam.service.BridgeService.onDestroy(BridgeService.java:287) at android.app.ActivityThread.handleStopService(ActivityThread.java:4954) ... 9 more