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

Crashes with null pointer exception when opening a file #13631

Closed
4 tasks done
CarlosCastaneda opened this issue Sep 26, 2024 · 1 comment
Closed
4 tasks done

Crashes with null pointer exception when opening a file #13631

CarlosCastaneda opened this issue Sep 26, 2024 · 1 comment

Comments

@CarlosCastaneda
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Open file

Expected behaviour

Should not crash

Actual behaviour

Crash

Android version

14

Device brand and model

Samsung GalaxyA52

Stock or custom OS?

Stock

Nextcloud android app version

3.30.0

Nextcloud server version

29.0.7.1

Using a reverse proxy?

I don't know

Android logs

Cause of error

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:958)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:230)
    at android.os.Looper.loop(Looper.java:319)
    at android.app.ActivityThread.main(ActivityThread.java:8919)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

App information

  • ID: com.nextcloud.client
  • Version: 30300090
  • Build flavor: generic

Device information

  • Brand: samsung
  • Device: a52q
  • Model: SM-A525F
  • Id: UP1A.231005.007
  • Product: a52qnseea

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: A525FXXU8FXH1

Server error logs

No response

Additional information

No response

@joshtrichards
Copy link
Member

Duplicate of #13502

@joshtrichards joshtrichards marked this as a duplicate of #13502 Sep 27, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants