Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing when scanning an app #7

Open
GanbaruTobi opened this issue Sep 14, 2023 · 0 comments
Open

Crashing when scanning an app #7

GanbaruTobi opened this issue Sep 14, 2023 · 0 comments

Comments

@GanbaruTobi
Copy link

gbaru@GBARU-MAIN:/home/gbaru/php-class-graph$ php examples/whole_project.php -p /home/gbaru/ilias/ILIAS-7.24
PHP Warning: Undefined array key 265 in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 283
PHP Fatal error: Uncaught TypeError: PhpParser\Lexer::getNextToken(): Return value must be of type int, null returned in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php:317
Stack trace:
#0 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php(208): PhpParser\Lexer->getNextToken()
#1 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php(158): PhpParser\ParserAbstract->doParse()
#2 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php(51): PhpParser\ParserAbstract->parse()
#3 /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php(32): PhpParser\Parser\Multiple->tryParse()
#4 /home/gbaru/php-class-graph/src/Traverser.php(40): PhpParser\Parser\Multiple->parse()
#5 /home/gbaru/php-class-graph/src/FilteredRecursiveDependencyChecker.php(27): ClassGraph\Traverser->traverse()
#6 /home/gbaru/php-class-graph/examples/whole_project.php(65): ClassGraph\FilteredRecursiveDependencyChecker->run()
#7 {main}
thrown in /home/gbaru/php-class-graph/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant