Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Null pointer exception if agendas.org is missing #14

Closed
yacoob opened this Issue · 4 comments

4 participants

@yacoob

For the moment I don't have any custom agenda views defined. As a result, no agendas.org file is created during mobile push. This causes mobileorg-android to fail:

09-19 18:53:32.947 E/MobileOrg(31543): Error: /sdcard/dropbox/MobileOrg/agendas.org (No such file or directory) in file agendas.org

Bug or feature?

@matburt
Owner

It should definitely not crash

@SebastianThorn

i dont have agendas.org in my directory using webdav,
this might only be when using DropBox?

@yacoob

I don't think dropbox is relevant here - presence of this file is probably dependent on the version of org-mode.

@goodevilgenius

Using Dropbox, I didn't have an agendas.org either. When I tried to start up, I got a "file not found" error (although it said index.org wasn't found), so I created an empty agendas.org file manually and it worked fine. It never crashed, though.

@matburt matburt closed this issue from a commit
@matburt Fix a potential widget issue, this should solve most of the crashing …
…problems. fixes #14 and probably the crash on #6
225c773
@matburt matburt closed this in 225c773
@brx brx referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@kvj kvj referenced this issue from a commit in kvj/mobileorg-android
@matburt Fix a potential widget issue, this should solve most of the crashing …
…problems. fixes #14 and probably the crash on #6
b2b96de
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.