Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,935 Members 52,905 Now Online
XDA Developers Android and Mobile Development Forum

Problem with CM7 and Junos Pulse.

Tip us?
 
darthjuanan
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: May 2007
Unhappy Problem with CM7 and Junos Pulse.

Hi!

I need work with Junos Pulse in my work, but I've seen that it fails in every CM7 and derived ROMs.

I've executed logcat in the shell of the cell, while I've using Junos, and my result is:
Code:
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.addVpnDns
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.addVpnDns (I)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.addVpnRoute
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.addVpnRoute (II)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.establishVpn
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.establishVpn ()I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.protectSocket
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0008
D/dalvikvm(20532): VFY: dead code 0x000a-000e in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.protectSocket (I)I
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService.setVpnIp
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0009
D/dalvikvm(20532): VFY: dead code 0x000b-000f in Lnet/juniper/junos/pulse/android/vpnservice/VpnService;.setVpnIp (III)I
D/dalvikvm(20532): Trying to load lib /mnt/asec/net.juniper.junos.pulse.android-1/lib/libSslVpnEngine.so 0x40517850
D/dalvikvm(20532): Added shared lib /mnt/asec/net.juniper.junos.pulse.android-1/lib/libSslVpnEngine.so 0x40517850
W/dalvikvm(20532): Unable to resolve superclass of Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs; (88)
W/dalvikvm(20532): Link of class 'Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;' failed
E/dalvikvm(20532): Could not find class 'net.juniper.junos.pulse.android.vpnservice.VpnServiceIcs', referenced from method net.juniper.junos.pulse.android.vpnservice.VpnService$2.protect
W/dalvikvm(20532): VFY: unable to resolve check-cast 840 (Lnet/juniper/junos/pulse/android/vpnservice/VpnServiceIcs;) in Lnet/juniper/junos/pulse/android/vpnservice/VpnService$2;
D/dalvikvm(20532): VFY: replacing opcode 0x1f at 0x0006
D/dalvikvm(20532): VFY: dead code 0x0008-000b in Lnet/juniper/junos/pulse/android/vpnservice/VpnService$2;.protect (I)V
D/net.juniper.junos.pulse.android(20532): 3/22/2012,20:36:36.38:net.juniper.junos.pulse.android.vpnservice.VpnService:onCreate -1: onCreate
I/ActivityManager(  507): Starting: Intent { flg=0x34000000 cmp=berserker.android.apps.sshdroid/.MainActivity bnds=[0,138][320,202] } from pid -1
D/net.juniper.junos.pulse.android(20532): 3/22/2012,20:36:36.79:net.juniper.junos.pulse.android.vpnservice.VpnService:onCreate -1: Setting log directory /mnt/sdcard/Junos Pulse
E/net.juniper.junos.pulse.android(20532): Log file /mnt/sdcard/Junos Pulse ncsvc.log
D/net.juniper.junos.pulse.android(20532): Setting vpntools socket name /data/tmp/tunctl
D/net.juniper.junos.pulse.android(20532): Using vpnsvcldr API
I suspect it's a problem of the Dalvik cache. Does anybody know any solution?

Perhaps is it possible to disable Dalvik cache in CM7?

Thanks in advance
 
adlx.xda
Old
#2  
adlx.xda's Avatar
Retired Recognized Developer
Thanks Meter 770
Posts: 1,004
Join Date: Feb 2010
Location: Madrid

 
DONATE TO ME
After looking at your logcat (http://pastebin.com/jgsyt7Qu):

I believe the problem is with vpntools (no idea why though):

vpntools is called and crashes:

Code:
I/DEBUG   (   89): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (   89): Build fingerprint: 'google/passion/passion:2.3.4/GRJ22/121341:user/release-keys'
I/DEBUG   (   89): pid: 12907, tid: 12907  >>> /data/data/net.juniper.junos.pulse.android/files/vpntools <<<
I/DEBUG   (   89): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0000a300
I/DEBUG   (   89):  r0 bef41b1c  r1 00000000  r2 00000000  r3 00000000
I/DEBUG   (   89):  r4 bef41b1c  r5 00000b88  r6 fffffff0  r7 bef42c20
I/DEBUG   (   89):  r8 00000000  r9 00000000  10 0000c110  fp 00000000
I/DEBUG   (   89):  ip 00000000  sp bef41a58  lr 0000a300  pc 0000a300  cpsr 40000010
then later:

Code:
D/net.juniper.junos.pulse.android(12883): Setting vpntools socket name /data/tmp/tunctl
D/net.juniper.junos.pulse.android(12883): Unable to access vpnsvcldr error No such file or directory
D/net.juniper.junos.pulse.android(12883): Line 149 brand
E/net.juniper.junos.pulse.android(12883): checkVpnCapable Unable to connect to vpntools. Set vpnCap off
D/net.juniper.junos.pulse.android(12883): 3/24/2012,20:0:31.346:net.juniper.junos.pulse.android.vpnservice.VpnService:checkSetVpnCapable -1: VPN vendor ID 0
D/net.juniper.junos.pulse.android(12883): 3/24/2012,20:0:31.365:net.juniper.junos.pulse.android.vpnservice.VpnService:checkInstallVpnTools -1: Unable to save vntools file /data/data/net.juniper.junos.pulse.android/files/vpntools
E/su      (12982): sudb - Opening database
E/su      (12982): sudb - Database opened
E/su      (12982): sudb - Database closed
D/su      (12982): 10022 net.juniper.junos.pulse.android:remote executing 0 mkdir /data/tmp; chmod 777 /data/tmp;/data/data/net.juniper.junos.pulse.android/files/vpntools exit & using shell /system/bin/sh : sh
D/net.juniper.junos.pulse.android(12859): 3/24/2012,20:0:31.752:net.juniper.junos.pulse.android.ui.HomeActivity:g -1: vpn.dominio.org
D/net.juniper.junos.pulse.android(12883): 3/24/2012,20:0:37.24:net.juniper.junos.pulse.android.vpnservice.VpnService$2:stopVpn -1: Stop vpn called
D/net.juniper.junos.pulse.android(12883): 3/24/2012,20:0:37.35:net.juniper.junos.pulse.android.vpnservice.VpnService$2:cleanUpConn -1: cleanUpConn called
Also there are lots of classes not found, but that doesn't seem the app to force close, so I guess there may not be requiered...

In the LG P500 logcat the error seem to be different:

Code:
D/net.juniper.junos.pulse.android( 1730): 3/24/2012,20:8:29.179:net.juniper.junos.pulse.android.vpnservice.VpnService:checkInstallTunCtl -1: Unable to copy tunctl file /data/data/net.juniper.junos.pulse.android/files/tunctl
D/net.juniper.junos.pulse.android( 1730): 3/24/2012,20:8:29.182:net.juniper.junos.pulse.android.vpnservice.VpnService:checkInstallTunCtl -1: Error running exec(). Command: [/system/bin/chmod, 755, /data/data/net.juniper.junos.pulse.android/files/tunctl] Working Directory: null Environment: null
I think you should ask for support to the app editor... seems pretty buggy
Like my work, use my roms daily? Consider donating for a beer/redbull -- Follow me on Twitter

Phones: Galaxy Nexus, Motorola RAZR UMTS XT910, HTC Chacha, Atrix (hard bricked), Defy, 2 Dext, CliqXT
Tags
cm7, cyanogen, cyanogenmod, junos pulse
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes