java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by marti...@java.net (JIRA), 1 year ago
via Jenkins JIRA by martinfr62, 1 year ago
This exception has no message.
via Jenkins JIRA by martinfr62, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at com.cloudbees.plugins.credentials.CredentialsNameProvider.name(CredentialsNameProvider.java:49)
at com.google.jenkins.plugins.googlecontainerregistryauth.GoogleContainerRegistryCredential.getDescription(GoogleContainerRegistryCredential.java:173)
at com.google.jenkins.plugins.googlecontainerregistryauth.GoogleContainerRegistryCredential$NameProvider.getName(GoogleContainerRegistryCredential.java:211)
at com.google.jenkins.plugins.googlecontainerregistryauth.GoogleContainerRegistryCredential$NameProvider.getName(GoogleContainerRegistryCredential.java:205)
at com.cloudbees.plugins.credentials.CredentialsNameProvider.name(CredentialsNameProvider.java:68)
at com.cloudbees.plugins.credentials.CredentialsNameProvider.name(CredentialsNameProvider.java:49)
at com.cloudbees.plugins.credentials.CredentialsNameComparator.compare(CredentialsNameComparator.java:103)
at com.cloudbees.plugins.credentials.CredentialsNameComparator.compare(CredentialsNameComparator.java:40)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)
at java.util.TimSort.sort(TimSort.java:216)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(CredentialsProvider.java:409)
at com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(CredentialsProvider.java:509)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.getCredentials(GitHubSCMSource.java:249)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.getUriResolver(GitHubSCMSource.java:232)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.getRemote(GitHubSCMSource.java:330)
at jenkins.plugins.git.AbstractGitSCMSource.getRemoteConfigs(AbstractGitSCMSource.java:397)
at jenkins.plugins.git.AbstractGitSCMSource.build(AbstractGitSCMSource.java:386)
at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.build(GitHubSCMSource.java:638)
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:78)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:207)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.