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

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

Open
dmytrobilan-vm opened this issue Oct 27, 2023 · 0 comments

Comments

@dmytrobilan-vm
Copy link

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

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

No branches or pull requests

1 participant