jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-73887] uncaught exception if repository URL is empty on GitHub branch source

Open
#1,451 0 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin imported-jira-issue priority:trivial resolution:unresolved ux
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

Was trying to add in the multi-whatever pipeline to scan our github org's repos.

It just threw up with " Oops!

A problem occurred while processing the request

Logging ID=e96eb5fc-31ba-40ca-80e2-2a83e1fe6a92"

I had to go crawl through the server logs to find,

hudson.init.impl.InstallUncaughtExceptionHandler handleException

Caught unhandled exception with ID e96eb5fc-31ba-40ca-80e2-2a83e1fe6a92 java.lang.IllegalArgumentException: Repository URL must not be empty at PluginClassLoader for github-branch-source//org.jenkinsci.plugins.github_branch_source.GitHubRepositoryInfo.forRepositoryUrl(GitHubRepositoryInfo.java:83)

This should have been caught in the UI (form-missing-input) checks

---
Originally reported by pbrownrobo, imported from: uncaught exception if repository URL is empty on GitHub branch source


  • assignee: kohsuke
  • status: Open
  • priority: Trivial
  • component(s): github-branch-source-plugin
  • label(s): UI
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-02

Raw content of original issue

Was trying to add in the multi-whatever pipeline to scan our github org's repos.

It just threw up with " Oops!
A problem occurred while processing the request
Logging ID=e96eb5fc-31ba-40ca-80e2-2a83e1fe6a92"

I had to go crawl through the server logs to find,

hudson.init.impl.InstallUncaughtExceptionHandler handleException
Caught unhandled exception with ID e96eb5fc-31ba-40ca-80e2-2a83e1fe6a92 java.lang.IllegalArgumentException: Repository URL must not be empty at PluginClassLoader for github-branch-source//org.jenkinsci.plugins.github_branch_source.GitHubRepositoryInfo.forRepositoryUrl(GitHubRepositoryInfo.java:83)

This should have been caught in the UI (form-missing-input) checks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.