-
-
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
NullPointerException when sharing newly created directory in Nextcloud #13596
Labels
Comments
Same issue. Exception in thread "main" java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object
reference
at com.owncloud.android.datamodel.OCFile.isInternalFolderSync(OCFile.java:1058)
at com.owncloud.android.ui.fragment.FileDetailFragment.updateFileDetails(FileDetailFragment.java:569)
at com.owncloud.android.ui.fragment.FileDetailFragment.onViewCreated(FileDetailFragment.java:266)
at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3152)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:608)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:286)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2164)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2059)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:702)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8623)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369) Android version Nextcloud android app |
4 tasks
4 tasks
Just tested the pr build, it works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Create anew directory, another subdirectory in there and navigate back.
Now try to share that by tapping on the share button. (I mean the people +1 one)
Is the same though if you share it via info - > share.
Reproducible.
Expected behaviour
No crash.
Actual behaviour
Cause of error
App information
com.nextcloud.client
30300090
generic
Device information
Fairphone
FP4
FP4
AP2A.240905.003
FP4eea
Firmware
34
14
24511010
Android version
14
Device brand and model
Fairphone 4 FP4
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
Version 3.30.0 com.nextcloud.client
Nextcloud server version
N/A
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
No response
Additional information
CalyxOS 5.11.1
The text was updated successfully, but these errors were encountered: