java.lang.NullPointerException: Attempt to invoke virtual method 'com.hamweather.aeris.tiles.AerisTile com.hamweather.aeris.maps.AerisMapOptions.getTile()' on a null object reference

Stack Overflow | geetves | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Aeris Android Weather SDK NullPointerException

    Stack Overflow | 6 months ago | geetves
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.hamweather.aeris.tiles.AerisTile com.hamweather.aeris.maps.AerisMapOptions.getTile()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'com.hamweather.aeris.tiles.AerisTile com.hamweather.aeris.maps.AerisMapOptions.getTile()' on a null object reference

      at com.example.fragment.MapFragment.initMap()
    2. com.example.fragment
      MapFragment.onActivityCreated
      1. com.example.fragment.MapFragment.initMap(MapFragment.java:166)
      2. com.example.fragment.MapFragment.onActivityCreated(MapFragment.java:102)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performActivityCreated(Fragment.java:2072)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:912)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.BackStackRecord.run(BackStackRecord.java:846)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1473)
      6. android.app.FragmentManagerImpl$1.run(FragmentManager.java:447)
      7. android.os.Handler.handleCallback(Handler.java:810)
      8. android.os.Handler.dispatchMessage(Handler.java:99)
      9. android.os.Looper.loop(Looper.java:189)
      10. android.app.ActivityThread.main(ActivityThread.java:5528)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
      2 frames