{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/ARouter/issues/88","repository_url":"https://api.github.com/repos/alibaba/ARouter","labels_url":"https://api.github.com/repos/alibaba/ARouter/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/ARouter/issues/88/comments","events_url":"https://api.github.com/repos/alibaba/ARouter/issues/88/events","html_url":"https://github.com/alibaba/ARouter/issues/88","id":223114750,"number":88,"title":"快速跳转activity问题","user":{"login":"liujunhongz","id":19757745,"avatar_url":"https://avatars2.githubusercontent.com/u/19757745?v=3","gravatar_id":"","url":"https://api.github.com/users/liujunhongz","html_url":"https://github.com/liujunhongz","followers_url":"https://api.github.com/users/liujunhongz/followers","following_url":"https://api.github.com/users/liujunhongz/following{/other_user}","gists_url":"https://api.github.com/users/liujunhongz/gists{/gist_id}","starred_url":"https://api.github.com/users/liujunhongz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liujunhongz/subscriptions","organizations_url":"https://api.github.com/users/liujunhongz/orgs","repos_url":"https://api.github.com/users/liujunhongz/repos","events_url":"https://api.github.com/users/liujunhongz/events{/privacy}","received_events_url":"https://api.github.com/users/liujunhongz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-20T15:52:47Z","updated_at":"2017-04-21T02:28:32Z","closed_at":null,"body":"进入闪屏后快速进入一个activity后再快速进入第二个，第二个会在几秒后destroy掉。\r\n仅在进入应用第一次快速点击出现，后面只要不销毁应用则不重现。\r\n\r\n不知道是不是ARouter的问题，但是以前没遇到过这种问题，所以来问问\r\n\r\n```\r\n04-20 11:42:22.219 28033-28033/? D/ARouter: Filter 9 classes by packageName <com.alibaba.android.arouter.routes>\r\n04-20 11:42:22.225 28033-28033/? I/ARouter::: ARouter openLog[ ] \r\n04-20 11:42:22.226 28033-28033/? I/ARouter::: ARouter openDebug[ ] \r\n04-20 11:42:22.226 28033-28033/? I/ARouter::: ARouter printStackTrace[ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=printStackTrace & LineNumber=145 ] \r\n04-20 11:42:22.230 28033-28054/? I/ARouter::: ARouter interceptors init over.[ThreadId=3970 & ThreadName=ARouter task pool No.1, thread No.1 & FileName=InterceptorServiceImpl.java & ClassName=com.alibaba.android.arouter.core.InterceptorServiceImpl$3 & MethodName=run & LineNumber=121 ] \r\n04-20 11:42:28.547 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:28.549 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:28.550 28033-28033/tv.lycam.pclass D/ARouter::: The group [Ui] starts loading, trigger by [/Ui/Main][ThreadId=1 & ThreadName=main & FileName=LogisticsCenter.java & ClassName=com.alibaba.android.arouter.core.LogisticsCenter & MethodName=completion & LineNumber=124 ] \r\n04-20 11:42:28.558 28033-28033/tv.lycam.pclass D/ARouter::: The group [Ui] has already been loaded, trigger by [/Ui/Main][ThreadId=1 & ThreadName=main & FileName=LogisticsCenter.java & ClassName=com.alibaba.android.arouter.core.LogisticsCenter & MethodName=completion & LineNumber=132 ] \r\n04-20 11:42:28.559 28033-28033/tv.lycam.pclass I/ARouter::: Thread production, name is [ARouter task pool No.1, thread No.2][ThreadId=1 & ThreadName=main & FileName=DefaultThreadFactory.java & ClassName=com.alibaba.android.arouter.thread.DefaultThreadFactory & MethodName=newThread & LineNumber=34 ] \r\n04-20 11:42:30.710 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:30.711 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:30.712 28033-28033/tv.lycam.pclass I/ARouter::: Thread production, name is [ARouter task pool No.1, thread No.3][ThreadId=1 & ThreadName=main & FileName=DefaultThreadFactory.java & ClassName=com.alibaba.android.arouter.thread.DefaultThreadFactory & MethodName=newThread & LineNumber=34 ] \r\n04-20 11:42:36.721 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:36.722 28033-28033/tv.lycam.pclass W/ARouter::: ARouter::No postcard![ThreadId=1 & ThreadName=main & FileName=_ARouter.java & ClassName=com.alibaba.android.arouter.launcher._ARouter & MethodName=navigation & LineNumber=261 ] \r\n04-20 11:42:36.723 28033-28033/tv.lycam.pclass I/ARouter::: Thread production, name is [ARouter task pool No.1, thread No.4][ThreadId=1 & ThreadName=main & FileName=DefaultThreadFactory.java & ClassName=com.alibaba.android.arouter.thread.DefaultThreadFactory & MethodName=newThread & LineNumber=34 ] \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/alibaba/ARouter/issues/comments/296021855","html_url":"https://github.com/alibaba/ARouter/issues/88#issuecomment-296021855","issue_url":"https://api.github.com/repos/alibaba/ARouter/issues/88","id":296021855,"user":{"login":"liujunhongz","id":19757745,"avatar_url":"https://avatars2.githubusercontent.com/u/19757745?v=3","gravatar_id":"","url":"https://api.github.com/users/liujunhongz","html_url":"https://github.com/liujunhongz","followers_url":"https://api.github.com/users/liujunhongz/followers","following_url":"https://api.github.com/users/liujunhongz/following{/other_user}","gists_url":"https://api.github.com/users/liujunhongz/gists{/gist_id}","starred_url":"https://api.github.com/users/liujunhongz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liujunhongz/subscriptions","organizations_url":"https://api.github.com/users/liujunhongz/orgs","repos_url":"https://api.github.com/users/liujunhongz/repos","events_url":"https://api.github.com/users/liujunhongz/events{/privacy}","received_events_url":"https://api.github.com/users/liujunhongz/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T02:28:32Z","updated_at":"2017-04-21T02:28:32Z","body":"另外我添加NavCallback\r\n\r\n快速进入ActivityA->ActivityB->ActivityC， 其中ActivityA跳转时执行了mNavFinishCallback\r\n\r\n```\r\nNavCallback mNavFinishCallback = new NavCallback() {\r\n        @Override\r\n        public void onArrival(Postcard postcard) {\r\n            finish();\r\n        }\r\n\r\n        @Override\r\n        public void onInterrupt(Postcard postcard) {\r\n        }\r\n\r\n    };\r\n```\r\n会出现如下情况，上面的情况如果不是快速的进入，等个几秒再进入下一个界面就不会报错\r\n```\r\n04-20 22:20:21.700 14021-14021/tv.lycam.pclass E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                                 Process: tv.lycam.pclass, PID: 14021\r\n                                                                 java.lang.IllegalArgumentException\r\n                                                                     at android.os.Parcel.readException(Parcel.java:1688)\r\n                                                                     at android.os.Parcel.readException(Parcel.java:1637)\r\n                                                                     at android.app.ActivityManagerProxy.isTopOfTask(ActivityManagerNative.java:5505)\r\n                                                                     at android.app.Activity.isTopOfTask(Activity.java:5978)\r\n                                                                     at android.app.Activity.cancelInputsAndStartExitTransition(Activity.java:4267)\r\n                                                                     at android.app.Activity.startActivityForResult(Activity.java:4244)\r\n                                                                     at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50)\r\n                                                                     at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79)\r\n                                                                     at android.app.Activity.startActivity(Activity.java:4518)\r\n                                                                     at android.support.v4.content.ContextCompatJellybean.startActivity(ContextCompatJellybean.java:34)\r\n                                                                     at android.support.v4.content.ContextCompat.startActivity(ContextCompat.java:151)\r\n                                                                     at com.alibaba.android.arouter.launcher._ARouter$2.run(_ARouter.java:359)\r\n                                                                     at android.os.Handler.handleCallback(Handler.java:751)\r\n                                                                     at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                     at android.os.Looper.loop(Looper.java:154)\r\n                                                                     at android.app.ActivityThread.main(ActivityThread.java:6119)\r\n                                                                     at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)\r\n                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)\r\n\r\n```"}}
{"actor":{"display_login":"liujunhongz"}}