[YANGTOOLS-712] Yang parser tries to process unknown character like '#' as a Yang statement and crashes with NPE Created: 10/Nov/16 Updated: 10/Apr/22 Resolved: 06/Dec/16 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Ciglan | Assignee: | Igor Foltin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7146 |
| Description |
|
Yang parser tries to process unknown character like '#' as a Yang statement and crashes with NullPointerException. This needs to be handled and proper exception thrown. Example YANG snippet: module aug-second {
} Error stack: java.lang.NullPointerException |
| Comments |
| Comment by Igor Foltin [ 23/Nov/16 ] |