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

Measuring execution time throws NullPointerException #280

Open
codedpalette opened this issue May 10, 2024 · 0 comments
Open

Measuring execution time throws NullPointerException #280

codedpalette opened this issue May 10, 2024 · 0 comments
Labels
Milestone

Comments

@codedpalette
Copy link

codedpalette commented May 10, 2024

Describe the bug
When calling elk.layout with parameters object { measureExecutionTime: true, logging: true } it throws TypeError: java.lang.NullPointerException

Expected behavior
Layout finishes successfully and a logging field is present in the returned object

Stacktrace

at NullPointerException.createError_0 [as createError] (elk-worker.js:11595:1)
    at NullPointerException.initializeBackingError (elk-worker.js:8262:1)
    at NullPointerException.Throwable (elk-worker.js:8205:1)
    at NullPointerException.RuntimeException (elk-worker.js:8277:1)
    at new NullPointerException (elk-worker.js:11586:1)
    at new JSONString (elk-worker.js:10097:1)
    at collectLogs (elk-worker.js:79760:1)
    at collectLogs (elk-worker.js:79787:1)
    at collectLogs (elk-worker.js:79787:1)
    at layout_11 (elk-worker.js:79892:1)
    at Dispatcher.dispatch (elk-worker.js:79817:1)
    at Dispatcher.saveDispatch (elk-worker.js:79825:1)
    at elk-worker.js:79842:1

ELK Version
0.9.3

Additional context
The logging field and it's type is missing from typescript declaration files

@soerendomroes soerendomroes added this to the Next Release milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants