Title: Object mapping does not work with lists · Issue #28 · eficode/JavaFXLibrary · GitHub
Open Graph Title: Object mapping does not work with lists · Issue #28 · eficode/JavaFXLibrary
X Title: Object mapping does not work with lists · Issue #28 · eficode/JavaFXLibrary
Description: HelperFunctions useMappedObjects(List
Open Graph Description: HelperFunctions useMappedObjects(List
X Description: HelperFunctions useMappedObjects(List<Object> list) throws IndexOutOfBoundsExceptions when it tries to add values to the list which will be returned. This happens because the list with replac...
Opengraph URL: https://github.com/eficode/JavaFXLibrary/issues/28
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Object mapping does not work with lists","articleBody":"HelperFunctions `useMappedObjects(List\u003cObject\u003e list)` throws IndexOutOfBoundsExceptions when it tries to add values to the list which will be returned. This happens because the list with replaced values gets initialized as empty and the value is being added using lists set method, which requires an existing item in the given index. Since the list is empty an IndexOutOfBoundsException gets thrown.\r\n\r\nThis can also cause some odd behaviour with exception handling when it is combined with waitUntil keywords, resulting in massive amounts of seemingly random exception output in logs.","author":{"url":"https://github.com/psaikkonen","@type":"Person","name":"psaikkonen"},"datePublished":"2019-12-10T07:58:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/28/JavaFXLibrary/issues/28"}
| 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:e26824e5-a0a0-5e73-b759-7f8b62a48b32 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 985C:2185F6:2C61FB:3AC1A2:6A5BF190 |
| html-safe-nonce | eecb18b6b103eb873d8570e69806ada8e59ba1bbe7119bfc54090878df5eac83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODVDOjIxODVGNjoyQzYxRkI6M0FDMUEyOjZBNUJGMTkwIiwidmlzaXRvcl9pZCI6IjQ1NTM3ODQ4ODMxOTQ2MjIzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 93c394f24e8f2f9fbebc5307dc9f7be2251990bad9de090ef0062cf3187e1cfe |
| hovercard-subject-tag | issue:535558618 |
| 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/eficode/JavaFXLibrary/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91a44020fac4d01853f2b11eec13074cacdb93774519e78503c3e2f18c9668e5/eficode/JavaFXLibrary/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91a44020fac4d01853f2b11eec13074cacdb93774519e78503c3e2f18c9668e5/eficode/JavaFXLibrary/issues/28 |
| og:image:alt | HelperFunctions useMappedObjects(List |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | psaikkonen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/eficode/JavaFXLibrary git https://github.com/eficode/JavaFXLibrary.git |
| octolytics-dimension-user_id | 526962 |
| octolytics-dimension-user_login | eficode |
| octolytics-dimension-repository_id | 125997502 |
| octolytics-dimension-repository_nwo | eficode/JavaFXLibrary |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125997502 |
| octolytics-dimension-repository_network_root_nwo | eficode/JavaFXLibrary |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width