This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
YAML editor reports syntax error against a correct text. A sample text that causes this behaviour is following: <% %w(alpha beta gamma).each do |name| %> <%= name %>: name: <%= name %> age: 20 <% end %> The editor shows a red icon on the line 3 saying "Null we had this expected '<document start>', but found org.jvyamlb.tokens.PositioniedBlockMappingStartToken." When I put a character "x" before "<%= name>" on the line2, the red icon disappeared.
*** This issue has been marked as a duplicate of 157214 ***