schwabe / ics-openvpn

OpenVPN for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NullPointerException: Attempt to invoke virtual method

Arunachalamkalimuthu opened this issue · comments

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)