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 2016/03/27 23:17:25 UTC

[jira] [Resolved] (SYSTEMML-533) Error when print consecutive pound signs

     [ https://issues.apache.org/jira/browse/SYSTEMML-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Boehm resolved SYSTEMML-533.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: SystemML 0.10

> Error when print consecutive pound signs
> ----------------------------------------
>
>                 Key: SYSTEMML-533
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-533
>             Project: SystemML
>          Issue Type: Bug
>          Components: Parser
>            Reporter: Deron Eriksson
>            Assignee: Matthias Boehm
>            Priority: Minor
>             Fix For: SystemML 0.10
>
>
> Trying to print consecutive pound (#) signs results in an error:
> {code}
> print("#"); # this works
> print("##"); # this doesn't work
> print("###"); # this doesn't work
> print("#"+"#"); # this doesn't work
> a="##";
> print(a); # this doesn't work
> b="#";
> print(b+b); # this doesn't work
> {code}
> Error:
> {code}
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -12
> 	at java.lang.String.substring(String.java:1937)
> 	at org.apache.sysml.lops.runtime.RunMRJobs.updateInstLabels(RunMRJobs.java:449)
> 	at org.apache.sysml.lops.runtime.RunMRJobs.updateLabels(RunMRJobs.java:478)
> 	at org.apache.sysml.runtime.instructions.cp.CPInstruction.preprocessInstruction(CPInstruction.java:81)
> 	at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:306)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)