{"action":"closed","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1373","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1373/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1373/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1373/events","html_url":"https://github.com/robolectric/robolectric/issues/1373","id":48500935,"number":1373,"title":"Resource$NotFoundException influenced from previous tests","user":{"login":"emartynov","id":295424,"avatar_url":"https://avatars.githubusercontent.com/u/295424?v=3","gravatar_id":"","url":"https://api.github.com/users/emartynov","html_url":"https://github.com/emartynov","followers_url":"https://api.github.com/users/emartynov/followers","following_url":"https://api.github.com/users/emartynov/following{/other_user}","gists_url":"https://api.github.com/users/emartynov/gists{/gist_id}","starred_url":"https://api.github.com/users/emartynov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emartynov/subscriptions","organizations_url":"https://api.github.com/users/emartynov/orgs","repos_url":"https://api.github.com/users/emartynov/repos","events_url":"https://api.github.com/users/emartynov/events{/privacy}","received_events_url":"https://api.github.com/users/emartynov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-12T11:37:49Z","updated_at":"2015-01-01T17:19:00Z","closed_at":"2015-01-01T17:19:00Z","body":"I'm discovering tests interference. We added new tests for one (DiaryEntryActivity) activity and it started producing exception for another (LoginActivity) activity first test.\r\n\r\nIf I carefully review stacktrace for  failed test I see that showing ProgressDialog from second activity is trying to inflate options for first activity:\r\n```\r\n   android.content.res.Resources$NotFoundException: Resource ID #0x7f0d0001\r\n        at android.content.res.Resources.getValue(Resources.java:1118)\r\n        at android.content.res.Resources.loadXmlResourceParser(Resources.java:2304)\r\n        at android.content.res.Resources.getLayout(Resources.java:934)\r\n        at android.support.v7.internal.view.SupportMenuInflater.inflate(SupportMenuInflater.java:115)\r\n        at com.minddistrict.android.ui.activity.DiaryEntryActivity.onCreateOptionsMenu(DiaryEntryActivity.java:197)\r\n        at android.app.Activity.onCreatePanelMenu(Activity.java:2504)\r\n        at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:275)\r\n        at android.support.v7.app.ActionBarActivity.superOnCreatePanelMenu(ActionBarActivity.java:276)\r\n        at android.support.v7.app.ActionBarActivityDelegate$1.onCreatePanelMenu(ActionBarActivityDelegate.java:79)\r\n        at android.support.v7.widget.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:49)\r\n        at android.support.v7.internal.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:459)\r\n        at android.support.v7.internal.app.ToolbarActionBar$1.run(ToolbarActionBar.java:69)\r\n        at org.robolectric.util.Scheduler$PostedRunnable.run(Scheduler.java:182)\r\n        at org.robolectric.util.Scheduler.runOneTask(Scheduler.java:125)\r\n        at org.robolectric.util.Scheduler.advanceTo(Scheduler.java:110)\r\n        at org.robolectric.util.Scheduler.advanceToLastPostedRunnable(Scheduler.java:86)\r\n        at org.robolectric.util.Scheduler.unPause(Scheduler.java:26)\r\n        at org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:231)\r\n        at org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:270)\r\n        at org.robolectric.shadows.ShadowViewGroup.addView(ShadowViewGroup.java:34)\r\n        at android.view.ViewGroup.addView(ViewGroup.java)\r\n        at android.view.ViewGroup.addView(ViewGroup.java:3353)\r\n        at android.view.LayoutInflater.rInflate(LayoutInflater.java:759)\r\n        at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)\r\n        at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n        at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n        at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\r\n        at android.app.ProgressDialog.onCreate(ProgressDialog.java:164)\r\n        at android.app.Dialog.dispatchOnCreate(Dialog.java:355)\r\n        at android.app.Dialog.show(Dialog.java:260)\r\n        at org.robolectric.shadows.ShadowDialog.show(ShadowDialog.java:65)\r\n        at org.robolectric.shadows.ShadowAlertDialog.show(ShadowAlertDialog.java:99)\r\n        at android.app.Dialog.show(Dialog.java)\r\n        at com.minddistrict.android.ui.activity.BaseActivity.showRequestProgressDialog(BaseActivity.java:164)\r\n        at com.minddistrict.android.ui.activity.LoginActivity.startForgotEmail(LoginActivity.java:184)\r\n...\r\n```\r\n\r\nWhat can be the issue?"}}