java.lang.NullPointerException

Expected to unbox a 'int' primitive type but was returned null

Solutions on the web21151

  • via Appcelerator JIRA by Brian García, 1 year ago
    Expected to unbox a 'int' primitive type but was returned null
  • via Appcelerator JIRA by Brian García, 11 months ago
    Expected to unbox a 'int' primitive type but was returned null
  • Expected to unbox a 'int' primitive type but was returned null
  • Stack trace

    • java.lang.NullPointerException: Expected to unbox a 'int' primitive type but was returned null at $Proxy0.hashCode(Unknown Source) at java.util.Collections.secondaryHash(Collections.java:3405) at java.util.HashMap.containsKey(HashMap.java:325) at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:2189) at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:2157) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at hyperloop.BaseProxy.invokeMethod(BaseProxy.java:133) at hyperloop.BaseProxy.callNativeFunction(BaseProxy.java:115) at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method) at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62) at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:918) at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1141) at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:356) at ti.modules.titanium.ui.widget.listview.ListViewProxy.handleMessage(ListViewProxy.java:312) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5951)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.