java.lang.NullPointerException

Stack Overflow | Romeo ABZ | 9 months 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.developer.bunamay.mplayer.MainActivity.onCreateOptionsMenu()
  2. com.developer.bunamay
    MainActivity.onCreateOptionsMenu
    1. com.developer.bunamay.mplayer.MainActivity.onCreateOptionsMenu(MainActivity.java:300)
    1 frame
  3. Android Platform
    Activity.onCreatePanelMenu
    1. android.app.Activity.onCreatePanelMenu(Activity.java:2538)
    1 frame
  4. Android
    PhoneWindow$1.run
    1. com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:436)
    2. com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:800)
    3. com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java:221)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    3. android.view.Choreographer.doFrame(Choreographer.java:543)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    5. android.os.Handler.handleCallback(Handler.java:733)
    6. android.os.Handler.dispatchMessage(Handler.java:95)
    7. android.os.Looper.loop(Looper.java:136)
    8. android.app.ActivityThread.main(ActivityThread.java:5001)
    8 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame