java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.

JIRA | alastair antonio | 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

    Vikas Shah - Google+

    google.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.
  2. 0

    Filing this bug again - it was originally reported in https://jira.cyanogenmod.org/browse/NIGHTLIES-645 which appears to be removed from JIRA without an audit trail. Original Bug Description: Theme chooser app crashes on launch every time it is launched on my Bacon device running the CM12 nightly. Currently running a nightly from 2/2 and also experienced the repeated crashing on nightlies from 1/28, 1/26. ** Still being seen on bacon nightlies from 2/4, 2/6, 2/8, 2/9, 2/10, and 2/12 Repro: 1. flash CM12 onto a Bacon device 2. sideload pa_gapps package 3. launch org.cyanogenmod.theme.chooser Actual Results: Theme app crashes on launch 02-04 13:52:18.851 1493 1493 E AndroidRuntime: FATAL EXCEPTION: main 02-04 13:52:18.851 1493 1493 E AndroidRuntime: Process: org.cyanogenmod.theme.chooser, PID: 1493 02-04 13:52:18.851 1493 1493 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead. 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.access$900(ActivityThread.java:147) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5256) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead. 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Activity.setActionBar(Activity.java:2102) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at org.cyanogenmod.theme.chooser.ChooserActivity.onCreate(ChooserActivity.java:53) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5933) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: ... 10 more 02-04 13:52:18.900 777 793 W libprocessgroup: failed to open /acct/uid_10224/pid_17671/cgroup.procs: No such file or directory 02-04 13:52:18.907 777 1427 W ActivityManager: Force finishing activity org.cyanogenmod.theme.chooser/.ChooserActivity

    JIRA | 2 years ago | alastair antonio
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.
  3. 0

    Filing this bug again - it was originally reported in https://jira.cyanogenmod.org/browse/NIGHTLIES-645 which appears to be removed from JIRA without an audit trail. Original Bug Description: Theme chooser app crashes on launch every time it is launched on my Bacon device running the CM12 nightly. Currently running a nightly from 2/2 and also experienced the repeated crashing on nightlies from 1/28, 1/26. ** Still being seen on bacon nightlies from 2/4, 2/6, 2/8, 2/9, 2/10, and 2/12 Repro: 1. flash CM12 onto a Bacon device 2. sideload pa_gapps package 3. launch org.cyanogenmod.theme.chooser Actual Results: Theme app crashes on launch 02-04 13:52:18.851 1493 1493 E AndroidRuntime: FATAL EXCEPTION: main 02-04 13:52:18.851 1493 1493 E AndroidRuntime: Process: org.cyanogenmod.theme.chooser, PID: 1493 02-04 13:52:18.851 1493 1493 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead. 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.access$900(ActivityThread.java:147) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5256) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead. 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Activity.setActionBar(Activity.java:2102) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at org.cyanogenmod.theme.chooser.ChooserActivity.onCreate(ChooserActivity.java:53) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5933) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282) 02-04 13:52:18.851 1493 1493 E AndroidRuntime: ... 10 more 02-04 13:52:18.900 777 793 W libprocessgroup: failed to open /acct/uid_10224/pid_17671/cgroup.procs: No such file or directory 02-04 13:52:18.907 777 1427 W ActivityManager: Force finishing activity org.cyanogenmod.theme.chooser/.ChooserActivity

    JIRA | 2 years ago | alastair antonio
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.theme.chooser/org.cyanogenmod.theme.chooser.ChooserActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: unfortunately my app has stopped running

    Stack Overflow | 1 year ago | D. Chen
    java.lang.RuntimeException: Unable to start activity ComponentInfo{mcgill.denis.bidremote/mcgill.denis.bidremote.IdentifyActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.
  6. 0

    Could not find a method saveData(View)

    Google Groups | 6 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set android:windowActionBar to false in your theme to use a Toolbar instead.

      at android.app.Activity.setActionBar()
    2. Android Platform
      Activity.setActionBar
      1. android.app.Activity.setActionBar(Activity.java:2102)
      1 frame
    3. org.cyanogenmod.theme
      ChooserActivity.onCreate
      1. org.cyanogenmod.theme.chooser.ChooserActivity.onCreate(ChooserActivity.java:53)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5933)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
      5. android.app.ActivityThread.access$900(ActivityThread.java:147)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5256)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
      2 frames