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.

Bug 162290

Summary: YAML editor reports syntax error against a correct file.
Product: ruby Reporter: tkrd_oiax <tkrd_oiax>
Component: EditingAssignee: Erno Mononen <emononen>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description tkrd_oiax 2009-04-09 11:55:26 UTC
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.
Comment 1 tkrd_oiax 2009-04-09 12:01:24 UTC

*** This issue has been marked as a duplicate of 157214 ***