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 251408 - While scanning a flow node we had this expected the node content, but found org.jvyamlb.tokens.PositionedValueToken
Summary: While scanning a flow node we had this expected the node content, but found o...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 19:18 UTC by _ gtzabari
Modified: 2015-04-03 05:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-03-24 19:18:01 UTC
Product Version: NetBeans IDE Dev (Build 1) March 21, 2015
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\dev\Netbeans\user\dev
Cache directory: C:\dev\Netbeans\cache\dev

1. Open YML file containing:

---
# Roles that should be installed prior to the current one
dependencies:
  - { role: processor,
            processorAppName: "{{ attributeAssemblerProcessorAppName }}",
            artifactFileName: "{{ attributeAssemblerProcessorArtifactFileName }}",
            configFiles: ["../../attribute_assembler_processor/templates/application.properties",
                          "../../attribute_assembler_processor/templates/wrapper.conf",
                          "../../attribute_assembler_processor/templates/logback.xml"],
            processorStartPriority: "21"
            processorShouldStart: "yes"
    }

2. The line 'processorShouldStart: "yes"' is flagged with "While scanning a flow node we had this expected the node content, but found org.jvyamlb.tokens.PositionedValueToken"

The error is caused by the fact that the previous line is missing a comma. 

Expected behavior: The error message should indicate that the previous line is missing a comma instead of this assert.