You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/07/20 03:25:00 UTC

[jira] [Created] (SYSTEMML-1790) FrameBlock reset fails with ArrayIndexOutOfBoundsException

Matthias Boehm created SYSTEMML-1790:
----------------------------------------

             Summary: 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


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)