Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11269

Fail to automatically create project from an empty bibucket repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: None
    • Labels:
    • Production Notes:
      None

      Description

      Here's the error when trying to automatically create project from an empty bibucket repo :

      2018.09.17 10:16:46 ERROR web[AWXmj6Xes/Dlpb1kAADW][o.s.s.w.WebServiceEngine] Fail to process request http://jl.eu.ngrok.io/api/alm_integration/provision_projects
      java.lang.NullPointerException: null
      	at com.sonarsource.branch.alm.bitbucketcloud.BitBucketListRepositoriesDelegate.toRepositoryInfo(BitBucketListRepositoriesDelegate.java:153)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at com.sonarsource.branch.alm.bitbucketcloud.BitBucketListRepositoriesDelegate.getPublicRepositoriesDetails(BitBucketListRepositoriesDelegate.java:143)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              janos.gyerik Janos Gyerik
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: