Credentials Plugin 2.0.x Breaks Configuration Pages

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:

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

Have more questions?

0 Comments

Please sign in to leave a comment.