bparmentier / WiFiKeyShare

Share Wi-Fi passwords with QR codes or NFC tags
https://wifikeysha.re
GNU General Public License v3.0
118 stars 40 forks source link

NullPointerException when calling WifiListActivity.onCreateContextMenu #43

Open bparmentier opened 6 years ago

bparmentier commented 6 years ago

Application version: 1.1.1 Android version: 7.1

java.lang.NullPointerException: 
  at be.brunoparmentier.wifikeyshare.ui.activities.WifiListActivity.onCreateContextMenu (WifiListActivity.java:219)
  at android.view.View.createContextMenu (View.java:10798)
  at com.android.internal.view.menu.ContextMenuBuilder.showPopup (ContextMenuBuilder.java:100)
  at com.android.internal.policy.DecorView.showContextMenuForChildInternal (DecorView.java:794)
  at com.android.internal.policy.DecorView.showContextMenuForChild (DecorView.java:771)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.ViewGroup.showContextMenuForChild (ViewGroup.java:791)
  at android.view.View.showContextMenu (View.java:5809)
  at android.view.View.performLongClickInternal (View.java:5728)
  at android.view.View.performLongClick (View.java:5682)
  at android.view.View.performLongClick (View.java:5700)
  at android.view.View$CheckForLongPress.run (View.java:22434)
  at android.os.Handler.handleCallback (Handler.java:754)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:163)
  at android.app.ActivityThread.main (ActivityThread.java:6383)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)