Comments (8)
It should all crash for old versions. Because originally I don't expect any device will enter that line... so there's no implementation for that scenario. Thanks for verifying the fix for me. I'll have a release for this fix. :)
from einkbro.
Hi, @Kazurin-775
I just pushed a fix that might fix this issue. Could you fetch the latest codes and try again to see if it's really fixed? Thank you!
from einkbro.
Thanks for your quick reply! The app can be opened now (and it shows "EinkBro" on the bottom bar), but I still cannot interact with anything on the UI, or the app will still crash. This is the log when I tap on the menu button:
10-15 21:40:28.295 5911 5911 E AndroidRuntime: FATAL EXCEPTION: main
10-15 21:40:28.295 5911 5911 E AndroidRuntime: Process: info.plateaukao.einkbro, PID: 5911
10-15 21:40:28.295 5911 5911 E AndroidRuntime: kotlin.UninitializedPropertyAccessException: lateinit property ninjaWebView has not been initialized
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at de.baumann.browser.activity.BrowserActivity.showMenuDialog(BrowserActivity.kt:1481)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at de.baumann.browser.activity.BrowserActivity.initToolbar$lambda-10(BrowserActivity.kt:728)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at de.baumann.browser.activity.BrowserActivity.$r8$lambda$VRLLLoVHdallnoJKBTNARm8k9K4(Unknown Source:0)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at de.baumann.browser.activity.BrowserActivity$$ExternalSyntheticLambda3.onClick(Unknown Source:2)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.view.View.performClick(View.java:6298)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24788)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:793)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6496)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
10-15 21:40:28.295 5911 5911 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
10-15 21:40:28.309 1902 2344 W ActivityManager: Force finishing activity info.plateaukao.einkbro/de.baumann.browser.activity.BrowserActivity
(BTW, I may be able to help with debugging, so if there is anything I can do, please tell me.)
from einkbro.
Is it happening after some version? or you just try to install EinkBro on your miReader device for the first time, and it just don't work normally? it looks like ninjaWebView is no initialized in the first place, but it should have in normal case.
from einkbro.
I added some logic to make sure a proper webview being created. Could you try again with this version: c854c57
from einkbro.
If you can set breakpoint for debugging, please help to check if it enters this line while starting the app: https://github.com/plateaukao/browser/blob/main/app/src/main/java/de/baumann/browser/activity/BrowserActivity.kt#L713
from einkbro.
The latest code (c854c57
) seems to be fully working! No glitches / crashes right now. Thanks!
If you can set breakpoint for debugging, please help to check if it enters this line while starting the app
Yes, the breakpoint is hit on app startup.
Is it happening after some version? or you just try to install EinkBro on your miReader device for the first time, and it just don't work normally?
I've tried the F-Droid build (v8.17.0) and the GitHub release (v8.18.0), both versions have the same problem. Haven't tried any earlier version yet.
from einkbro.
Here's the new version. :) https://github.com/plateaukao/browser/releases/tag/v8.18.1
from einkbro.
Related Issues (20)
- On URL entry, omit adding a space after a dot. HOT 4
- einkbro no longer on Google Play store HOT 7
- Page scroll is broken in v11.4.0 HOT 6
- Version v11.6.0 breaks setting einkbro as a default browser HOT 3
- Unnecessary page reloads/no cache HOT 8
- NPE in epub saving / handling mediatype HOT 4
- UX: cannot append to existing epubs HOT 2
- Crash when opening a local html file HOT 3
- Under access problem when using screen reader HOT 1
- PageDown/PageUp function not working on certain website HOT 8
- Statusbar blocks webpage in fullscreen
- Can't copy Chinese words both in Android 13 and Android 14. HOT 3
- FR: Implement "Bypass Paywall" HOT 3
- FR: Pop up dictionary for Einkbro browser HOT 11
- System navbar always shown when browsing web pages HOT 1
- CheckMediaAccessPermission: Not supported. HOT 1
- Spontaneous opening of home page when switching via Naviball on Boox HOT 1
- App switching behaviour & other problems HOT 1
- Volume down of webpage not pre cached lazy load HOT 6
- Hisense A5: geolocation error: User denied Geolocation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from einkbro.