Skip to content

Multibrach with scan with remote Jenkinsfile failed at java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.matchBranches" is null #148

@dmytrobilan-vm

Description

@dmytrobilan-vm

Describe the bug
From time to time I get the following error:

Connecting to https://bitbucket.org/ using bitbucket
Repository type: Git
Looking up xxx/module-xxx-yyy for branches
Checking branch master from xxx/module-xxx-yyy
No local file defined. Skipping Source Code SCM probe, since Jenkinsfile will be provided by Remote Jenkins File Plugin
    Met criteria
ERROR: [Fri Oct 27 12:09:19 GMT 2023] Could not fetch branches from source c6c3dd8409142dcf4990b018e60cab8298ebad74b5b103e13b018271a50e1fae2
[Fri Oct 27 12:09:19 GMT 2023] Finished branch indexing. Indexing took 0.96 sec
FATAL: Failed to recompute children of YYY Jobs » YYY: module-xxx-yyy (module-xxx-yyy)
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.matchBranches" is null

Different repos. But the next run can be fine without issues.

Additional context

Jenkins 2.414.3
All plugins up&date

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions