Project Information
- Repository: https://github.com/hapramp/1Rramp-Android
- Project Name: 1Rramp-Android
- Publisher: @the-dragon / @singhpratyush
Expected behavior
When trying to add a divider/border below the caption of a photo, it should be rendered and be added.
Actual behavior
Upon trying to add a divider/border below the caption of a photo, the app crashes.
How to reproduce
- Tap the "
+
" button and select "Blog". - Add the title of the post.
- Upload a photo.
- After the photo has been uploaded successfully, add a caption.
- Now, tap the icon that is composed of two lines - first line is horizontal line and the next line is a horizontal line that is broken.
- After tapping that icon, the text box would show "
Type here...
", delete those texts. - Then, tap again the icon for divider/border and after that, the issue occurs for which the app crashes.
Logcat Report
09-06 14:47:26.180 7770 7770 E AndroidRuntime: FATAL EXCEPTION: main
09-06 14:47:26.180 7770 7770 E AndroidRuntime: Process: com.hapramp, PID: 7770
09-06 14:47:26.180 7770 7770 E AndroidRuntime: java.lang.IndexOutOfBoundsException: index=2 count=1
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addInArray(ViewGroup.java:4760)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addViewInner(ViewGroup.java:4681)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addView(ViewGroup.java:4495)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addView(ViewGroup.java:4436)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at xute.markdeditor.MarkDEditor.insertHorizontalDivider(MarkDEditor.java:319)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at xute.markdeditor.EditorControlBar$5.onClick(EditorControlBar.java:158)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.View.performClick(View.java:5721)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:22620)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Environment
- App/Plugin version: HapRamp-Android v0.0.13
- Device: Samsung Galaxy J2 Prime (SM-G532G/DS)
- Operating system: Android version 6.0.1
Recording of the Bug
GitHub Account
https://github.com/josephace135
GitHub Issue
PO was able to replicate the issue as per discussion in Discord.
Thanks for your contribution.
I was able to replicate this crash too.
Once again, thanks for your contribution and I look forward to your next one.
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]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @tobias-g!
So far this week you've reviewed 1 contributions. Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @josephace135!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @josephace135!
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!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by josephace135 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.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit