java.lang.NullPointerException: Expected to unbox a 'int' primitive type but was returned null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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, 1 year ago
Expected to unbox a 'int' primitive type but was returned null
via GitHub by Davideddu
, 1 year ago
Expected to unbox a 'int' primitive type but was returned null
via GitHub by brentpicasso
, 1 year ago
Expected to unbox a 'int' primitive type but was returned null D/IOP_DB_BT( 3537): db_query: id DisableSniff :: key KEY_BDADDR, value 20:15:12:17:73:98 D/IOP_DB_BT( 3537): db_query: result 1 D/IOP_DB_BT( 3537): db_query: id ExtendSniffTime :: key
via GitHub by po9794
, 2 years ago
Expected to unbox a 'int' primitive type but was returned null
java.lang.NullPointerException: Expected to unbox a 'int' primitive type but was returned null
at undefined.$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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.