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

exception when options is undefined #215

Closed
wants to merge 1 commit into from

Conversation

h0x91b-wix
Copy link

When I am trying to parse https://developer.atlassian.com/cloud/jira/platform/swagger-v3.v3.json -> options on this line is undefined and an exception occurs.

When I am trying to parse https://developer.atlassian.com/cloud/jira/platform/swagger-v3.v3.json -> `options` on this line is undefined and an exception occurs.
@h0x91b-wix
Copy link
Author

Can not load service "/app/services/external.service.js", exception: TypeError: Cannot read property 'dereference' of undefined
TypeError: Cannot read property 'dereference' of undefined
    at foundCircularReference (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:158:16)
    at dereference$Ref (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:117:15)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:58:26)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at dereference$Ref (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:125:24)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:58:26)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at dereference$Ref (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:125:24)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:58:26)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:67:28)
    at dereference$Ref (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:125:24)
    at crawl (/app/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:58:26)

"name": "@apidevtools/json-schema-ref-parser"
"version": "9.0.6"

@h0x91b-wix
Copy link
Author

upgraded to 9.0.7 and all fine

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