Force close just after start
I'm getting an almost immediate force close on the app. Download app from store, run, it opens the main screen, crash. Here's my logcat dump: https://gist.github.com/nicholaskariniemi/9394175. I also tried it from source and it crashes in the same way.
(As an aside, are there any other non-trivial open source Android apps written in Clojure that you know of? I'm trying to get some basic benchmarks with actual Clojure-Android apps. If I can roll back to some commit here that works that could help, too.)
Edit - device info:
- Nexus 5
- Android 4.4.2 KOT94H
The crash log doesn't look like a familiar error, but do you happen to have ART enabled? That's the only thing I can think of.
Nope.
Has the app ever worked on your device before? Also, is there anything else special about your configuration (using a ROM, for example)? This is a pretty low-level libc error that I haven't seen before.
I am using the stock Nexus 5 4.4.2 ROM from an over the air update. I have not rooted the phone or installed any other ROMs. I haven't tested the app earlier with this device.
Could you try running git checkout 0.0.25 in the repo and see if that version works? I updated a few libraries in 0.0.26, so it may help to see if they are causing problems.
git checkout 0.0.25
lein droid doall
Fails with what looks like the same error.
You can try running git checkout with any version number if you'd like to try older releases, or just download and install the binaries in the releases section. If this error persists no matter the version, then there must be a fundamental problem going on.
You can tell by the crash log that Nightweb is successfully booting up and starting the background service, so I suppose that could help us narrow it down. Have you tried running the Clojure REPL app? It's using an older version of Clojure, but if it crashes then we can at least deduce that your issue is not specific to Nightweb.
I confirm this issue in identical conditions.