You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
linux
Reproduction steps
Attempt to generate a token through the Jenkins API by providing the Escapehatch user credentials (user:password).
Observe that the token generation fails with an error message.
Log in with Escapehatch user credentials manually.
Attempt to generate a token through the Jenkins API by providing the same Escapehatch user credentials (user:password).
Observe that the token generation is successful without any errors.
Repeat above steps using the Jenkins CLI instead of the Jenkins API.
Expected Results
Generate API token
Actual Results
[2023-04-07 11:58:43.707]: + java -jar /tmp/jenkins-cli.jar -s HOST -auth **** -webSocket groovy =
[2023-04-07 11:58:47.873]:
[2023-04-07 11:58:47.873]: ERROR: Unexpected exception occurred while performing groovy command.
[2023-04-07 11:58:47.873]: java.lang.NullPointerException: Cannot invoke method getProperty() on null object
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:34)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
[2023-04-07 11:58:47.873]: at RemoteClass.run(RemoteClass:12)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.run(GroovyShell.java:507)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.run(GroovyShell.java:486)
[2023-04-07 11:58:47.873]: at hudson.cli.GroovyCommand.run(GroovyCommand.java:73)
[2023-04-07 11:58:47.874]: at hudson.cli.CLICommand.main(CLICommand.java:252)
[2023-04-07 11:58:47.874]: at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299)
[2023-04-07 11:58:47.874]: at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154)
[2023-04-07 11:58:47.874]: at java.base/java.lang.Thread.run(Thread.java:829)
Anything else?
I am writing to report an issue with the Escapehatch configuration and logging in to Jenkins. Specifically, I am having trouble generating a token when attempting to log in through the Escapehatch user, but I am able to log in using the same credentials manually. This problem occurs when trying to generate tokens through both the Jenkins API and the Jenkins CLI (both by providing user:password).
Could you please investigate this issue and provide guidance on how to resolve it? Any assistance would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
linux
Reproduction steps
Attempt to generate a token through the Jenkins API by providing the Escapehatch user credentials (user:password).
Observe that the token generation fails with an error message.
Log in with Escapehatch user credentials manually.
Attempt to generate a token through the Jenkins API by providing the same Escapehatch user credentials (user:password).
Observe that the token generation is successful without any errors.
Repeat above steps using the Jenkins CLI instead of the Jenkins API.
Expected Results
Generate API token
Actual Results
[2023-04-07 11:58:43.707]: + java -jar /tmp/jenkins-cli.jar -s HOST -auth **** -webSocket groovy =
[2023-04-07 11:58:47.873]:
[2023-04-07 11:58:47.873]: ERROR: Unexpected exception occurred while performing groovy command.
[2023-04-07 11:58:47.873]: java.lang.NullPointerException: Cannot invoke method getProperty() on null object
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:34)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
[2023-04-07 11:58:47.873]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
[2023-04-07 11:58:47.873]: at RemoteClass.run(RemoteClass:12)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.run(GroovyShell.java:507)
[2023-04-07 11:58:47.873]: at groovy.lang.GroovyShell.run(GroovyShell.java:486)
[2023-04-07 11:58:47.873]: at hudson.cli.GroovyCommand.run(GroovyCommand.java:73)
[2023-04-07 11:58:47.874]: at hudson.cli.CLICommand.main(CLICommand.java:252)
[2023-04-07 11:58:47.874]: at hudson.cli.CLIAction$ServerSideImpl.run(CLIAction.java:299)
[2023-04-07 11:58:47.874]: at hudson.cli.CLIAction$1.lambda$opened$0(CLIAction.java:154)
[2023-04-07 11:58:47.874]: at java.base/java.lang.Thread.run(Thread.java:829)
Anything else?
I am writing to report an issue with the Escapehatch configuration and logging in to Jenkins. Specifically, I am having trouble generating a token when attempting to log in through the Escapehatch user, but I am able to log in using the same credentials manually. This problem occurs when trying to generate tokens through both the Jenkins API and the Jenkins CLI (both by providing user:password).
Could you please investigate this issue and provide guidance on how to resolve it? Any assistance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: