#621 Force close on Android 1.6 (Galaxy i7500)

open
nobody
Android (41)
5
2012-09-06
2012-09-06
Jyrki Kuoppala
No

Force close in splash or without showing splash. Android 1.6 is unofficial (Galaxo).

From adb logcat:

I/System.out(12735): Init GpsMid
W/System.err(12735): de.enough.polish.android.rms.InvalidRecordIDException: for 60
W/System.err(12735): at de.enough.polish.android.rms.SqlDao.getRecord(SqlDao.java:313)
W/System.err(12735): at de.enough.polish.android.rms.RecordStore.getRecord(RecordStore.java:690)
W/System.err(12735): at de.ueller.gpsmid.data.Configuration.readBinary(Configuration.java:1013)
W/System.err(12735): at de.ueller.gpsmid.data.Configuration.readString(Configuration.java:1029)
W/System.err(12735): at de.ueller.gpsmid.data.Configuration.read(Configuration.java:674)
W/System.err(12735): at de.ueller.gpsmid.ui.GpsMid.startApp(GpsMid.java:197)
W/System.err(12735): at de.enough.polish.android.midlet.MidletBridge.onResume(MidletBridge.java:408)
W/System.err(12735): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
W/System.err(12735): at android.app.Activity.performResume(Activity.java:3560)
W/System.err(12735): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
W/System.err(12735): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
W/System.err(12735): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
W/System.err(12735): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
W/System.err(12735): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
W/System.err(12735): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(12735): at android.os.Looper.loop(Looper.java:123)
W/System.err(12735): at android.app.ActivityThread.main(ActivityThread.java:4203)
W/System.err(12735): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(12735): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err(12735): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err(12735): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
W/System.err(12735): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(12735): GC freed 5849 objects / 309752 bytes in 94ms
I/System.out(12735): Couldn't open translations file: sv
D/dalvikvm(12735): GC freed 10950 objects / 542784 bytes in 121ms
D/dalvikvm(12735): GC freed 0 objects / 0 bytes in 92ms
I/dalvikvm-heap(12735): Grow heap (frag case) to 5.103MB for 327696-byte allocation
W/ActivityManager( 126): Launch timeout has expired, giving up wake lock!
D/dalvikvm(12735): GC freed 71 objects / 2968 bytes in 95ms
W/ActivityManager( 126): Activity idle timeout for HistoryRecord{43a74bd8 de.ueller.gpsmid.ui/.GpsMidActivity}
I/ActivityManager( 126): Displayed activity de.ueller.gpsmid.ui/.GpsMidActivity: 10877 ms (total 10877 ms)
E/dalvikvm(12735): Could not find method android.view.MotionEvent.getX, referenced from method de.ueller.gpsmid.ui.Trace.angle
W/dalvikvm(12735): VFY: unable to resolve virtual method 298: Landroid/view/MotionEvent;.getX (I)F
W/dalvikvm(12735): VFY: rejecting opcode 0x6e at 0x0003
W/dalvikvm(12735): VFY: rejected Lde/ueller/gpsmid/ui/Trace;.angle (Landroid/view/MotionEvent;)F
W/dalvikvm(12735): Verifier rejected class Lde/ueller/gpsmid/ui/Trace;
W/dalvikvm(12735): threadid=19: thread exiting with uncaught exception (group=0x4001d990)
E/AndroidRuntime(12735): Uncaught handler: thread Thread-10 exiting due to uncaught exception
E/AndroidRuntime(12735): java.lang.VerifyError: de.ueller.gpsmid.ui.Trace
E/AndroidRuntime(12735): at de.ueller.gpsmid.ui.GpsMid$1.run(GpsMid.java:532)
E/AndroidRuntime(12735): at java.lang.Thread.run(Thread.java:1060)
I/Process ( 126): Sending signal. PID: 12735 SIG: 3
I/dalvikvm(12735): threadid=7: reacting to signal 3
I/dalvikvm(12735): Wrote stack trace to '/data/anr/traces.txt'

Discussion

  • Jyrki Kuoppala
    Jyrki Kuoppala
    2012-09-06

    Looks like lack of multitouch / touch event support API on the device, which doesn't have multitouch.

     
  • Jyrki Kuoppala
    Jyrki Kuoppala
    2012-09-06

    Tested with a previous GpsMid version which I think doesn't have multitouch yet, GpsMid-Generic-android-online-0.7.71-map70.apk

    Seems to go further, but gives an error message that the phone does not support the Android location API.

     
  • Jyrki Kuoppala
    Jyrki Kuoppala
    2012-09-06

    Can't select an external map, directory down with 0.7.71-map70 results in force close.

    I/Sensors ( 126): set AK daemon delay=240 fd=105
    E/SensorManager(13071): registerListener: de.ueller.gps.location.CompassProvider$1@43900bf8
    I/Sensors (13071): sensors_data_delay handle=0 delay=240 mMinDelay=240
    I/KeyInputQueue( 126): Input event: dev=0x10000 type=0x1 scancode=330 keycode=0 value=0
    E/dalvikvm(13071): Could not find method java.io.File.setReadable, referenced from method de.enough.polish.android.io.file.FileConnectionImpl.setReadable
    W/dalvikvm(13071): VFY: unable to resolve virtual method 12707: Ljava/io/File;.setReadable (Z)Z
    W/dalvikvm(13071): VFY: rejecting opcode 0x6e at 0x0002
    W/dalvikvm(13071): VFY: rejected Lde/enough/polish/android/io/file/FileConnectionImpl;.setReadable (Z)V
    W/dalvikvm(13071): Verifier rejected class Lde/enough/polish/android/io/file/FileConnectionImpl;
    W/dalvikvm(13071): threadid=23: thread exiting with uncaught exception (group=0x4001d990)
    E/AndroidRuntime(13071): Uncaught handler: thread Thread-25 exiting due to uncaught exception
    E/AndroidRuntime(13071): java.lang.VerifyError: de.enough.polish.android.io.file.FileConnectionImpl
    E/AndroidRuntime(13071): at de.enough.polish.android.io.Connector.createFileConnection(Connector.java:151)
    E/AndroidRuntime(13071): at de.enough.polish.android.io.Connector.createConnection(Connector.java:74)
    E/AndroidRuntime(13071): at de.enough.polish.android.io.Connector.open(Connector.java:53)
    E/AndroidRuntime(13071): at de.ueller.gpsmid.ui.FsDiscover.getRootContent(FsDiscover.java:181)
    E/AndroidRuntime(13071): at de.ueller.gpsmid.ui.FsDiscover.run(FsDiscover.java:136)
    E/AndroidRuntime(13071): at java.lang.Thread.run(Thread.java:1060)
    I/Process ( 126): Sending signal. PID: 13071 SIG: 3