The document contains log entries from an Android application. It reports a java.lang.RuntimeException occurring when stopping a service, caused by a NullPointerException when attempting to invoke a method on a null object. Specifically, the UDPSocketService object is null when the BridgeService's onDestroy method tries to call UDPSocketService.ondestroy(). This issue happened twice for two different instances of the BridgeService.
The document contains log entries from an Android application. It reports a java.lang.RuntimeException occurring when stopping a service, caused by a NullPointerException when attempting to invoke a method on a null object. Specifically, the UDPSocketService object is null when the BridgeService's onDestroy method tries to call UDPSocketService.ondestroy(). This issue happened twice for two different instances of the BridgeService.
The document contains log entries from an Android application. It reports a java.lang.RuntimeException occurring when stopping a service, caused by a NullPointerException when attempting to invoke a method on a null object. Specifically, the UDPSocketService object is null when the BridgeService's onDestroy method tries to call UDPSocketService.ondestroy(). This issue happened twice for two different instances of the BridgeService.
java.lang.RuntimeException: Unable to stop service
hsl.p2pipcam.service.BridgeService@7d3975d: 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
Mon Aug 21 22:27:53 GMT+03:00 2023
java.lang.RuntimeException: Unable to stop service hsl.p2pipcam.service.BridgeService@719bd34: 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