Skip to content

Commit 8032f58

Browse files
authored
Merge pull request #101 from tzachs/JENKINS-69490
JENKINS-69490 - fix - check if item is null before printing the log
2 parents 62fc3e5 + 9337757 commit 8032f58

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ triggers{
8484

8585
**Changelog**
8686

87+
#### TBD ####
88+
- JENKINS-69490 - fixed NPE when using pipeline-syntax properties: Set job properties
89+
8790
#### 237.vc424f493c5f6 (10. Dec 2023)
8891
- JENKINS-72448 - Updated jenkins.version from 2.375.3 to 2.414.1
8992

src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public FormValidation doCheckOverrideUrl(@QueryParameter String value) throws IO
4545

4646
@Override
4747
public boolean isApplicable(Item item) {
48-
LOGGER.finest(item.getClass().getSimpleName());
48+
if ( item != null){
49+
LOGGER.finest(item.getClass().getSimpleName());
50+
}
4951
return item instanceof WorkflowMultiBranchProject;
5052
}
5153

0 commit comments

Comments
 (0)