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

App crashes upon start. #4129

Closed
OlivierS1 opened this issue Jun 8, 2019 · 29 comments · Fixed by #4156
Closed

App crashes upon start. #4129

OlivierS1 opened this issue Jun 8, 2019 · 29 comments · Fixed by #4156
Labels

Comments

@OlivierS1
Copy link

Actual behaviour

  • Tell us what happens.
    Since update to what seems to be NC 3.7.0.RC2, NC is crashing upon start. I have no way to connect to my servers using the app, and update from my phone obviously cannot be performed.
    I wish there was a way to revert to a state prior to this update.
    In a nutshell, I am in dead water.
    I am thinking, that maybe I should pull out of the Beta testing program if no fall back options is made available.

Expected behaviour

  • Tell us what should happen.It should work. Nothing more simple than that.

Steps to reproduce

  1. Start NC.

Environment data

Android version:
4.4.2
Device model:
SGH-I747M
Stock or customized system:
Stock
Nextcloud app version:
3.7.0.RC2
Nextcloud server version:
16.0.1
15.0.8

Logs

Not available

Web server error log

Insert your webserver log here
```Not relevat as crash does also occur without wifi connection.

#### Nextcloud log (data/nextcloud.log)
```Not relevat as crash does also occur without wifi connection.

Insert your Nextcloud log here

Report from my phone was sent earlier today.

@OlivierS1 OlivierS1 added the bug label Jun 8, 2019
@ezaquarii
Copy link
Collaborator

ezaquarii commented Jun 8, 2019 via email

@Claonilton
Copy link

My Nextcloud version: 3.6.2
In my device Android 7.1.1 when click in ENTER the app is closed.
In other device Android 8.1.0 Normal

@MeiRos
Copy link

MeiRos commented Jun 9, 2019

Reinstalled my Nextcloud app RC. No help.
Crashing after drawing and after iris check.

Downloaded/installed 3.6.2 from F-Droid. It's working. Now I can go back to beta in the Play Store when I want to.

Samsung Galaxy S8
Stock/latest updates
Android 9
Nextcloud server 15 (latest)

@Wikinaut
Copy link
Contributor

Wikinaut commented Jun 12, 2019

Same here on some of my devices:

NC 3.7.0.RC2 not working on

  • HUAWEI Y6 2018 Android 8.0.0
  • HUAWEI P8 LITE 2015 Android 6.0

Working on

  • HUAWEI P SMART 2019 Android 9.0.1

@Wikinaut
Copy link
Contributor

Same for NC 3.7.0 RC3 - crashes upon start.

@AndyScherzinger
Copy link
Member

@Wikinaut since there haven't been any logcats yet, are you able to provide one (and the corresponding stack trace) of the crash?

@Wikinaut
Copy link
Contributor

@AndyScherzinger Sorry, I cannot provide you with logs. It happens on the above mentioned devices.

@emresaracoglu
Copy link

ezgif-2-24637e7fbb24

HUAWEI P8 LITE 2015 Android 6.0

@ezaquarii
Copy link
Collaborator

@Wikinaut since there haven't been any logcats yet, are you able to provide one (and the corresponding stack trace) of the crash?

@AndyScherzinger, can you get ACRA PR against NC 3.7.0 RC3? That would allow users to actually generate a stack trace for us. No need to "release" - just QA build should do the trick.

@ezaquarii
Copy link
Collaborator

@emresaracoglu are you able to use ADB to dump the stack trace?

@emresaracoglu
Copy link

@ezaquarii Unfortunately, this is currently impossible. I haven't installed Android Studio after the format.

@AndyScherzinger
Copy link
Member

@AndyScherzinger, can you get ACRA PR against NC 3.7.0 RC3? That would allow users to actually generate a stack trace for us. No need to "release" - just QA build should do the trick.

@ezaquarii sure thing: #4154 should do the trick

@ezaquarii
Copy link
Collaborator

@AndyScherzinger , splendid!

@emresaracoglu can you try to reproduce this problem with a build #4154 ?

There is a QR code with/and URL with a test APK - if you install it, it should launch an email composer with stacktrace when the app crashes. This way we can get to the bottom of the issue.

@ezaquarii
Copy link
Collaborator

@OlivierS1 @Wikinaut @MeiRos can you as well try to reproduce this problem with a build #4154 ?

