[1ramp] [v0.0.13 revision 2] When user tries to upload picture on blog category, the app takes restart

in #utopian-io6 years ago (edited)

Project Information

Expected behavior

When posting user should be able to upload picture on both blog and post category.

Actual behavior

Though user is able to upload picture on post but when tries to upload on blog, the app takes kind of restart and same thing happens again and again which makes the user unable to upload image.

How to reproduce

  • Enter into the app and select Blog category for posting

  • Now click on the icon placed on below left side

  • It will ask for choosing a picture to upload

  • Select a picture which you want to upload and click on

  • You will see the app taking restart and won't upload the picture

Recording Of The Bug

  • Device : Huawei y9
  • Operating System : Android OREO(8.0.0)
  • App Version : 1ramp Android Alpha v0.0.13 revision 2

Github Account

https://github.com/sourovafrin

Github issue

https://github.com/hapramp/1Rramp-Android/issues/175

Logcat of the issue
            mali_winsys  D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buf
                            fer_format *, EGLBoolean) returns 0x3000
         AndroidRuntime  D  Shutting down VM
                         E  FATAL EXCEPTION: main
                         E  Process: com.hapramp, PID: 13241
                         E  java.lang.NoSuchMethodError: No virtual method load(Ljava/lang/String;)Lcom/bumptech/glide/DrawableTypeRequest; in 
                            class Lcom/bumptech/glide/RequestManager; or its super classes (declaration of 'com.bumptech.glide.RequestManager' 
                            appears in /data/app/com.hapramp-6uq7KL_WNqoNKYyP4SWZKg==/base.apk)
                         E      at xute.markdeditor.utilities.ImageHelper.load(ImageHelper.java:16)
                         E      at xute.markdeditor.components.ImageComponentItem.setFilePath(ImageComponentItem.java:128)
                         E      at xute.markdeditor.components.ImageComponent.getNewImageComponentItem(ImageComponent.java:15)
                         E      at xute.markdeditor.MarkDEditor.insertImage(MarkDEditor.java:271)
                         E      at com.hapramp.ui.activity.CreateArticleActivity.addImage(CreateArticleActivity.java:300)
                         E      at com.hapramp.ui.activity.CreateArticleActivity$7$1.run(CreateArticleActivity.java:292)
                         E      at android.os.Handler.handleCallback(Handler.java:808)
                         E      at android.os.Handler.dispatchMessage(Handler.java:101)
                         E      at android.os.Looper.loop(Looper.java:166)
                         E      at android.app.ActivityThread.main(ActivityThread.java:7425)
                         E      at java.lang.reflect.Method.invoke(Native Method)
                         E      at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
                         E      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
                Process  I  Sending signal. PID: 13241 SIG: 9

                            Process com.hapramp created for activity com.hapramp/.ui.activity.HomeActivity
                            PID: 13421   UID:    GIDs: 
Sort:  

Thanks for your contribution.

I was able to replicate the issue.

Although this is minor, I think you mean the image icon located on the right instead of "Now click on the icon placed on below left side"

  1. Great to see this has been reported to the project owner and as mentioned, it's of great importance to the project.
  2. Your title was descriptive, although unfortunately had some minor grammar issues, it would have been better to phrase it as "The application restarts when uploading an image within a blog"
  3. Great to see a log-cat, this is considered good practice and a great addition to your contribution.
  4. Try to proofread your work prior to submitting it to Utopian, there are quite a few grammatical errors within your steps to reproduce.
  5. Your video is straight to the point, good work.
  6. Although the steps provided enough information to understand the issue, I felt that they could be more detailed and the errors within took away from their readability, you can see this reflected in my scoring.

Once again, thanks for your contribution and I hope my feedback will help you to provide even more value to the open source community in the future.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you for your review, @tobias-g!

So far this week you've reviewed 2 contributions. Keep up the good work!

Hi @sourovafrin!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by sourovafrin from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Hey, @sourovafrin!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 63754.85
ETH 3055.95
USDT 1.00
SBD 3.85