Closed GoogleCodeExporter closed 9 years ago
Sorry, accidentally used wrong subject line. Builds have executed ok when I
built stuff.
Original comment by eponymou...@gmail.com
on 5 Aug 2013 at 12:06
I should also add that on a 4.3 device, it works ok.
Original comment by eponymou...@gmail.com
on 5 Aug 2013 at 12:09
Can you try to get a stacktrace from the crash? (adb lgocat) Otherwise I have
no idea what goes wrong.
Original comment by arne@rfc2549.org
on 5 Aug 2013 at 8:16
Here's what I get:
D/ViewRootImpl( 151): pckname = de.blinkt.openvpn
D/audio_hw_primary( 84): start_output_stream: card:0, port:0, rate:44100
I/ActivityManager( 151): Start proc de.blinkt.openvpn for activity
de.blinkt.openvpn/.MainActivity: pid=1153 uid=10049 gids={3003}
D/OpenGLRenderer( 1091): Flushing caches (mode 0)
I/ActivityThread( 1153): Pub de.blinkt.openvpn.FileProvider:
de.blinkt.openvpn.FileProvider
D/ViewRootImpl( 1153): pckname = de.blinkt.openvpn
D/libEGL ( 1153): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1153): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1153): loaded /system/lib/egl/libGLESv2_mali.so
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
D/OpenGLRenderer( 1153): Enabling debug mode 0
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
I/ActivityManager( 151): Displayed de.blinkt.openvpn/.MainActivity: +791ms
I/ActivityManager( 151): No longer want com.google.android.talk (pid 660):
hidden #16
D/OpenGLRenderer( 1091): Flushing caches (mode 1)
I/ActivityManager( 151): START {cmp=de.blinkt.openvpn/.FileSelect (has
extras)} from pid 1153
W/Bundle ( 1153): Key WINDOW_TILE expected String but value was a
java.lang.Integer. The default value <null> was returned.
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
W/dalvikvm( 1153): threadid=3: spin on suspend #1 threadid=1 (pcf=0)
W/dalvikvm( 1153): threadid=3: spin on suspend resolved in 1630 msec
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
W/Bundle ( 1153): Attempt to cast generated internal exception:
W/Bundle ( 1153): java.lang.ClassCastException: java.lang.Integer cannot be
cast to java.lang.String
W/Bundle ( 1153): at android.os.Bundle.getString(Bundle.java:1054)
W/Bundle ( 1153): at
android.content.Intent.getStringExtra(Intent.java:3949)
W/Bundle ( 1153): at
de.blinkt.openvpn.FileSelect.onCreate(FileSelect.java:51)
W/Bundle ( 1153): at
android.app.Activity.performCreate(Activity.java:4492)
W/Bundle ( 1153): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/Bundle ( 1153): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/Bundle ( 1153): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/Bundle ( 1153): at
android.app.ActivityThread.access$600(ActivityThread.java:123)
W/Bundle ( 1153): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/Bundle ( 1153): at android.os.Handler.dispatchMessage(Handler.java:99)
W/Bundle ( 1153): at android.os.Looper.loop(Looper.java:137)
W/Bundle ( 1153): at
android.app.ActivityThread.main(ActivityThread.java:4424)
W/Bundle ( 1153): at java.lang.reflect.Method.invokeNative(Native Method)
W/Bundle ( 1153): at java.lang.reflect.Method.invoke(Method.java:511)
W/Bundle ( 1153): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/Bundle ( 1153): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/Bundle ( 1153): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1153): threadid=3: reacting to signal 3
E/dalvikvm( 1153): Unable to open stack trace file '/data/anr/traces.txt': Is a
directory
D/dalvikvm( 1153): GC_CONCURRENT freed 170K, 5% free 5922K/6215K, paused 2ms+3ms
D/ViewRootImpl( 1153): pckname = de.blinkt.openvpn
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
I/ActivityManager( 151): Displayed de.blinkt.openvpn/.FileSelect: +2s578ms
D/OpenGLRenderer( 1153): Flushing caches (mode 0)
I/ActivityManager( 151): No longer want com.android.providers.calendar (pid
507): hidden #16
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
D/audio_hw_primary( 84): start_output_stream: card:0, port:0, rate:44100
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
W/Resources( 1153): Converting to string: TypedValue{t=0x12/d=0x0 a=2
r=0x7f0a002b}
I/ActivityManager( 151): START {act=de.blinkt.openvpn.IMPORT_PROFILE
dat=file:/mnt/sdcard/DCIM/100ANDRO/softcloak.ovpn
cmp=de.blinkt.openvpn/.ConfigConverter} from pid 1153
W/InputManagerService( 151): Focus gain on non-focused client
com.android.internal.view.IInputMethodClient$Stub$Proxy@4119fb38 (uid=10049
pid=1153)
D/dalvikvm( 1153): GC_CONCURRENT freed 338K, 7% free 6097K/6535K, paused 2ms+3ms
D/dalvikvm( 1153): GC_FOR_ALLOC freed 544K, 11% free 6036K/6727K, paused 22ms
D/ViewRootImpl( 1153): pckname = de.blinkt.openvpn
D/dalvikvm( 1153): GC_CONCURRENT freed 411K, 11% free 6053K/6727K, paused
2ms+4ms
I/ActivityManager( 151): Displayed de.blinkt.openvpn/.ConfigConverter: +359ms
D/OpenGLRenderer( 1153): Flushing caches (mode 0)
D/OpenGLRenderer( 1153): Flushing caches (mode 0)
D/OpenGLRenderer( 1153): Flushing caches (mode 0)
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
I/ActivityManager( 151): START {act=android.intent.action.MAIN
cmp=de.blinkt.openvpn/.LaunchVPN (has extras)} from pid 1153
I/ActivityManager( 151): START {cmp=com.android.vpndialogs/.ConfirmDialog}
from pid 1153
D/ViewRootImpl( 1153): pckname = de.blinkt.openvpn
I/ActivityManager( 151): Start proc com.android.vpndialogs for activity
com.android.vpndialogs/.ConfirmDialog: pid=1179 uid=1000 gids={1015, 3002,
3001, 3003, 3007}
D/dalvikvm( 151): GC_CONCURRENT freed 894K, 11% free 8823K/9863K, paused
3ms+21ms
I/PackageManager( 151): Running dexopt on: com.android.vpndialogs
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
D/dalvikvm( 1192): DexOpt: load 10ms, verify+opt 35ms
D/ViewRootImpl( 1179): pckname = com.android.vpndialogs
D/ViewRootImpl( 1179): pckname = com.android.vpndialogs
D/libEGL ( 1179): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1179): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1179): loaded /system/lib/egl/libGLESv2_mali.so
D/OpenGLRenderer( 1179): Enabling debug mode 0
I/ActivityManager( 151): Displayed de.blinkt.openvpn/.LaunchVPN: +629ms
I/ActivityManager( 151): Displayed com.android.vpndialogs/.ConfirmDialog:
+504ms
D/OpenGLRenderer( 1153): Flushing caches (mode 0)
I/ActivityManager( 151): No longer want com.android.calendar (pid 711): hidden
#16
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
I/Vpn ( 151): Switched from [Legacy VPN] to de.blinkt.openvpn
D/audio_hw_primary( 84): start_output_stream: card:0, port:0, rate:44100
D/OpenGLRenderer( 1179): Flushing caches (mode 0)
I/ActivityManager( 151): START {flg=0x20000 cmp=de.blinkt.openvpn/.LogWindow}
from pid 1153
D/dalvikvm( 1153): GC_CONCURRENT freed 322K, 8% free 6242K/6727K, paused
4ms+12ms
D/dalvikvm( 1153): GC_FOR_ALLOC freed 424K, 11% free 6113K/6855K, paused 37ms
D/dalvikvm( 1153): GC_FOR_ALLOC freed 395K, 13% free 6030K/6855K, paused 22ms
D/ViewRootImpl( 1153): pckname = de.blinkt.openvpn
I/dalvikvm( 1153): Could not find method
android.app.Notification$Builder.addAction, referenced from method
de.blinkt.openvpn.core.OpenVpnService.jbNotificationExtras
W/dalvikvm( 1153): VFY: unable to resolve virtual method 67:
Landroid/app/Notification$Builder;.addAction
(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroid/app/Notification$
Builder;
D/dalvikvm( 1153): VFY: replacing opcode 0x6e at 0x0064
D/AndroidRuntime( 1153): Shutting down VM
W/dalvikvm( 1153): threadid=1: thread exiting with uncaught exception
(group=0x40a0e1f8)
E/AndroidRuntime( 1153): FATAL EXCEPTION: main
E/AndroidRuntime( 1153): java.lang.NoSuchMethodError:
android.app.Notification$Builder.addAction
E/AndroidRuntime( 1153): at
de.blinkt.openvpn.core.OpenVpnService.jbNotificationExtras(OpenVpnService.java:1
96)
E/AndroidRuntime( 1153): at
de.blinkt.openvpn.core.OpenVpnService.showNotification(OpenVpnService.java:143)
E/AndroidRuntime( 1153): at
de.blinkt.openvpn.core.OpenVpnService.onStartCommand(OpenVpnService.java:305)
E/AndroidRuntime( 1153): at
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2359)
E/AndroidRuntime( 1153): at
android.app.ActivityThread.access$1900(ActivityThread.java:123)
E/AndroidRuntime( 1153): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
E/AndroidRuntime( 1153): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1153): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1153): at
android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1153): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1153): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1153): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1153): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1153): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 151): Force finishing activity
de.blinkt.openvpn/.LogWindow
D/ViewRootImpl( 151): pckname = android
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
W/ActivityManager( 151): Activity pause timeout for ActivityRecord{40fb0600
de.blinkt.openvpn/.LogWindow}
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/WindowManager( 151): MediaPlayer.is not PlayingVideo
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 151): Sending signal. PID: 1153 SIG: 3
I/dalvikvm( 1153): threadid=3: reacting to signal 3
I/dalvikvm( 1153): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1153): Sending signal. PID: 1153 SIG: 9
I/WindowManager( 151): WIN DEATH: Window{41353988
de.blinkt.openvpn/de.blinkt.openvpn.MainActivity paused=false}
I/ActivityManager( 151): Process de.blinkt.openvpn (pid 1153) has died.
W/ActivityManager( 151): Scheduling restart of crashed service
de.blinkt.openvpn/.core.OpenVpnService in 9158ms
D/audio_hw_primary( 84): start_output_stream: card:0, port:0, rate:44100
I/WindowManager( 151): WIN DEATH: Window{4119b868
de.blinkt.openvpn/de.blinkt.openvpn.LogWindow paused=false}
I/WindowManager( 151): WIN DEATH: Window{4130def0
de.blinkt.openvpn/de.blinkt.openvpn.LaunchVPN paused=true}
W/ActivityManager( 151): Force removing ActivityRecord{4119b070
de.blinkt.openvpn/.MainActivity}: app died, no saved state
W/InputManagerService( 151): Got RemoteException sending setActive(false)
notification to pid 1153 uid 10049
V/TabletStatusBar( 216): setLightsOn(true)
D/OpenGLRenderer( 1179): Flushing caches (mode 1)
I/ActivityManager( 151): Start proc de.blinkt.openvpn for service
de.blinkt.openvpn/.core.OpenVpnService: pid=1200 uid=10049 gids={3003}
I/ActivityThread( 1200): Pub de.blinkt.openvpn.FileProvider:
de.blinkt.openvpn.FileProvider
I/dalvikvm( 1200): Could not find method
android.app.Notification$Builder.addAction, referenced from method
de.blinkt.openvpn.core.OpenVpnService.jbNotificationExtras
W/dalvikvm( 1200): VFY: unable to resolve virtual method 67:
Landroid/app/Notification$Builder;.addAction
(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroid/app/Notification$
Builder;
D/dalvikvm( 1200): VFY: replacing opcode 0x6e at 0x0064
D/AndroidRuntime( 1200): Shutting down VM
W/dalvikvm( 1200): threadid=1: thread exiting with uncaught exception
(group=0x40a0e1f8)
E/AndroidRuntime( 1200): FATAL EXCEPTION: main
E/AndroidRuntime( 1200): java.lang.RuntimeException: Unable to start service
de.blinkt.openvpn.core.OpenVpnService@40fabb78 with Intent {
cmp=de.blinkt.openvpn/.core.OpenVpnService (has extras) }:
java.lang.NullPointerException
E/AndroidRuntime( 1200): at
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2376)
E/AndroidRuntime( 1200): at
android.app.ActivityThread.access$1900(ActivityThread.java:123)
E/AndroidRuntime( 1200): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
E/AndroidRuntime( 1200): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1200): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1200): at
android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1200): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1200): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1200): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1200): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1200): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1200): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1200): at
de.blinkt.openvpn.core.OpenVpnService.onStartCommand(OpenVpnService.java:303)
E/AndroidRuntime( 1200): at
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2359)
E/AndroidRuntime( 1200): ... 10 more
D/ViewRootImpl( 151): pckname = android
D/dalvikvm( 216): GC_CONCURRENT freed 857K, 30% free 7778K/11079K, paused
3ms+5ms
W/ActivityManager( 151): Timeout executing service: ServiceRecord{4134a2e8
de.blinkt.openvpn/.core.OpenVpnService}
I/ActivityManager( 151): Crashing app skipping ANR: ProcessRecord{412788d0
1200:de.blinkt.openvpn/10049} Executing service
de.blinkt.openvpn/.core.OpenVpnService
Original comment by eponymou...@gmail.com
on 5 Aug 2013 at 6:44
I have commited a fix which shoud resolve the error in the next test version
Original comment by arne@rfc2549.org
on 6 Aug 2013 at 10:05
I have commited a fix which shoud resolve the error in the next test version
Original comment by arne@rfc2549.org
on 6 Aug 2013 at 10:05
This issue was closed by revision db4d7ee37263.
Original comment by arne@rfc2549.org
on 6 Aug 2013 at 10:06
Original issue reported on code.google.com by
eponymou...@gmail.com
on 5 Aug 2013 at 12:04