@emresaracoglu
Copy link

emresaracoglu commented Jun 16, 2019

@ezaquarii installed and tested it.

The application started without a crash 👍

cc @AndyScherzinger

@ezaquarii

This comment has been minimized.

@emresaracoglu
Copy link

I restarted the phone and the application crashed.
I sent you an e-mail to log.

@ezaquarii

@ezaquarii
Copy link
Collaborator

ezaquarii commented Jun 16, 2019

@emresaracoglu thank you. Your crashreport is most useful as it confirmed similarity to #4150.

ezaquarii added a commit that referenced this issue Jun 16, 2019
Bitmap decoder does not work with vector drawables.

Fixes #4129
Fixes #4150

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
@ezaquarii

This comment has been minimized.

@emresaracoglu
Copy link

emresaracoglu commented Jun 16, 2019

Great @ezaquarii but the application crashes when touched to open the video.

Screen rec: video

@ezaquarii
Copy link
Collaborator

@emresaracoglu Thanks, the 2nd issue is fixed in a separate PR. I think we can ship them as one fix, instead of 2 separate. I'll make a new PR.

ezaquarii added a commit that referenced this issue Jun 16, 2019
1) Bitmap decoder does not work with vector drawables directly
2) Dependency injection in PreviewMediaFragment

Fixes #4121
Fixes #4129
Fixes #4150

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
@ezaquarii
Copy link
Collaborator

@emresaracoglu @OlivierS1 @Claonilton @MeiRos @Wikinaut

We have a fix pending. I invite everybody to test it. QA build is available here: #4156 (comment)

@emresaracoglu
Copy link

The 9757.apk file is running great! Thank you for your contribution to this project @ezaquarii

Video

@Wikinaut
Copy link
Contributor

Sorry, boys and girls, my trust level in your Android App is limited, and the lowest level has been reached.

@OlivierS1
Copy link
Author

OlivierS1 commented Jun 17, 2019

@emresaracoglu @OlivierS1 @Claonilton @MeiRos @Wikinaut

We have a fix pending. I invite everybody to test it. QA build is available here: #4156 (comment)

It seems on my system it is still crashing.
I have been away and unable to follow up on this issue but I might be able to focus a bit on this the following few days.
So far, this is a NO GO! for me.
With QA installed, I am not able to send feedbacks.

One thing that have been troubling for me since I had to perform an uninstall of my Android app, is that I am no longer able to enable "App passcode". For some reason, when ever I try to set it up, I am asked for the password, and confirmation. But upon entering both without obvious difference, the "app password" is never activated.
To me it is a safety featutre that lacks safety status, however, I have notice this behavior on a Pixel phone and thought little of it at the time as there is fingerprint recognition at play, but i think something isn't quite right in the curernt state of the app.
I have been using the Beta for quite some time, and I haven't had to do a fresh install in a fairly long time, and I suspect, as a result of being a beta tester, I haven't gone through the hassle of starting evaluatinig the app from a fresh install property, then we it is my understanding we might be facing some issues that have been caused on fresh system long before.
Upgrading from one release to the next, just proves what ever is currently installed doesn't break. It doesn't mean a fresh install will behave the same.
I think there is an Intrinsic flaw in how beta testing is being performed.

I will be working off my laptop, which doesn't have Android studio installed. In the essence of time and simplicity,, can you give me the breaking down steps that will allow me to extract the log stack you request. If I have a no brainer process, I will be able to come with the results quite quickly, I would think.

PS. Sorry about my above spelling mistakes. I am just too exhausted.

@OlivierS1
Copy link
Author

@AndyScherzinger
What email address should I use to send the logcat to?

@AndyScherzinger
Copy link
Member

I guess since @ezaquarii is looking into this matter : hello (at) ezaquarii dot com

@OlivierS1
Copy link
Author

@AndyScherzinger, Thanks, I have sent two logcats to @ezaquarii one for the 3.7.0-RC2 or RC3 and NC-QA-9757.

@ezaquarii
Copy link
Collaborator

ezaquarii commented Jun 18, 2019 via email

backportbot-nextcloud bot pushed a commit that referenced this issue Jun 20, 2019
1) Bitmap decoder does not work with vector drawables directly
2) Dependency injection in PreviewMediaFragment

Fixes #4121
Fixes #4129
Fixes #4150

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
7 participants