Skip to content

BatchNode can throw IndexOutOfBoundsException #2296

@jcfandino

Description

@jcfandino

There are temporary arrays that are reused to work with vertex buffers.
Some conditions cause the index to be used for storing more vertices that they can hold and this throws the exception.

A proposed solution is to validates the arrays' size before accessing them, recreating the arrays if they are too small.

I commented this in more detail in the hub: https://hub.jmonkeyengine.org/t/batchnode-and-indexoutofboundsexception/47766

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions