From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: [Android] Force close with MobileOrg Android 0.2_alpha and development snapshot Date: Wed, 21 Apr 2010 22:35:50 +0200 Message-ID: <20100421203549.GA29855@taupan.ath.cx> References: <773b85131002252051y2055e382j275c2e94ab3bd903@mail.gmail.com> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4geO-0004BL-Jc for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 16:36:00 -0400 Received: from [140.186.70.92] (port=45019 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4geM-00047F-FJ for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 16:36:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4geJ-0002AM-JB for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 16:35:58 -0400 Received: from dudelab.org ([212.12.33.202]:8898 helo=mail.dudelab.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4geI-00029s-Ss for emacs-orgmode@gnu.org; Wed, 21 Apr 2010 16:35:55 -0400 Received: from abrasax.taupan.ath.cx (p5DE88E01.dip.t-dialin.net [93.232.142.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (not verified)) by mail.dudelab.org (Postfix) with ESMTP id 0CA45228148 for ; Wed, 21 Apr 2010 22:38:06 +0200 (CEST) Content-Disposition: inline In-Reply-To: <773b85131002252051y2055e382j275c2e94ab3bd903@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi! I finally got around to trying out MobileOrg for Android. After I finally managed to set up webdav and sync my files, MobileOrg force closed. (development snapshot from today) Now it force closes every time I try to start it. I tried the 0.2 alpha release next but it also force closed on startup. Looking into my /sdcard/mobileorg files, I noticed that only parts of my files were there. In particular, I notice that I have subdirectories 'home' and 'work' in my Org files, but there are no subdirectories in the /sdcard/mobileorg directory. Then I tried deinstalling the application and reinstalling (this time the 0.2 alpha), put in my setup, pressed sync and get a force close again. Unfortunately the logcat contains the full contents of some of my org files, which I can't post to the list, so I'm posting parts of it here: [ log with contents of files] I/global (14760): Default buffer size used in BufferedWriter constructor. It would be better to be explicit if an 8k-char buffer is required. E/MobileOrg(14760): IO Exception initializing writer on sdcard file [log of further files, but this time *without* the contents] E/MobileOrg(14760): Error: /sdcard/mobileorg/work/Someday.org in file work/Someday.org D/AndroidRuntime(14760): Shutting down VM W/dalvikvm(14760): threadid=3: thread exiting with uncaught exception (group=0x4001e180) E/AndroidRuntime(14760): Uncaught handler: thread main exiting due to uncaught exception D/dalvikvm(14760): GC freed 858 objects / 810176 bytes in 83ms E/AndroidRuntime(14760): java.lang.NullPointerException E/AndroidRuntime(14760): at com.matburt.mobileorg.OrgFileParser.parse(OrgFileParser.java:99) E/AndroidRuntime(14760): at com.matburt.mobileorg.MobileOrgActivity.runParser(MobileOrgActivity.java:145) E/AndroidRuntime(14760): at com.matburt.mobileorg.MobileOrgActivity.postSynchronize(MobileOrgActivity.java:269) E/AndroidRuntime(14760): at com.matburt.mobileorg.MobileOrgActivity$1.run(MobileOrgActivity.java:117) E/AndroidRuntime(14760): at android.os.Handler.handleCallback(Handler.java:587) E/AndroidRuntime(14760): at android.os.Handler.dispatchMessage(Handler.java:92) E/AndroidRuntime(14760): at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime(14760): at android.app.ActivityThread.main(ActivityThread.java:4358) E/AndroidRuntime(14760): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(14760): at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime(14760): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime(14760): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime(14760): at dalvik.system.NativeStart.main(Native Method) I/Process ( 2566): Sending signal. PID: 14760 SIG: 3 I/dalvikvm(14760): threadid=7: reacting to signal 3 I/dalvikvm(14760): Wrote stack trace to '/data/anr/traces.txt' D/dalvikvm( 2898): GC freed 68 objects / 2408 bytes in 209ms D/dalvikvm( 2614): GC freed 2336 objects / 110792 bytes in 201ms I/Process (14760): Sending signal. PID: 14760 SIG: 9 I/ActivityManager( 2566): Process com.matburt.mobileorg (pid 14760) has died. I/WindowManager( 2566): WIN DEATH: Window{43e0e690 com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity paused=false} I/WindowManager( 2566): WIN DEATH: Window{43e47e50 com.matburt.mobileorg/com.matburt.mobileorg.MobileOrgActivity paused=false} We should probably do further debugging off-list. -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;)