RussellSpitzer / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
Apache License 2.0
0 stars 1 forks source link

scanner exception detail message #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a syntax error in the Yaml file E.g 
ode_templates:
  master:
    type: alu.nodes.Compute : invalid123

What is the expected output? What do you see instead?
i see a "null;" at the begging of the ScannerException detail message
null; mapping values are not allowed here;  in 'reader', line 5, column 29:
        type: alu.nodes.Compute : invalid123
                                ^

the string "null;" shouldnt be part of the message
What version of SnakeYAML are you using? On what Java version?
java 6, snakeyaml 1.13

Please provide any additional information below. (Often a failing test is
the best way to describe the problem.)

Very easy to reproduce
thank you in advance

Original issue reported on code.google.com by shtil...@gmail.com on 26 Mar 2014 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by py4fun@gmail.com on 26 Mar 2014 at 1:34

GoogleCodeExporter commented 9 years ago
Fixed.
Feel free to build and test.
http://code.google.com/p/snakeyaml/source/list

Unfortunately, I cannot immediately upload the SNAPSHOT to Sonatype as I 
usually do.
It will take some time (probably weeks)

Original comment by py4fun@gmail.com on 26 Mar 2014 at 3:26

GoogleCodeExporter commented 9 years ago
Issue 189 has been merged into this issue.

Original comment by aso...@gmail.com on 27 Mar 2014 at 12:54

GoogleCodeExporter commented 9 years ago
Fixed.
SNAPSHOT contains the fix.
It will be delivered in version 1.14

Original comment by py4fun@gmail.com on 3 Apr 2014 at 4:44

GoogleCodeExporter commented 9 years ago
Many thanks

Original comment by shtil...@gmail.com on 3 Apr 2014 at 4:59