Credentials Plugin 2.0.x Breaks Configuration Pages

Article ID:220034847
1 minute readKnowledge base

Issue

  • Unable to create or configure Nodes

  • Unable to open the configuration page of Jobs

  • Job Configure hangs on "Loading"

  • Node Configuration shows 2 Hosts/Credentials fields

Confusing UI

When creating a new Node or clicking on Configure, the configuration page displays:

node config shows two creds

Unable to create/configure Node

The Support Bundle shows slow requests for:

59489msec elapsed in Handling GET /master/computer/MyNode/configure from 127.0.0.1 : RequestHandlerThread[#175] Computer/configure.jelly DumbSlave/configure-entries.jelly SSHLauncher/DescriptorImpl/config.jelly SSHConnector/config.jelly
    com.cloudbees.plugins.credentials.CredentialsProvider$1$1.hasNext(CredentialsProvider.java:515)
    com.cloudbees.plugins.credentials.CredentialsSelectHelper.getStoreItems(CredentialsSelectHelper.java:109)
    [...]
"Handling GET /master/computer/MyNode/configure from 127.0.0.1 : RequestHandlerThread[#175] Computer/configure.jelly DumbSlave/configure-entries.jelly SSHLauncher/DescriptorImpl/config.jelly SSHConnector/config.jelly" Id=9019 RUNNABLE
    at com.cloudbees.plugins.credentials.CredentialsProvider$1$1.hasNext(CredentialsProvider.java:515)
    at com.cloudbees.plugins.credentials.CredentialsSelectHelper.getStoreItems(CredentialsSelectHelper.java:109)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
    at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
    ...

Job Configure is hanging

When clicking on Configure, the Browser console shows:

select.js:188 Uncaught TypeError: Cannot read property 'clickEvent' of null

Environment

Resolution

These issues are caused by the version 2.0 to 2.0.5 of the . If you encounter any of these, please update the Credentials Plugin to a version greater than 2.0.6.

References

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.