java.lang.NullPointerException

Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web248

Stack trace

  • java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746) at com.facebook.internal.Utility.getDialogFeatureConfig(Utility.java:922) at com.facebook.internal.DialogPresenter.getVersionSpecForFeature(DialogPresenter.java:254) at com.facebook.internal.DialogPresenter.getProtocolVersionForNativeDialog(DialogPresenter.java:241) at com.facebook.internal.DialogPresenter.canPresentNativeDialogWithFeature(DialogPresenter.java:75) at com.facebook.share.widget.ShareDialog.canShowNative(ShareDialog.java:162) at com.facebook.share.widget.ShareDialog.access$300(ShareDialog.java:65) at com.facebook.share.widget.ShareDialog$NativeHandler.canShow(ShareDialog.java:314) at com.facebook.share.widget.ShareDialog$NativeHandler.canShow(ShareDialog.java:285) at com.facebook.internal.FacebookDialogBase.createAppCallForMode(FacebookDialogBase.java:210) at com.facebook.internal.FacebookDialogBase.showImpl(FacebookDialogBase.java:150) at com.facebook.share.widget.ShareDialog.show(ShareDialog.java:267) at com.myApp.app.item.overview.OverviewListItemFragment.onShareClick(OverviewListItemFragment.java:908) at com.myApp.app.item.overview.OverviewListItemFragment.onClick(OverviewListItemFragment.java:841) at com.myApp.app.item.overview.OverviewListItemFragment_ViewBinding$10.doClick(OverviewListItemFragment_ViewBinding.java:169) at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22) at android.view.View.performClick(View.java:4802) at android.view.View$PerformClick.run(View.java:20101) at android.os.Handler.handleCallback(Handler.java:810) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:189) at android.app.ActivityThread.main(ActivityThread.java:5529) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)

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

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Indri YunitaIndri Yunita
Once,
20 more bugmates