Skip to content

Change null to empty string to fix parsing error #112

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

affimnem
Copy link

Got the error "OpenAPI Parser: Cannot read the array length because "" is null" during import of https://api.elhub.no/energy-data/v0/openapi.json (which is an OpenAPI 3.1 file, but I don't know if that is the cause) and the stack trace hinted at something wrong coming from buildHttpRequestParameters(). Changing from null to "" in the last else-branch made the file load without errors. I haven't dug further into why null fails as it appears to be in internal Burp code.

… file)

Got the error "OpenAPI Parser: Cannot read the array length because "<parameter4>" is null" during import of https://api.elhub.no/energy-data/v0/openapi.json and the stack trace hinted at something wrong coming from buildHttpRequestParameters().
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

Successfully merging this pull request may close these issues.

1 participant