-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Parameter specified as non-null is null #8370
Comments
Can you tell us when this happens? |
It happened after I logged in, the app tried to load my files from my server. |
I'm having the same, also on OnePlus (OnePlus 8 Pro in my case). This is the crash report: ************ CAUSE OF ERROR ************ java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter password ************ APP INFORMATION ************ ************ DEVICE INFORMATION ************ ************ FIRMWARE ************ Let me know if I can post anything else to help debug this. |
Further info: The crash only happens when I have the |
I received the crash report as well ([#8437]). I uninstalled the app and installed it again. I also see "We have detected multiple invalid login attempts When I try to login via the reinstalled app, I get until "Grant access". After I press it, the circle right to "Grant access" button appears indicating it is working. However, it never finishes. When I touch the screen wildly, touching "Grant access" button repeatedly it jumps back to the Login screen. When I login via Browser (firefox) on the mobile I also get the "We have detected multiple invalid login attempts |
I also seem to be getting a "Access Forbidden\nInvalid request" from time to time in the app after trying to log in (before grant access). |
What login name do you use? |
Can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue? |
So I thought it would be connected to brute force. What kind of user backend do you have? |
There is an APK file in PR #8494 (comment), which you can install in parallel to your existing Nextcloud app. Can someone install it, see if it crashes and also post logcat? |
I triggered the bug, when I changed my password using the browser on the desktop. The mobile client did not know, that the password was changed and kept trying to login in a loop using an old password. This behavior was considered a brute-force attack by the server. After this the mobile app started crashing with error log just like in the original post. |
I can fully reproduce this issue when there is a port specified for the URL (https://xxxxxxx.com:2345) and you're reading the QR code for the app login (which QR code is displayed on this URL). |
I tested this by disabling the Circles app on the server. Then attempting to load the NextCloud app (version 3.16.1, the latest in F-Droid) on a mobile device. The NextCloud mobile app crashed in the same manner. I conclude the the Circles app was not the (only?) cause of this. |
I'm seeing the same error on one device and also see the some parallels in the behavior described in nextcloud/server#26502 or nextcloud/server#26806 (app passwords seem to get invalid). I saw that after changing the password and when the token seams to get invalid (you also get dropped out of the web interface) the user got asked one time for the server address like when you're starting the Android app for the first time. If the users does not insert anything, afterwards he only can see the NullPointerException and can't insert a new password until the account gets deleted manually in the phone settings... |
Transaction error Parameter specified as non-null is null: method trust.blockchain.b lockchain.nano.NanoRpcService $Companion.toBlock, parameter work |
1 similar comment
Transaction error Parameter specified as non-null is null: method trust.blockchain.b lockchain.nano.NanoRpcService $Companion.toBlock, parameter work |
************ CAUSE OF ERROR ************
************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30160090
Build flavor: gplay
************ DEVICE INFORMATION ************
Brand: OnePlus
Device: OnePlus6
Model: ONEPLUS A6003
Id: RQ2A.210305.006
Product: OnePlus6
************ FIRMWARE ************
SDK: 30
Release: 11
Incremental: 1615660065
The text was updated successfully, but these errors were encountered: