Summary
When opening the attached model file in OSATE, the text-editor window appears as a blank screen with the words, "String index out of range: -1".
The debugger reveals that the cause of this is a StringIndexOutOfBoundsException rising from this line, when parsing a block in which the first character is a LF and endOfLine is thus equal to 0.
Model file (attached rather than pasted, to ensure transmission character-for-character):
BAParserBug.tar.gz
Environment
- OSATE Version: 2.9.1
- Operating System: Windows 10 and macOS 14
Tag: @smithdtyler
Summary
When opening the attached model file in OSATE, the text-editor window appears as a blank screen with the words, "String index out of range: -1".
The debugger reveals that the cause of this is a
StringIndexOutOfBoundsExceptionrising from this line, when parsing a block in which the first character is a LF andendOfLineis thus equal to 0.Model file (attached rather than pasted, to ensure transmission character-for-character):
BAParserBug.tar.gz
Environment
Tag: @smithdtyler