GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Object mapping does not work with lists · Issue #28 · eficode/JavaFXLibrary

Object mapping does not work with lists #28

New issue
Copy link
New issue
Copy link
Closed
Closed
Object mapping does not work with lists#28
Copy link
Assignees
psaikkonen
Labels
0.5.4

Description

@psaikkonen
psaikkonen
opened on Dec 10, 2019
Issue body actions

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 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.

This 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.

Activity

  1. psaikkonen
    self-assigned this
    on Dec 10, 2019
  2. psaikkonen
    added a commit that references this issue on Dec 10, 2019

    Initialize replaced list as a copy of the original (fixes #28)

    This issue will close once commit 1ba1621 is merged into the 'master' branch.
    1ba1621
  3. sampeson
    added
    0.5.4
    on Dec 16, 2019
  4. sampeson
    closed this as completedin 1ba1621on Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @psaikkonen
    psaikkonen

Labels

0.5.4

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.