Skip to content

Change null to empty string to fix parsing error#112

Open
affimnem wants to merge 1 commit intoaress31:mainfrom
affimnem:patch-1
Open

Change null to empty string to fix parsing error#112
affimnem wants to merge 1 commit intoaress31:mainfrom
affimnem:patch-1

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