Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Home-built packages (»official« and my own) crashes on startup trying to display configuration wizard on Jellybean #326

Closed
albins opened this Issue · 2 comments

3 participants

@albins

I wrote about this in #235 but since this happens with the latest version from matburt.net/files as well as with the version I built from the calendar_service branch (the log below is from my build), I thought I'd file it as a separate bug.

Interestingly enough, this problem does not occur with the package from Play Store.

This is the log from logcat:
12-08 00:37:49.103: I/ActivityManager(302): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.matburt.mobileorg/.Gui.Outline.OutlineActivity u=0} from pid 539
12-08 00:37:49.321: D/dalvikvm(16436): GC_FOR_ALLOC freed 169K, 3% free 11013K/11271K, paused 13ms, total 13ms
12-08 00:37:49.329: D/dalvikvm(302): GC_CONCURRENT freed 2261K, 33% free 23422K/34567K, paused 18ms+11ms, total 186ms
12-08 00:37:49.345: D/dalvikvm(16436): GC_FOR_ALLOC freed 4K, 3% free 11099K/11399K, paused 23ms, total 23ms
12-08 00:37:49.345: I/dalvikvm-heap(16436): Grow heap (frag case) to 11.253MB for 371296-byte allocation
12-08 00:37:49.360: D/dalvikvm(16436): GC_FOR_ALLOC freed 0K, 3% free 11462K/11783K, paused 13ms, total 13ms
12-08 00:37:49.392: I/ActivityManager(302): START {cmp=com.matburt.mobileorg/.Settings.WizardActivity u=0} from pid 16436
12-08 00:37:49.517: D/dalvikvm(16436): GC_CONCURRENT freed 212K, 3% free 11764K/12039K, paused 15ms+2ms, total 32ms
12-08 00:37:49.517: D/dalvikvm(16436): WAIT_FOR_CONCURRENT_GC blocked 12ms
12-08 00:37:49.517: W/CursorWrapperInner(16436): Cursor finalized without prior close()
12-08 00:37:49.525: W/CursorWrapperInner(16436): Cursor finalized without prior close()
12-08 00:37:49.525: D/AndroidRuntime(16436): Shutting down VM
12-08 00:37:49.525: W/dalvikvm(16436): threadid=1: thread exiting with uncaught exception (group=0x41f12300)
12-08 00:37:49.525: E/AndroidRuntime(16436): FATAL EXCEPTION: main
12-08 00:37:49.525: E/AndroidRuntime(16436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.matburt.mobileorg/com.matburt.mobileorg.Settings.WizardActivity}: java.lang.NullPointerException
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread.access$600(ActivityThread.java:130)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.os.Handler.dispatchMessage(Handler.java:99)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.os.Looper.loop(Looper.java:137)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread.main(ActivityThread.java:4745)
12-08 00:37:49.525: E/AndroidRuntime(16436): at java.lang.reflect.Method.invokeNative(Native Method)
12-08 00:37:49.525: E/AndroidRuntime(16436): at java.lang.reflect.Method.invoke(Method.java:511)
12-08 00:37:49.525: E/AndroidRuntime(16436): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-08 00:37:49.525: E/AndroidRuntime(16436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-08 00:37:49.525: E/AndroidRuntime(16436): at dalvik.system.NativeStart.main(Native Method)
12-08 00:37:49.525: E/AndroidRuntime(16436): Caused by: java.lang.NullPointerException
12-08 00:37:49.525: E/AndroidRuntime(16436): at com.matburt.mobileorg.Views.PageFlipView.setNavButtonStateOnPage(PageFlipView.java:114)
12-08 00:37:49.525: E/AndroidRuntime(16436): at com.matburt.mobileorg.Settings.WizardActivity.onCreate(WizardActivity.java:151)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.Activity.performCreate(Activity.java:5008)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
12-08 00:37:49.525: E/AndroidRuntime(16436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
12-08 00:37:49.525: E/AndroidRuntime(16436): ... 11 more
12-08 00:37:49.532: W/ActivityManager(302): Force finishing activity com.matburt.mobileorg/.Settings.WizardActivity
12-08 00:37:49.587: W/ActivityManager(302): Force finishing activity com.matburt.mobileorg/.Gui.Outline.OutlineActivity
12-08 00:37:50.087: W/ActivityManager(302): Activity pause timeout for ActivityRecord{42cb1db0 com.matburt.mobileorg/.Settings.WizardActivity}

@hdweiss hdweiss was assigned
@matburt
Owner
@albins

The steps to reproduce for me:
1. adb install MobileOrg-release-0.9.6.apk.
2. start MobileOrg, don't run configuration wizard and just close the program.
3. uninstall MobileOrg.
4. checkout calendar_service branch
5. ant debug install (in repo).
6. run MobileOrg.
7. crash.

You could also replace step 5. with adb install MobileOrg-release-0.9.5.apk with the same result. I could, however, install and run 0.9.6.

The latest version from Git builds and installs fine the second time I run ant debug install. However, if I first did ant debug, then ant debug installed, during the build (job "install") i got the following error:
install:
[echo] Installing /home/albin/repos/mobileorg-android/bin/MobileOrg-debug.apk onto default emulator or device...
[exec] 3739 KB/s (1374314 bytes in 0.358s)
[exec] pkg: /data/local/tmp/MobileOrg-debug.apk
[exec] Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

and a crash.

However, this doesn't really seem to be a bug with MobileOrg, so I guess you can close the bug.

@hdweiss hdweiss closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.