[
https://issues.apache.org/jira/browse/SYSTEMML-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Boehm resolved SYSTEMML-1790.
--------------------------------------
Resolution: Fixed
Assignee: Matthias Boehm
Fix Version/s: SystemML 1.0
> FrameBlock reset fails with ArrayIndexOutOfBoundsException
> -----------------------------------------------------------
>
> Key: SYSTEMML-1790
> URL: https://issues.apache.org/jira/browse/SYSTEMML-1790
> Project: SystemML
> Issue Type: Bug
> Reporter: Matthias Boehm
> Assignee: Matthias Boehm
> Fix For: SystemML 1.0
>
>
> A FrameBlock reset, e.g., on feeding the same reuse frame block multiple
> times into slice with different data sizes, currently does not work properly,
> leading to an ArrayIndexOutOfBoundsException on the actual data copy if the
> target is larger than then previously allocated block.
> {code}
> java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at
> org.apache.sysml.runtime.matrix.data.FrameBlock$StringArray.set(FrameBlock.java:1280)
> at
> org.apache.sysml.runtime.matrix.data.FrameBlock.sliceOperations(FrameBlock.java:884)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)