matburt/mobileorg-android — Issue #170: Dropbox Sync: Error:java.lang.NullPointerException
Author: cit
Created: 2012-02-18 18:29:07+00:00
State: open

Everytime I want to synchronize my org-mode notes with dropbox I get the following Error:java.lang.NullPointerException. The directory is set to "/notes/" which does exist and there is also a index.org and a mobileorg.org file. I can see both files with the native dropbox client on my android. I use mobileorg version 0.8.3.

Here the output of ./adb logcat |grep -i mobileorg

```
I/WindowManager( 2716): CREATE SURFACE Surface(name=Starting com.matburt.mobileorg, identity=661, mNativeSurface=0) IN SESSION android.view.SurfaceSession@40938820: pid=2716 format=-1 flags=0x0 / Window{40ae5150 Starting com.matburt.mobileorg paused=false}
I/ActivityManager( 2716): Start proc com.matburt.mobileorg for activity com.matburt.mobileorg/.Gui.OutlineActivity: pid=12878 uid=10117 gids={3003, 1015}
I/WindowManager( 2716): CREATE SURFACE Surface(name=com.matburt.mobileorg/com.matburt.mobileorg.Gui.OutlineActivity, identity=662, mNativeSurface=0) IN SESSION android.view.SurfaceSession@40a21750: pid=12878 format=-1 flags=0x0 / Window{40c5cbb0 com.matburt.mobileorg/com.matburt.mobileorg.Gui.OutlineActivity paused=false}
I/ActivityManager( 2716): Displayed com.matburt.mobileorg/.Gui.OutlineActivity: +350ms
W/WindowManager( 2716): Window Window{40ae5150 Starting com.matburt.mobileorg paused=false} destroyed surface Surface(name=Starting com.matburt.mobileorg, identity=-1, mNativeSurface=0), session Session{409aabe8 uid 1000}
I/InputDispatcher( 2716): Delivering touch to current input target: action: 0, channel '40c5cbb0 com.matburt.mobileorg/com.matburt.mobileorg.Gui.OutlineActivity (server)'
I/InputDispatcher( 2716): Delivering touch to current input target: action: 1, channel '40c5cbb0 com.matburt.mobileorg/com.matburt.mobileorg.Gui.OutlineActivity (server)'
D/MobileOrg(12878): Getting "File/null
```

Someone here mentioned that it helps him when he removed /sdcard/mobileorg/. I did this without any luck. Any help is appreciated.

Thanks!