If the target node does not have "username" or "winrm-user" attribute, and no project or framework level username is found, it causes a NullPointerException:
Caused by: java.lang.NullPointerException
at com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor$ConnectionOptionsBuilder.build(OTWinRMNodeExecutor.java:631)
at com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.executeCommand(OTWinRMNodeExecutor.java:226)
at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeCommand(ExecutionServiceImpl.java:333)
at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeCommand(ExecutionServiceImpl.java:307)
at com.dtolabs.rundeck.core.execution.workflow.steps.node.impl.ExecNodeStepExecutor.executeNodeStep(ExecNodeStepExecutor.java:53)
at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeNodeStep(ExecutionServiceImpl.java:149)
... 18 more
To fix: set a "username" or "winrm-user" attribute on the node
If the target node does not have "username" or "winrm-user" attribute, and no project or framework level username is found, it causes a NullPointerException:
To fix: set a "username" or "winrm-user" attribute on the node