Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash at start #574

Closed
nake90 opened this issue Oct 7, 2015 · 3 comments
Closed

Crash at start #574

nake90 opened this issue Oct 7, 2015 · 3 comments
Labels

Comments

@nake90
Copy link

nake90 commented Oct 7, 2015

Hello. Since the last 2 updates or so I get a crash at startup. My version is v3.38.3, android 4.1.2.
I got the following log:

10-07 09:50:48.523: V/ActivityThread(16973): Class path: /data/app/sk.baka.aedict3-2.apk, JNI path: /data/data/sk.baka.aedict3/lib
10-07 09:50:48.734: I/ActivityThread(16973): Pub sk.baka.aedict3.search: sk.baka.aedict3.search.SearchProvider
10-07 09:50:48.945: I/s*.b*.a*.AedictApp(16973): Storing the dictionaries to the following path: /storage/external_SD/Android/data/sk.baka.aedict3/files/aedict3/dictionaries
10-07 09:50:48.952: I/s*.b*.a*.c*.FileStorage(16973): SDCard Aedict root set to /storage/sdcard0/aedict3
10-07 09:50:48.960: I/s*.b*.a*.AedictApp(16973): AedictApp started in 211ms (prefs: 195ms, setRoot: 13ms, start-services: 3ms)
10-07 09:50:49.241: I/MainActivity(16973): Starting Aedict 3.38.3 en_US java.nio.charset.CharsetICU[UTF-8]
10-07 09:50:49.624: E/AndroidRuntime(16973): java.lang.RuntimeException: Unable to resume activity {sk.baka.aedict3/sk.baka.aedict3.search.MainActivity}: java.lang.IllegalArgumentException: value: blank
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.util.Check.requireNotBlank(Check.java:64)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.lucene.DBQuery$Term.<init>(DBQuery.java:287)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.lucene.DBQuery.term(DBQuery.java:61)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.lucene.DBQuery.jp(DBQuery.java:95)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.JMDictQuery.globSearch(JMDictQuery.java:604)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.JMDictQuery.forGenericEnJpTerm(JMDictQuery.java:505)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.JMDictQuery.access$000(JMDictQuery.java:37)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict.search.JMDictQuery$Builder.forGenericEnJpTerm(JMDictQuery.java:414)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict3.util.Config.newQuery(Config.java:635)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict3.search.MainActivity.getSearch(MainActivity.java:400)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict3.search.MainActivity.liveSearch(MainActivity.java:419)
10-07 09:50:49.624: E/AndroidRuntime(16973):    at sk.baka.aedict3.search.MainActivity.onResume(MainActivity.java:267)

It seems that there is an invalid search or something that gets executed every time I try to start the program. Is there a way to reset that so that it starts empty without having to lose all my information?

@mvysny
Copy link
Owner

mvysny commented Oct 7, 2015

Hi, I apologize for this crash. Thank you very much for the log, it helped tremendously. I will publish a new version shortly, which should hopefully remedy the crash.

@mvysny mvysny added the bug label Oct 7, 2015
@mvysny
Copy link
Owner

mvysny commented Oct 7, 2015

Should be fixed in Aedict 3.38.4

@mvysny mvysny closed this as completed Oct 7, 2015
@nake90
Copy link
Author

nake90 commented Oct 7, 2015

Thanks. The fix works perfectly.
Keep the good work 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants