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

http_upload: NullPointerException #915

Open
casperklein opened this issue Dec 8, 2019 · 2 comments
Open

http_upload: NullPointerException #915

casperklein opened this issue Dec 8, 2019 · 2 comments
Assignees
Labels

Comments

@casperklein
Copy link

casperklein commented Dec 8, 2019

Android: 10
Device: Samsung S10
Xabber Version: 2.6.6.644
(But also tested with 2.6.6.645 after grabbing the log below; when recognized there was an update on the play store)

"http_upload" does not work anymore for me. When trying to send an image for example, I get
"Could not upload any file". If I click the error description in the chat, I see:

myimage.jpg: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getHeight()' on a null object reference

Debug log:
Xabber 2.6.6.644 2019-12-08 12-51-32 log file.txt

@casperklein casperklein changed the title http_upload no longer working http_upload: NullPointerException Dec 8, 2019
@casperklein
Copy link
Author

casperklein commented Dec 8, 2019

I tested further with other files, file types and locations. I also got this error sometimes:

myimage2.png: java.io.FileNotFoundException: /storage/emulated/0/some-app-folder/myimage2.png: open failed: EACCES (Permission denied)

I checked the Android permissions for Xabber and all are granted.

PS: I've added Device/Android Info to my initial post.

@popovvitaly
Copy link
Contributor

popovvitaly commented Dec 16, 2019

We have a fix for this problem which appeared at 10 Android, but we doesn't tested it enough, especially at Samsung devices. You can write us to info@xabber.com and we send special version for you, cause this fix will not be soon in Google Play.

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