-
Notifications
You must be signed in to change notification settings - Fork 72
Description
In some case, the imported file is to big to be parsed with the current implementation of the parser.
Causing an error in the node process responsible for provinging the AST:
2026-03-06T17:06:09.596+01:00 ERROR 37344 --- [45-31656574fee3] org.eclipse.syson.sysml.SysmlToAst : Parsing errors C:\Users\arthu\AppData\Local\Temp\syside-cli1170414543181145943.js:85215
return JSON.stringify(node, JSONreplacer, indent);
^
RangeError: Invalid string length
at JSON.stringify (<anonymous>)
at stringify2 (C:\Users\arthu\AppData\Local\Temp\syside-cli1170414543181145943.js:85215:19)
at C:\Users\arthu\AppData\Local\Temp\syside-cli1170414543181145943.js:114617:58
at Generator.next (<anonymous>)
at fulfilled (C:\Users\arthu\AppData\Local\Temp\syside-cli1170414543181145943.js:40:24)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Node.js v22.16.0
This issues aims to provide feedback to the user so he is aware of the problem an can workaround it by splitting the document.
Reactions are currently unavailable