java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RuntimeException using Roboelectric
    via Stack Overflow by Theo
    ,
  • Issues when creating activity
    via GitHub by yamo21
    ,
    • java.lang.RuntimeException: Could not find any resource from reference ResName{com.***.***:style/Theme_AppCompat_Light_NoActionBar} from style StyleData{name='AppTheme', parent='Theme_AppCompat_Light_NoActionBar'} with theme null at org.robolectric.shadows.ShadowAssetManager$StyleResolver.getParent(ShadowAssetManager.java:525) at org.robolectric.shadows.ShadowAssetManager$StyleResolver.getAttrValue(ShadowAssetManager.java:463) at org.robolectric.shadows.ShadowAssetManager.getOverlayedThemeValue(ShadowAssetManager.java:748) at org.robolectric.shadows.ShadowAssetManager.findAttributeValue(ShadowAssetManager.java:737) at org.robolectric.shadows.ShadowAssetManager.buildAttributes(ShadowAssetManager.java:683) at org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:103) at org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:52) at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:270) at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:265) at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:260) at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java) at android.app.Activity.onApplyThemeResource(Activity.java:3727) at android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java:150) at android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java:94) at android.support.v7.app.AppCompatActivity.setTheme(AppCompatActivity.java:90) at org.robolectric.shadows.ShadowActivity.setThemeFromManifest(ShadowActivity.java:94) at org.robolectric.shadows.CoreShadowsAdapter$1.setThemeFromManifest(CoreShadowsAdapter.java:30) at org.robolectric.util.ActivityController.attach(ActivityController.java:70) at org.robolectric.util.ActivityController.of(ActivityController.java:32) at org.robolectric.Robolectric.buildActivity(Robolectric.java:82) at org.robolectric.Robolectric.buildActivity(Robolectric.java:78) at org.robolectric.Robolectric.setupActivity(Robolectric.java:86)
    No Bugmate found.