Hisab-andriod 1.4: Deleting group or groups from list crashes app.

in #utopian-io7 years ago (edited)

Project Information


Expected behavior

When app is been opened and group is been created, then any activity been performed on the app should go as expected. E.g. When group are been created, if the sort option is been clicked on. When group i also deleted. All response should be in accordance to the task assigned.

Actual behavior

After creating the group on the app, then long pressing on the group created. And trying to delete created group suddenly stops the app.

How to reproduce

contents

  1. Open app, then login or activate using google account.
  2. At the top right corner, an "add group" icon is been displayed.
  3. Create multiple group.
  4. Long press on created group, then at the top right click on the menu option then delete created group.
  5. Or you mark multiple groups and delete.
  6. App crashes suddenly when delete is made.
  7. Bug is visible.

  • Browser/App version: hisab v.1.4.
  • Operating system: Android Nougat 7.0

Recording Of The Bug

Github Issue

issue

GitHub Account

Abdul-qudus


Logcat

05-28 18:26:20.098 I/ActivityManager(803): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.github.zkhan93.hisab/.ui.EntryActivity (has extras)} from uid 10022 on display 0
05-28 18:26:20.132 I/BufferQueueConsumer(224): [Starting io.github.zkhan93.hisab](this:0xa9baf000,id:3312,api:0,p:-1,c:224) setConsumerName: Starting io.github.zkhan93.hisab
05-28 18:26:20.132 I/BufferQueueConsumer(224): [Starting io.github.zkhan93.hisab](this:0xa9baf000,id:3312,api:0,p:-1,c:224) setDefaultBufferSize: width=1 height=1
05-28 18:26:20.144 I/BufferQueueConsumer(224): [Starting io.github.zkhan93.hisab](this:0xa9baf000,id:3312,api:0,p:-1,c:224) setDefaultBufferSize: width=720 height=1280
05-28 18:26:20.153 I/BufferQueueProducer(224): [Starting io.github.zkhan93.hisab](this:0xa9baf000,id:3312,api:2,p:803,c:224) connect(P): api=2 producer=(803:system_server) producerControlledByApp=false
05-28 18:26:20.153 I/BufferQueueProducer(224): [Starting io.github.zkhan93.hisab](this:0xa9baf000,id:3312,api:2,p:803,c:224) new GraphicBuffer needed
05-28 18:26:20.176 I/ActivityManager(803): Start proc 14787:io.github.zkhan93.hisab/u0a235 for activity io.github.zkhan93.hisab/.ui.EntryActivity
05-28 18:26:20.209 I/libPerfService(803): [perfNotifyAppState] foreground:io.github.zkhan93.hisab, pid:14787
05-28 18:26:20.209 I/PPS     (803): [PPSNotifyAppState] pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.EntryActivity, state:1,ActiveCount = 2
05-28 18:26:20.209 I/PPS     (803): [PPSNotifyAppState] nPackNum:102, pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.EntryActivity, state:1, pid:14787, last_boost_tid:14787
05-28 18:26:20.258 W/System  (14787): ClassLoader referenced unknown path: /data/app/io.github.zkhan93.hisab-1/lib/arm
05-28 18:26:20.974 I/FA      (14787):   adb shell setprop debug.firebase.analytics.app io.github.zkhan93.hisab
05-28 18:26:21.082 I/ActivityManager(803): START u0 {cmp=io.github.zkhan93.hisab/.ui.MainActivity} from uid 10235 on display 0
05-28 18:26:21.161 I/PPS     (803): [PPSNotifyAppState] pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.EntryActivity, state:0,ActiveCount = 1
05-28 18:26:21.161 I/PPS     (803): [PPSNotifyAppState] nPackNum:102, pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.EntryActivity, state:0, pid:14787, last_boost_tid:14787
05-28 18:26:21.168 I/PPS     (803): [PPSNotifyAppState] pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.MainActivity, state:1,ActiveCount = 2
05-28 18:26:21.168 I/PPS     (803): [PPSNotifyAppState] nPackNum:102, pack:io.github.zkhan93.hisab, com:io.github.zkhan93.hisab.ui.MainActivity, state:1, pid:14787, last_boost_tid:14787
05-28 18:26:21.377 I/BufferQueueConsumer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:0,p:-1,c:224) setConsumerName: io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity
05-28 18:26:21.378 I/BufferQueueConsumer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:0,p:-1,c:224) setDefaultBufferSize: width=1 height=1
05-28 18:26:21.392 I/BufferQueueConsumer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:0,p:-1,c:224) setDefaultBufferSize: width=720 height=1280
05-28 18:26:21.420 E/        (14787): appName=io.github.zkhan93.hisab, acAppName=/system/bin/surfaceflinger
05-28 18:26:21.469 I/BufferQueueProducer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:1,p:14787,c:224) connect(P): api=1 producer=(14787:io.github.zkhan93.hisab) producerControlledByApp=true
05-28 18:26:21.473 I/BufferQueueProducer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:1,p:14787,c:224) setMaxDequeuedBufferCount: maxDequeuedBuffers = 3
05-28 18:26:21.671 I/BufferQueueProducer(224): [io.github.zkhan93.hisab/io.github.zkhan93.hisab.ui.MainActivity](this:0xa9bc1000,id:3313,api:1,p:14787,c:224) new GraphicBuffer needed
Sort:  

Hi @abdulqudus, thank you for your contribution.

  • The repository of the project must contain a code update in the last 6 months.

Contributions to repositories that have not received any program code updates for longer than 6 months, will not be eligible for potential reward.

An update to the PRIVACY_POLICY.md does not count as a code update.

Your contribution has been evaluated according to Utopian policies and guidelines.


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