shosetsuorg / shosetsu

An android application for reading light novels. Moved to https://gitlab.com/shosetsuorg/shosetsu
https://shosetsu.app
GNU General Public License v3.0
584 stars 34 forks source link

APP CRASH WHEN TRY TO OPEN NOVEL #20

Closed muhammadarif1 closed 5 years ago

muhammadarif1 commented 5 years ago

EXPECTED BEHAVIOR

this application will open the novel well so that users can read whatever novels they want

ACTUAL BEHAVIOR

when the user wants to open a novel to read, before the novel is fully loaded this application will stop working and crash.

STEP TO REPRODUCE

Doomsdayrs commented 5 years ago

I think i have solved the issue . Are you capable of compiling the code yourself?

muhammadarif1 commented 5 years ago

no bro

Doomsdayrs commented 5 years ago

This is a dev APK build. Based on the development branch. It should fix the issue

muhammadarif1 commented 5 years ago

let me try

Doomsdayrs commented 5 years ago

How did it go?

muhammadarif1 commented 5 years ago

the bug still appear on my device!

muhammadarif1 commented 5 years ago

https://youtu.be/aZRGAY3xhdI


Process: com.github.doomsdayrs.apps.shosetsu, PID: 12535
java.lang.RuntimeException: An error occured while executing doInBackground()
    at android.os.AsyncTask$3.done(AsyncTask.java:304)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
    at java.util.concurrent.FutureTask.run(FutureTask.java:242)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NoSuchMethodError: No static method encodeBase64String([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Base64; or its super classes (declaration of 'org.apache.commons.codec.binary.Base64' appears in /system/framework/ext.jar)
    at com.github.doomsdayrs.apps.shosetsu.backend.database.Database.serialize(Database.java:126)
    at com.github.doomsdayrs.apps.shosetsu.backend.database.Database.access$000(Database.java:54)
    at com.github.doomsdayrs.apps.shosetsu.backend.database.Database$DatabaseLibrary.addToLibrary(Database.java:545)
    at com.github.doomsdayrs.apps.shosetsu.backend.async.NovelLoader.doInBackground(NovelLoader.java:92)
    at com.github.doomsdayrs.apps.shosetsu.backend.async.NovelLoader.doInBackground(NovelLoader.java:41)
    at android.os.AsyncTask$2.call(AsyncTask.java:292)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    ... 4 more```
Doomsdayrs commented 5 years ago

Did you uninstall the application first?

muhammadarif1 commented 5 years ago

of course'

Doomsdayrs commented 5 years ago

Completely uninstall, and try this version.

muhammadarif1 commented 5 years ago

let me try

muhammadarif1 commented 5 years ago

it works as well now