Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Object mapping does not work with lists #28

Copy link
Copy link
@psaikkonen

Description

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.