fossasia / pslab-android

PSLab Android App https://play.google.com/store/apps/details?id=io.pslab

Home Page:https://pslab.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash: Wavegenerator_freq_button_problem

Wishy-S opened this issue · comments

Actual Behaviour
App is crashing while clicking freq button in the Wavegenerator.

Expected Behaviour

App should not crash.

Steps to reproduce it

Just go to Wavegenerator part and try pressing freq button .

LogCat for the issue

2021-10-23 13:57:38.591 11149-11149/io.pslab E/AndroidRuntime: FATAL EXCEPTION: main
    Process: io.pslab, PID: 11149
    java.lang.IllegalArgumentException: the Argument: TICK COUNT must be limited between (0-50), Now is 100
        at com.warkiz.widget.IndicatorSeekBar.collectTicksInfo(IndicatorSeekBar.java:272)
        at com.warkiz.widget.IndicatorSeekBar.setTickCount(IndicatorSeekBar.java:1976)
        at io.pslab.activity.WaveGeneratorActivity.setSeekBar(WaveGeneratorActivity.java:914)
        at io.pslab.activity.WaveGeneratorActivity.access$600(WaveGeneratorActivity.java:82)
        at io.pslab.activity.WaveGeneratorActivity$6.onClick(WaveGeneratorActivity.java:304)
        at android.view.View.performClick(View.java:6597)
        at android.view.View.performClickInternal(View.java:6574)
        at android.view.View.access$3100(View.java:778)
        at android.view.View$PerformClick.run(View.java:25885)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6669)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Screenshots of the issue

2021-10-22.19-18-20.mp4

Would you like to work on the issue?

Yes, i will try