You are viewing a single comment's thread from:

RE: AndrOBD - App Crashes When tabbing 'No Devices Paired' option.

in #utopian-io7 years ago

Thanks for your contribution.

I was able to replicate on Android 7.0.

  1. I would recommend not adding images in the way that you do, it makes it hard to read and overall reduces the contribution.
  2. You should try to include log-cats for crash reports, this is important for the project owner in understanding the issue with the application.
  3. Please make sure you add your GitHub account to the post, further contributions without this added with no be accepted as this is part of our rules. Thanks for understanding.

My Logs


05-20 14:40:46.366 17056-17056/com.fr3ts0n.ecu.gui.androbd E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.fr3ts0n.ecu.gui.androbd, PID: 17056
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fr3ts0n.ecu.gui.androbd/com.fr3ts0n.ecu.gui.androbd.BtDeviceListActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Set android.bluetooth.BluetoothAdapter.getBondedDevices()' on a null object reference
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6077)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Set android.bluetooth.BluetoothAdapter.getBondedDevices()' on a null object reference
        at com.fr3ts0n.ecu.gui.androbd.BtDeviceListActivity.onCreate(BtDeviceListActivity.java:112)
        at android.app.Activity.performCreate(Activity.java:6662)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707) 
        at android.app.ActivityThread.-wrap12(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:154) 
        at android.app.ActivityThread.main(ActivityThread.java:6077) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756) 

Your contribution has been evaluated according to Utopian rules 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



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

Sort:  

Thank you for the kind information. I will check the things for my later posts.
And I updated the post. Have a look at it.