[ https://issues.apache.org/jira/browse/SYSTEMML-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deron Eriksson closed SYSTEMML-533. ----------------------------------- Fixed by https://github.com/apache/incubator-systemml/commit/e0356496adc2070c2d532fd242c7dbf263ab73e4 > 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)