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 251246 - AssertionError at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights
Summary: AssertionError at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.ad...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 22:54 UTC by _ gtzabari
Modified: 2015-03-28 08:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216185


Attachments
stacktrace (2.74 KB, text/plain)
2015-03-17 22:54 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-03-17 22:54:50 UTC
Build: NetBeans IDE Dev (Build 1)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
gtzabari: Opened Yaml file. Exception thrown.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights(YamlSemanticAnalyzer.java:170)
   at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights(YamlSemanticAnalyzer.java:176)
   at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.run(YamlSemanticAnalyzer.java:120)
   at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:306)
   at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.access$000(SemanticHighlighter.java:79)
   at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:139)
Comment 1 _ gtzabari 2015-03-17 22:54:51 UTC
Created attachment 152685 [details]
stacktrace
Comment 2 Petr Pisl 2015-03-23 12:49:46 UTC
Could you attach the yaml file? It would be great to have a reproducible case. Thanks.
Comment 3 _ gtzabari 2015-03-23 16:13:03 UTC
I don't remember which file was the culprit. I'll attach the file the next time I run across this exception...
Comment 4 Roman Svitanic 2015-03-27 16:21:02 UTC
It would be still good if you could find the file that caused the issue. Thanks.

Changeset: 0893424d1b69
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-03-27 17:18
Message:   #251246: AssertionError at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights
Comment 5 Quality Engineering 2015-03-28 08:20:14 UTC
Integrated into 'main-silver', will be available in build *201503280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0893424d1b69
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #251246: AssertionError at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights
Task #251246 - AssertionError at org.netbeans.modules.languages.yaml.YamlSemanticAnalyzer.addHighlights