schwabe / ics-openvpn

OpenVPN for Android
3.33k stars 1.2k forks source link

NullPointerException: Attempt to invoke virtual method #1677

Open Arunachalamkalimuthu opened 9 months ago

Arunachalamkalimuthu commented 9 months ago

Issue Description: A non-fatal NullPointerException is occurring consistently on specific devices in production when attempting to invoke the checkProfile method of the VpnProfile class. This issue is leading to crashes for many users.

Exception Stack Trace:


Non-fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int de.blinkt.openvpn.VpnProfile.checkProfile(android.content.Context)' on a null object reference
       at android.os.Parcel.createException(Parcel.java:1956)
       at android.os.Parcel.readException(Parcel.java:1918)
       at android.os.Parcel.readException(Parcel.java:1868)
       at de.blinkt.openvpn.api.IOpenVPNAPIService$Stub$Proxy.startProfile(IOpenVPNAPIService.java:317)