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

nextcloud app crashes when moving files #9903

Open
danikuci1 opened this issue Feb 28, 2022 · 2 comments
Open

nextcloud app crashes when moving files #9903

danikuci1 opened this issue Feb 28, 2022 · 2 comments
Labels

Comments

@danikuci1
Copy link

danikuci1 commented Feb 28, 2022

Steps to reproduce

  1. Select files in one folder
  2. Cut and paste them into a second folder
  3. Profit?

Expected behaviour

Expected nextcloud to move the files.

Actual behaviour

************ CAUSE OF ERROR ************

java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 2074992 free bytes and 2026KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
	at org.apache.harmony.xml.dom.ElementImpl.<init>(ElementImpl.java:51)
	at org.apache.harmony.xml.dom.DocumentImpl.createElementNS(DocumentImpl.java:347)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:272)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:296)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:296)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:296)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:296)
	at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:128)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107)
	at org.apache.jackrabbit.webdav.xml.DomUtil.parseDocument(DomUtil.java:104)
	at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getResponseBodyAsDocument(DavMethodBase.java:113)
	at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.getRootElement(DavMethodBase.java:137)
	at org.apache.jackrabbit.webdav.client.methods.DavMethodBase.processResponseBody(DavMethodBase.java:282)
	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1749)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:205)
	at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.run(ReadFolderRemoteOperation.java:80)
	at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:187)
	at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:405)
	at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:239)
	at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:363)
	at java.lang.Thread.run(Thread.java:920)

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30190090
Build flavor: generic

************ DEVICE INFORMATION ************
Brand: google
Device: sunfish
Model: Pixel 4a
Id: SQ1A.220205.002
Product: sunfish

************ FIRMWARE ************
SDK: 31
Release: 12
Incremental: 8010174

Can you reproduce this problem on https://try.nextcloud.com?

  • Please create a test demo account and see if this still happens there.
  • If yes, please open up a bug report
  • If not, please verify server setup and ask for help on forum

Environment data

Android version:

Device model:

Stock or customized system:

Nextcloud app version:

Nextcloud server version:

Reverse proxy:

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@danikuci1 danikuci1 added the bug label Feb 28, 2022
@AlvaroBrey
Copy link
Member

AlvaroBrey commented Feb 28, 2022

@danikuci1 How many files were you trying to move?

Also please fill in the rest of the report template, especially the Environment data

@danikuci1
Copy link
Author

It was maybe 20 or 30 files in a folder of maybe 15K files total.

Apologies as I had thought the rest of the environment info would be copied with the crash report. Will retrieve and add.

@AlvaroBrey AlvaroBrey added the performance: general/non-specific lag, ANR, etc and rarer exceptions/errors that don't have their own labels label Aug 22, 2022
@joshtrichards joshtrichards added performance: OOM 🧠 Out of memory errors / OutOfMemoryError and removed performance: general/non-specific lag, ANR, etc and rarer exceptions/errors that don't have their own labels labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants