Skip to content

pslab app crashes when selecting oscilloscope #2070

Closed
@corsch

Description

@corsch

HUAWEI MediaPad M5 Lite

Model BAH2-W19
Build BAH2-W19 8.0.0.238(OCEC432)
Android Version 8.0.0

App Version 2.0.20
Play Store version

Actual Behaviour

pslab app crashes when selecting the Oscillosope

Expected Behaviour

Show the Oscilloscope

Steps to reproduce it

  1. open pslab app
  2. Select oscilloscope
  3. app crashes

LogCat for the issue
--------- beginning of crash
01-12 17:42:39.467 3003 3003 E AndroidRuntime: FATAL EXCEPTION: main
01-12 17:42:39.467 3003 3003 E AndroidRuntime: Process: io.pslab, PID: 3003
01-12 17:42:39.467 3003 3003 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{io.pslab/io.pslab.activity.OscilloscopeActivity}: java.lang.IllegalStateException: Required view 'img_arrow_oscilloscope' with ID 2131296672 for field 'arrowUpDown' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread.-wrap12(Unknown Source:0)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:108)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7529)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Required view 'img_arrow_oscilloscope' with ID 2131296672 for field 'arrowUpDown' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at butterknife.internal.Utils.findRequiredView(Utils.java:92)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at butterknife.internal.Utils.findRequiredViewAsType(Utils.java:104)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at io.pslab.activity.OscilloscopeActivity_ViewBinding.(OscilloscopeActivity_ViewBinding.java:50)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at butterknife.ButterKnife.createBinding(ButterKnife.java:199)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at butterknife.ButterKnife.bind(ButterKnife.java:124)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at io.pslab.activity.OscilloscopeActivity.onCreate(OscilloscopeActivity.java:220)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7383)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
01-12 17:42:39.467 3003 3003 E AndroidRuntime: ... 9 more
--------- beginning of system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions