Jump to content
DYU Official Forum

I and of my friends who own the Dyu Deluxe Bike can't connect via the app because it crashes contiuously


Recommended Posts

I and of my friends who own the Dyu Deluxe Bike can't connect via the app because it crashes contiuously!

This is the error shown to us:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cn.dyu/com.example.king.dyu.bluetooth.SearchBluetoothActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2836)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2911)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1608)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6665)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at com.example.king.dyu.bluetooth.MyBluetoothAdapter.clearButDevices(MyBluetoothAdapter.java:97)
at com.example.king.dyu.bluetooth.SearchBluetoothActivity.initData(SearchBluetoothActivity.java:155)
at com.example.king.dyu.baseUtils.BaseActivity.onCreate(BaseActivity.java:48)
at android.app.Activity.performCreate(Activity.java:7057)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2789)
... 9 more

Please tell your programmer to fix it as soon as possible! I am using Xiaomi Mi 6.

Thanks a lot.

Edited by Jesse Jin
  • Like 1
Link to post
Share on other sites
  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...