Scan fails in Bitbucket pipeline

Hi Team,

I have initiated a scan through bitbucket pipeline and my pipeline is failing with this error below:

ERROR: Unable to analyze file file:///opt/atlassian/pipelines/agent/build/env/lib/python2.7/genericpath.py: Fail to read file input stream java.lang.IllegalStateException: Fail to read file input stream

Not sure what could be the issue.

Yaml:

image: python:3.7.2

definitions:
  steps:
    - step: &build-step
        name: SonarQube analysis
        script:
          - pipe: sonarsource/sonarqube-scan:1.0.0
            variables:
              SONAR_HOST_URL: ${SONAR_HOST_URL}
              SONAR_TOKEN: ${REPO_TOKEN}
    - step:
        name: Check Quality Gate on SonarQube
        max-time: 5 # value you should use depends on the analysis time for your project
        script:
          - pipe: sonarsource/sonarqube-quality-gate:1.1.0
            variables:
              SONAR_TOKEN: ${REPO_TOKEN}
caches:
  sonar: /opt/sonar-scanner/.sonar/cache
clone:
  depth: full
pipelines:
  branches:
    Sonarqube_Analysis_addpipeline:
      - step: *build-step
    qa:
      - step: *QA_Deploy

    uat:
      - step: *UAT_Deploy

    master:
      - step:
          name: Master Build
          script:
            - echo 'Running on Master Branch'
      - step: *PROD_Deploy

Hey there.

What version of SonarQube (the server) are you using? Can you share more logs than just that line?