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)

Reply via email to