Title: @InstanceState Bundle bundle makes StackOverflowError · Issue #1324 · androidannotations/androidannotations · GitHub
Open Graph Title: @InstanceState Bundle bundle makes StackOverflowError · Issue #1324 · androidannotations/androidannotations
X Title: @InstanceState Bundle bundle makes StackOverflowError · Issue #1324 · androidannotations/androidannotations
Description: When we code as below, it generates as follows, @InstanceState Bundle mBundle; @Override public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); bundle.putBundle("mBundle", mBundle); } But, accidently when we ...
Open Graph Description: When we code as below, it generates as follows, @InstanceState Bundle mBundle; @Override public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); bundle.putBundle("mBundl...
X Description: When we code as below, it generates as follows, @InstanceState Bundle mBundle; @Override public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); bundle.putBundle("m...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/1324
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@InstanceState Bundle bundle makes StackOverflowError","articleBody":"When we code as below, it generates as follows,\n\n```\n @InstanceState\n Bundle mBundle;\n\n```\n\n```\n @Override\n public void onSaveInstanceState(Bundle bundle) {\n super.onSaveInstanceState(bundle);\n bundle.putBundle(\"mBundle\", mBundle);\n }\n```\n\nBut, accidently when we code as below,\n\n```\n @InstanceState\n Bundle bundle;\n```\n\nAA generates as below, as you expected.\n\n```\n @Override\n public void onSaveInstanceState(Bundle bundle) {\n super.onSaveInstanceState(bundle);\n bundle.putBundle(\"bundle\", bundle);\n }\n```\n\nThis makes StackOverflowError due to infinite loop to do writeToParcel job, similar to the issue shown in the link: http://stackoverflow.com/a/15787218/361100\n\nIt would be good to throw an error when `@InstanceState` has variable named `bundle`.\n","author":{"url":"https://github.com/YoungjaeKim","@type":"Person","name":"YoungjaeKim"},"datePublished":"2015-02-17T07:50:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/1324/androidannotations/issues/1324"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ae3a790e-556e-e489-f7e6-40efccb66c8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8A2:BB006:1F0DC8:2B040F:6A62676B |
| html-safe-nonce | 8383543fac511920b8a3c2d26d42553b8cd7927a7ba54495de61d642dd87c45f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEEyOkJCMDA2OjFGMERDODoyQjA0MEY6NkE2MjY3NkIiLCJ2aXNpdG9yX2lkIjoiMTU2MTA0MTU3Mjc1Nzc2ODc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | da8608ddf2437a8d6b27bc0ddf3abf1d3550509d5b5824cb52347525d0d29c65 |
| hovercard-subject-tag | issue:57893699 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/1324/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbfae0264c729dc355be8e1edabba086ac3ef5a01f400e1493c2a33fcb20eae2/androidannotations/androidannotations/issues/1324 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbfae0264c729dc355be8e1edabba086ac3ef5a01f400e1493c2a33fcb20eae2/androidannotations/androidannotations/issues/1324 |
| og:image:alt | When we code as below, it generates as follows, @InstanceState Bundle mBundle; @Override public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); bundle.putBundle("mBundl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YoungjaeKim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194bddaed53c0eb07047629c520853f4208e77a17ff57428346485cc202e39f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git |
| octolytics-dimension-user_id | 1315313 |
| octolytics-dimension-user_login | androidannotations |
| octolytics-dimension-repository_id | 3116751 |
| octolytics-dimension-repository_nwo | androidannotations/androidannotations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3116751 |
| octolytics-dimension-repository_network_root_nwo | androidannotations/androidannotations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c2862cf2db52f0c7f6cba3de21ffeeafe7c5456e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width