padrevirtual / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Occasional Force Close when saving client config file #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Occasionally, after editing a client configuration file via the OpenVPN
Settings gui, attempting to save the changed file results in a Force Close.
The changes to the file are still there when the app is reopened so the
save is obviously happening, but having to reload the application is still
annoying. Viewing adb logcat shows that an uncaught null pointer exception
is the culprit. Logdump is attached.

Original issue reported on code.google.com by thedrexs...@gmail.com on 26 Mar 2010 at 9:22

Attachments:

GoogleCodeExporter commented 8 years ago
I could locate the source of the NullPointerException. The fix will be in the 
next
release.

I found the bug appears if the OpenVPN button is disabled. In this case the
OpenVPNService is shutdown completely and the variable holding a reference to 
it is
null. So the bug should only occur if the OpenVPN check box is disabled.

Can you confirm this?

Original comment by friedrich.schaeuffelhut on 27 Mar 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Confirmed. I hadn't recognized the pattern until you pointed it out, but that 
is the
only time I'm seeing the behavior.

Original comment by thedrexs...@gmail.com on 28 Mar 2010 at 7:54

GoogleCodeExporter commented 8 years ago
Great, Thank you.

Original comment by friedrich.schaeuffelhut on 28 Mar 2010 at 2:05