-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get property 'nodeService' on null object #2
Comments
Please don't post pictures of stacktraces, it's a bit unreadable, some information is missing and I can't copy the text. Use normal text and wrap it with Backticks (`, or use "Insert code" from the GitHub toolbar). Is this a fresh Rundeck install? Are you using other plugins? Can you spot related errors in the logfiles (e.g. |
Fresh Rundeck install. $>cat /etc/debian_version $>uname -a $>java -version $>ls /var/lib/rundeck/libext/ $>cat /var/log/rundeck/rundeck.log | grep -b4 Exception service.log throws same exception than rundeck.log thx and sorry for the no legible images :) |
Tanks for the detailed follow-up! :) I'll try to reproduce as soon as I can. |
I couldn't reproduce this issue in a clean VM.
The only thing I then needed to do was: I was able to create a new "full-Ansible" project and execute AdHoc commands. Can your Rundeck user run Ansible? Check with something like |
@richhl any new info on this? |
thx @frozenice it works once executed maybe worthwhile to add this to README. |
Great! I added some pitfalls to the README. |
got this error while creating the project. have follwed your instructions selecting ansible model, executor and file copier.
text shown at web error page:
Request: /resources/createProjectPost?fcopy.0.config.keystoragepath=&fcopy=[0.config.keystoragepath:, 0:[config.keystoragepath:, config:[keystoragepath:, authentication:privateKey, keypath:, passwordstoragepath:], type:jsch-scp, config.authentication:privateKey, config.keypath:, config.passwordstoragepath:], 0.type:jsch-scp, 0.config.authentication:privateKey, 2.config.interpreter:, 2:[config.interpreter:, config:[interpreter:, filepath:, directory:, command:], type:script-copy, config.filepath:, config.directory:, config.command:], 2.type:script-copy, 0.config.keypath:, 0.config.passwordstoragepath:, 2.config.filepath:, 2.config.directory:, 2.config.command:, 1.type:com.batix.rundeck.AnsibleFileCopier, 1:[type:com.batix.rundeck.AnsibleFileCopier], 3.type:stub, 3:[type:stub]]&orig.nodeexec.0.config.passwordstoragepath=&orig=[nodeexec.0.config.passwordstoragepath:, nodeexec:[0.config.passwordstoragepath:, 0:[config.passwordstoragepath:, config:[passwordstoragepath:, authentication:, keypath:, keystoragepath:], config.authentication:, config.keypath:, config.keystoragepath:], 0.config.authentication:, 1.config.executable:/bin/bash, 1:[config.executable:/bin/bash, config:[executable:/bin/bash]], 0.config.keypath:, 2.config.command:, 2:[config.command:, config:[command:, interpreter:, directory:], config.interpreter:, config.directory:], 0.config.keystoragepath:, 2.config.interpreter:, 2.config.directory:], nodeexec.0.config.authentication:, fcopy.0.config.authentication:, fcopy:[0.config.authentication:, 0:[config.authentication:, config:[authentication:, keystoragepath:, keypath:, passwordstoragepath:], config.keystoragepath:, config.keypath:, config.passwordstoragepath:], 0.config.keystoragepath:, 2.config.command:, 2:[config.command:, config:[command:, interpreter:, directory:, filepath:], config.interpreter:, config.directory:, config.filepath:], 2.config.interpreter:, 0.config.keypath:, 0.config.passwordstoragepath:, 2.config.directory:, 2.config.filepath:], nodeexec.1.config.executable:/bin/bash, fcopy.0.config.keystoragepath:, fcopy.2.config.command:, fcopy.2.config.interpreter:, fcopy.0.config.keypath:, nodeexec.0.config.keypath:, fcopy.0.config.passwordstoragepath:, nodeexec.2.config.command:, nodeexec.0.config.keystoragepath:, fcopy.2.config.directory:, nodeexec.2.config.interpreter:, fcopy.2.config.filepath:, nodeexec.2.config.directory:]&nodeexec.2.config.directory=&nodeexec=[2.config.directory:, 2:[config.directory:, config:[directory:, interpreter:, command:], config.interpreter:, type:script-exec, config.command:], 0.config.keystoragepath:, 0:[config.keystoragepath:, config:[keystoragepath:, passwordstoragepath:, keypath:, authentication:privateKey], type:jsch-ssh, config.passwordstoragepath:, config.keypath:, config.authentication:privateKey], 3.type:stub, 3:[type:stub], 2.config.interpreter:, 0.type:jsch-ssh, 0.config.passwordstoragepath:, 0.config.keypath:, 1.config.executable:/bin/bash, 1:[config.executable:/bin/bash, config:[executable:/bin/bash], type:com.batix.rundeck.AnsibleNodeExecutor], 0.config.authentication:privateKey, 2.type:script-exec, 1.type:com.batix.rundeck.AnsibleNodeExecutor, 2.config.command:]&orig.nodeexec.0.config.authentication=&nodeexec.0.config.keystoragepath=&newproject=Ansible_TFG_Deployments&orig.fcopy.0.config.authentication=&orig.nodeexec.1.config.executable=/bin/bash&fcopy.0.type=jsch-scp&description=&fcopy.0.config.authentication=privateKey&nodeexec.3.type=stub&fcopy.2.config.interpreter=&fcopy.2.type=script-copy&index=1&orig.fcopy.0.config.keystoragepath=&plugin.1.type=com.batix.rundeck.AnsibleResourceModelSourceFactory&plugin=[1.type:com.batix.rundeck.AnsibleResourceModelSourceFactory, 1:[type:com.batix.rundeck.AnsibleResourceModelSourceFactory, saved:true, config.gatherFacts:true, config:[gatherFacts:true]], 1.saved:true, 1.config.gatherFacts:true]&fcopy.0.config.keypath=&fcopy.0.config.passwordstoragepath=&defaultNodeExec=1&nodeexec.2.config.interpreter=&orig.fcopy.2.config.command=&plugin.1.saved=true&create=Create&nodeexec.0.type=jsch-ssh&fcopy.2.config.filepath=&orig.fcopy.2.config.interpreter=&prefix=plugin.1.&nodeexec.0.config.passwordstoragepath=&nodeexec.0.config.keypath=&defaultFileCopy=1&orig.fcopy.0.config.keypath=&orig.nodeexec.0.config.keypath=&orig.fcopy.0.config.passwordstoragepath=&fcopy.2.config.directory=&nodeexec.1.config.executable=/bin/bash&SYNCHRONIZER_TOKEN=9c41755213c83ed083edb3e8144bbeaab2d4d58d9f3937f8aafb4f058f439a78&fcopy.2.config.command=&orig.nodeexec.2.config.command=&fcopy.1.type=com.batix.rundeck.AnsibleFileCopier&plugin.1.config.gatherFacts=true&nodeexec.0.config.authentication=privateKey&nodeexec.2.type=script-exec&SYNCHRONIZER_URI=/resources/createProject&orig.nodeexec.0.config.keystoragepath=&fcopy.3.type=stub&orig.fcopy.2.config.directory=&nodeexec.1.type=com.batix.rundeck.AnsibleNodeExecutor&nodeexec.2.config.command=&orig.nodeexec.2.config.interpreter=&orig.fcopy.2.config.filepath=&orig.nodeexec.2.config.directory=&33fbff4f_sel=/bin/bash
Message: Cannot get property 'nodeService' on null object
Caused by: Cannot get property 'nodeService' on null object
Class: FrameworkController
At Line: [862]
Code Snippet:
The text was updated successfully, but these errors were encountered: