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

TypeError: Cannot read property 'baseUrl' of undefined #2014

Closed
ashwinGokhale opened this issue Feb 20, 2024 · 1 comment
Closed

TypeError: Cannot read property 'baseUrl' of undefined #2014

ashwinGokhale opened this issue Feb 20, 2024 · 1 comment
Labels
bug Something isn't working status: new This issue is new and requires triage by DRI.

Comments

@ashwinGokhale
Copy link

Describe the bug

Null pointer exception when reading scan results:

##[error][Exception]ErrorWithCause: An error occurred while scanning website page http://localhost:9009/
at Logger.trackExceptionAny (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:189664:29)
at Scanner. (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:190823:29)
at Generator.next ()
at fulfilled (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:190741:58)
caused by: TypeError: Cannot read property 'baseUrl' of undefined
at Scanner.getCombinedReportParameters (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:190837:60)
at Scanner. (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:190815:55)
at Generator.next ()
at fulfilled (/__w/_tasks/accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113/2.0.6/index.js:190741:58)
Accessibility scanning of URL http://localhost:9009/ completed

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

CodePen repro example

Expected behavior

The task should succeed.

Screenshots

Context (please complete the following information)

  • OS Name & Version:
  • Azure DevOps Extension Version & Environment: v2.0.6. Linux Ubuntu 20.04
  • Browser Version:
  • Target Page:

Are you willing to submit a PR?

Yes

Did you search for similar existing issues?

Additional context

@ashwinGokhale ashwinGokhale added the bug Something isn't working label Feb 20, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the status: new This issue is new and requires triage by DRI. label Feb 20, 2024
@v-viyada
Copy link
Contributor

The issue is specific to v2.0. Please use the latest version. Also ADO Extension currently does not support on Linux containers which is tracked #1575

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: new This issue is new and requires triage by DRI.
Projects
None yet
Development

No branches or pull requests

2 participants