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

Getting TypeError: Cannot read property '1' of null #5

Open
bsmolyanov opened this issue Feb 6, 2024 · 0 comments
Open

Getting TypeError: Cannot read property '1' of null #5

bsmolyanov opened this issue Feb 6, 2024 · 0 comments

Comments

@bsmolyanov
Copy link

bsmolyanov commented Feb 6, 2024

I am getting this error, when trying to read a MariaDB slow queries log.

`Reading mariadb-slow.log...
/tmp/MySQLSlowLogAnalyzer/slowLogAnalyzer.js:86
currentTiming.connectionId = parseInt(match[1]);
^

TypeError: Cannot read property '1' of null
at LineByLineReader. (/tmp/MySQLSlowLogAnalyzer/slowLogAnalyzer.js:86:50)
at LineByLineReader.emit (events.js:314:20)
at LineByLineReader._nextLine (/tmp/MySQLSlowLogAnalyzer/node_modules/line-by-line/line-by-line.js:129:8)
at Immediate. (/tmp/MySQLSlowLogAnalyzer/node_modules/line-by-line/line-by-line.js:134:9)
at processImmediate (internal/timers.js:461:21)`

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