java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.poteralski.radioinfo/pl.poteralski.radioinfo.Activity.RadioStation}: java.lang.NullPointerException

GitHub | piotrek-py | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    stacktrace

    GitHub | 2 years ago | piotrek-py
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.poteralski.radioinfo/pl.poteralski.radioinfo.Activity.RadioStation}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at pl.poteralski.radioinfo.Fragment.CoJestGrane.update()
    2. pl.poteralski.radioinfo
      CoJestGrane.onCreateView
      1. pl.poteralski.radioinfo.Fragment.CoJestGrane.update(CoJestGrane.java:120)
      2. pl.poteralski.radioinfo.Fragment.CoJestGrane.onCreateView(CoJestGrane.java:61)
      2 frames
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1786)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)
      5. android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1917)
      6. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:544)
      6 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
      2. android.app.Activity.performStart(Activity.java:5241)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
      5. android.app.ActivityThread.access$800(ActivityThread.java:144)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5146)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame