{"action":"opened","issue":{"url":"https://api.github.com/repos/lskk/Semut-Android/issues/4","repository_url":"https://api.github.com/repos/lskk/Semut-Android","labels_url":"https://api.github.com/repos/lskk/Semut-Android/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lskk/Semut-Android/issues/4/comments","events_url":"https://api.github.com/repos/lskk/Semut-Android/issues/4/events","html_url":"https://github.com/lskk/Semut-Android/issues/4","id":219675969,"number":4,"title":"java.lang.IllegalStateException on Fancy Alert Dialog","user":{"login":"hynra","id":3982650,"avatar_url":"https://avatars3.githubusercontent.com/u/3982650?v=3","gravatar_id":"","url":"https://api.github.com/users/hynra","html_url":"https://github.com/hynra","followers_url":"https://api.github.com/users/hynra/followers","following_url":"https://api.github.com/users/hynra/following{/other_user}","gists_url":"https://api.github.com/users/hynra/gists{/gist_id}","starred_url":"https://api.github.com/users/hynra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynra/subscriptions","organizations_url":"https://api.github.com/users/hynra/orgs","repos_url":"https://api.github.com/users/hynra/repos","events_url":"https://api.github.com/users/hynra/events{/privacy}","received_events_url":"https://api.github.com/users/hynra/received_events","type":"User","site_admin":false},"labels":[{"id":408580206,"url":"https://api.github.com/repos/lskk/Semut-Android/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-05T18:35:32Z","updated_at":"2017-04-05T18:35:32Z","closed_at":null,"body":"```\r\nW/System.err: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState\r\nW/System.err:     at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1832)\r\nW/System.err:     at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1850)\r\nW/System.err:     at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:643)\r\nW/System.err:     at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:603)\r\nW/System.err:     at android.support.v4.app.DialogFragment.show(DialogFragment.java:143)\r\nW/System.err:     at project.bsts.semut.ui.FancyAlertDialog.show(FancyAlertDialog.java:240)\r\nW/System.err:     at project.bsts.semut.ui.FancyAlertDialog.access$000(FancyAlertDialog.java:34)\r\nW/System.err:     at project.bsts.semut.ui.FancyAlertDialog$Builder.show(FancyAlertDialog.java:552)\r\nW/System.err:     at project.bsts.semut.ui.CommonAlerts.commonError(CommonAlerts.java:32)\r\nW/System.err:     at project.bsts.semut.AngkotTrackerActivity.onMQConnectionClosed(AngkotTrackerActivity.java:277)\r\nW/System.err:     at project.bsts.semut.connections.broker.Consumer$1.shutdownCompleted(Consumer.java:66)\r\nW/System.err:     at com.rabbitmq.client.impl.ShutdownNotifierComponent.notifyListeners(ShutdownNotifierComponent.java:75)\r\nW/System.err:     at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:576)\r\nW/System.err:     at java.lang.Thread.run(Thread.java:818)\r\n```\r\n**Err :** `dialog` perform `.show` padahal activity == `finish` di `onMQConnectionClosed`. Tapi `onMQConnectionClosed` berguna juga buat listener kalau koneksi ke Rabbit `closed`.\r\nSementara di `try catch` aja dulu 👎 \r\n"}}
{"actor":{"display_login":"hynra"}}