Nightweb icon indicating copy to clipboard operation
Nightweb copied to clipboard

Force close just after start

Open hoodunit opened this issue 11 years ago • 8 comments

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

hoodunit avatar Mar 06 '14 16:03 hoodunit

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.

oakes avatar Mar 06 '14 17:03 oakes

Nope.

hoodunit avatar Mar 06 '14 17:03 hoodunit

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.

oakes avatar Mar 06 '14 17:03 oakes

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.

hoodunit avatar Mar 06 '14 17:03 hoodunit

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.

oakes avatar Mar 06 '14 17:03 oakes

git checkout 0.0.25
lein droid doall

Fails with what looks like the same error.

hoodunit avatar Mar 06 '14 17:03 hoodunit

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.

oakes avatar Mar 07 '14 18:03 oakes

I confirm this issue in identical conditions.

jaccarmac avatar Mar 17 '14 23:03 jaccarmac