Force close due to Null Pointer Exception in VpncProcessHandler on line 85 occurs in Gingerbread (Nexus One and Nexus S) and Froyo (Samsung Galaxy S Vibrant)
Opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Start the app, configure a Cisco ASA 5xxx VPN with IP address, Group Name
and Secret, username and login, and 60 second timeout. Enable the VPN, grant
super user permission, long click the connection list item, click connect and
the following occurs instantly. I had to remove the connection code from this
post, however I am wiling to share with the project champions the additional
logcat information.
W/dalvikvm( 9469): threadid=9: thread exiting with uncaught exception
(group=0x40015560)
E/AndroidRuntime( 9469): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 9469): java.lang.NullPointerException
E/AndroidRuntime( 9469): at
org.codeandroid.vpnc_frontend.VpncProcessHandler.connect(VpncProcessHandler.java
:85)
E/AndroidRuntime( 9469): at
org.codeandroid.vpnc_frontend.VPNC$3.run(VPNC.java:210)
W/ActivityManager( 106): Force finishing activity
org.codeandroid.vpnc_frontend/.VPNC
2. I even manually copied the latest tun.ko to /system/lib/modules.
3. This occurs on: HTC Google Nexus One (Gingerbread 2.3.1 unlocked, rooted,
latest busybox and su binary), Samsung Google Nexus S (Gingerbread 2.3.1 stock
kernel, unlocked, latest su binary and busybox from the Android market and
ClockworkMod recovery), Samsung Vibrant SGH-T959 (Froyo 2.2 Macnut v14 with
Super IO Kernel, Clockworkmod recovery)
What is the expected output? What do you see instead?
The expected output is for the VPN to connect. The actual output is a force
close.
What version of the product are you using? On what operating system?
I artachesd photos of the about screens on all 3 devices.
Please provide any additional information below.
I can help debug and solve this problem if provided with source code.
I am a professional android developer and I actually have quite an interest in
making this application work on these phones. I also have 2 senior developers
at my disposal to help with this situation, as they are geting the same Null
Pointer Reference.
Please note that I did have your application working on Froyo CM6 on my Nexus
One, the same exact configuration is being used with the newer Android builds.
I am very interested in seeing the code so I can solve this issue. If need be,
I can come up with newly compiled tun kernel modules built for these kernels.
Best Regards,
JBDynamics
Original issue reported on code.google.com by jer...@medismartsoftware.com
on 13 Jan 2011 at 1:47
Attachments:
GoogleCodeExporter commented
I forgot to mention that I am using the latest v.99 of the VPN Connections app.'
I am going to try an older version and see if that works. I will report back on
that.
Best Regards,
Jeremy
MediSmart Software
Original comment by jer...@medismartsoftware.com
on 13 Jan 2011 at 1:49