ArmandasRokas / beeware

0 stars 0 forks source link

nullPoint hive.getName() #76

Closed ArmandasRokas closed 4 years ago

ArmandasRokas commented 4 years ago

Overview 187line . HawaUbee hive

ArmandasRokas commented 4 years ago
java.lang.NullPointerException: 
  at dk.dtu.group22.beeware.presentation.Overview$2.onPostExecute (Overview.java:201)
  at android.os.AsyncTask.finish (AsyncTask.java:695)
  at android.os.AsyncTask.access$600 (AsyncTask.java:180)
  at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:712)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6762)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
ArmandasRokas commented 4 years ago

Check if hive is not null