java.lang.RuntimeException: Unable to start activity ComponentInfo{de.skubware.opentraining/de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1970)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
at android.app.ActivityThread.access$600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4517)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:995)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailFragment.onCreateOptionsMenu(ExerciseTypeDetailFragment.java:259)
at android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:1582)
at android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:1956)
at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:225)
at android.support.v7.app.ActionBarActivity.superOnCreatePanelMenu(ActionBarActivity.java:232)
at android.support.v7.app.ActionBarActivityDelegateICS.onCreatePanelMenu(ActionBarActivityDelegateICS.java:147)
at android.support.v7.app.ActionBarActivity.onCreatePanelMenu(ActionBarActivity.java:199)
at android.support.v7.app.ActionBarActivityDelegateICS$WindowCallbackWrapper.onCreatePanelMenu(ActionBarActivityDelegateICS.java:285)
at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:420)
at com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.java:773)
at android.app.Activity.invalidateOptionsMenu(Activity.java:2664)
at android.support.v4.app.ActivityCompatHoneycomb.invalidateOptionsMenu(ActivityCompatHoneycomb.java:29)
at android.support.v4.app.FragmentActivity.supportInvalidateOptionsMenu(FragmentActivity.java:648)
at android.support.v7.app.ActionBarActivity.supportInvalidateOptionsMenu(ActionBarActivity.java:170)
at android.support.v4.app.Fragment.setHasOptionsMenu(Fragment.java:803)
at de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailFragment.onCreate(ExerciseTypeDetailFragment.java:111)
at android.support.v4.app.Fragment.performCreate(Fragment.java:1477)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:893)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467)
at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:570)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1137)
at android.app.Activity.performStart(Activity.java:4607)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1943)
... 11 more
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.skubware.opentraining/de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1970) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995) at android.app.ActivityThread.access$600(ActivityThread.java:128) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4517) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:995) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailFragment.onCreateOptionsMenu(ExerciseTypeDetailFragment.java:259) at android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:1582) at android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:1956) at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:225) at android.support.v7.app.ActionBarActivity.superOnCreatePanelMenu(ActionBarActivity.java:232) at android.support.v7.app.ActionBarActivityDelegateICS.onCreatePanelMenu(ActionBarActivityDelegateICS.java:147) at android.support.v7.app.ActionBarActivity.onCreatePanelMenu(ActionBarActivity.java:199) at android.support.v7.app.ActionBarActivityDelegateICS$WindowCallbackWrapper.onCreatePanelMenu(ActionBarActivityDelegateICS.java:285) at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:420) at com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.java:773) at android.app.Activity.invalidateOptionsMenu(Activity.java:2664) at android.support.v4.app.ActivityCompatHoneycomb.invalidateOptionsMenu(ActivityCompatHoneycomb.java:29) at android.support.v4.app.FragmentActivity.supportInvalidateOptionsMenu(FragmentActivity.java:648) at android.support.v7.app.ActionBarActivity.supportInvalidateOptionsMenu(ActionBarActivity.java:170) at android.support.v4.app.Fragment.setHasOptionsMenu(Fragment.java:803) at de.skubware.opentraining.activity.create_workout.ExerciseTypeDetailFragment.onCreate(ExerciseTypeDetailFragment.java:111) at android.support.v4.app.Fragment.performCreate(Fragment.java:1477) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:893) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:570) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1137) at android.app.Activity.performStart(Activity.java:4607) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1943) ... 11 more
App Version: 0.7 Android Version: 4.0.3