dodona-edu / dolos

:detective: Source code plagiarism detection
https://dolos.ugent.be
MIT License
234 stars 30 forks source link

Invalid argument error when parsing large files #1544

Closed rien closed 1 month ago

rien commented 1 month ago

Since the update to tree-sitter 0.21, there seems to be a problem with the parser raising an error Invalid argument for large files (see https://github.com/dodona-edu/dolos/actions/runs/9318991771/job/25653748568).

rien commented 1 month ago

This only seems to occur on the Java-files of the SOCO dataset.

rien commented 1 month ago

Caused by https://github.com/tree-sitter/node-tree-sitter/issues/199