Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created January 27, 2014 23:13
Show Gist options
  • Save ahonor/8659297 to your computer and use it in GitHub Desktop.
Save ahonor/8659297 to your computer and use it in GitHub Desktop.
java.lang.NullPointerException: Cannot get property 'dataContext' on null object
at rundeck.services.ExecutionService.createJobReferenceContext(ExecutionService.groovy:1661)
at rundeck.services.WorkflowService$_createStateForWorkflow_closure1.doCall(WorkflowService.groovy:111)
at rundeck.services.WorkflowService.createStateForWorkflow(WorkflowService.groovy:94)
at rundeck.services.WorkflowService$_createStateForWorkflow_closure1.doCall(WorkflowService.groovy:117)
at rundeck.services.WorkflowService.createStateForWorkflow(WorkflowService.groovy:94)
at rundeck.services.WorkflowService.createStateForWorkflow(WorkflowService.groovy:76)
at rundeck.services.WorkflowService.createWorkflowStateListenerForExecution(WorkflowService.groovy:134)
at rundeck.services.ExecutionService.executeAsyncBegin(ExecutionService.groovy:617)
at rundeck.quartzjobs.ExecutionJob.executeCommand(ExecutionJob.groovy:258)
at rundeck.quartzjobs.ExecutionJob.execute_internal(ExecutionJob.groovy:101)
at rundeck.quartzjobs.ExecutionJob$_execute_closure1.doCall(ExecutionJob.groovy:68)
at com.codahale.metrics.Timer.time(Timer.java:99)
at rundeck.quartzjobs.ExecutionJob.execute(ExecutionJob.groovy:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
ERROR ExecutionJob: Execution 6 failed to start: Transaction rolled back because it has been marked as rollback-only
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at rundeck.quartzjobs.ExecutionJob.executeCommand(ExecutionJob.groovy:258)
at rundeck.quartzjobs.ExecutionJob.execute_internal(ExecutionJob.groovy:101)
at rundeck.quartzjobs.ExecutionJob$_execute_closure1.doCall(ExecutionJob.groovy:68)
at com.codahale.metrics.Timer.time(Timer.java:99)
at rundeck.quartzjobs.ExecutionJob.execute(ExecutionJob.groovy:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
ERROR ExecutionJob: Failed execution 6 : Transaction rolled back because it has been marked as rollback-only
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at rundeck.quartzjobs.ExecutionJob.executeCommand(ExecutionJob.groovy:258)
at rundeck.quartzjobs.ExecutionJob.execute_internal(ExecutionJob.groovy:101)
at rundeck.quartzjobs.ExecutionJob$_execute_closure1.doCall(ExecutionJob.groovy:68)
at com.codahale.metrics.Timer.time(Timer.java:99)
at rundeck.quartzjobs.ExecutionJob.execute(ExecutionJob.groovy:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment