java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25)

Atlassian JIRA | Matthew Hunter | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps to replicate: # Backup your Jenkins data, and prepare to import it into Bamboo OnDemand as per [this guide|https://confluence.atlassian.com/display/BAMBOO/Importing+data+from+Jenkins]. # Go to https://example.atlassian.net/builds/admin/jenkinsImport/configureJenkinsImport.action and select the backup you created in step 1 Result: Different things are shown in the UI depending on the browser and the level of access. If you're an administrator using Chrome it just shows a empty space between the two bars. The logs show: {noformat} 2014-03-30 00:47:17.277714500 2014-03-30 00:47:17,277 INFO [TP-Processor1] [AccessLogFilter] sysadmin POST https://example.atlassian.net/builds/admin/jenkinsImport/uploadJenkinsData.action?filename=jenkins.zip&size=117739 13857kb 2014-03-30 00:47:17.291896500 2014-03-30 00:47:17,291 WARN [TP-Processor1] [BambooXsrfTokenInterceptor] XSRF token validation failed in session:7B5C771AA0FD7B3C9669556052284B4C due to XSRF_FAILURE_NO_TOKEN_IN_PARAMS 2014-03-30 00:47:17.292939500 2014-03-30 00:47:17,291 ERROR [TP-Processor1] [ExceptionMappingInterceptor] XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25) 2014-03-30 00:47:17.292947500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292947500 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) 2014-03-30 00:47:17.292953500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292954500 at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) 2014-03-30 00:47:17.292963500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292964500 at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) 2014-03-30 00:47:17.292965500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292965500 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) ... 2014-03-30 00:47:17.296995500 2014-03-30 00:47:17,296 ERROR [TP-Processor1] [FiveOhOh] 500 Exception was thrown. 2014-03-30 00:47:17.296996500 java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.296997500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.296998500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.297004500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297005500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25) 2014-03-30 00:47:17.297005500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297006500 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) 2014-03-30 00:47:17.297007500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297008500 at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) 2014-03-30 00:47:17.297008500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297011500 at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) 2014-03-30 00:47:17.297011500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297012500 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) 2014-03-30 00:47:17.297013500 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 2014-03-30 00:47:17.297014500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) ... {noformat}

    Atlassian JIRA | 3 years ago | Matthew Hunter
    java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25)
  2. 0

    Steps to replicate: # Backup your Jenkins data, and prepare to import it into Bamboo OnDemand as per [this guide|https://confluence.atlassian.com/display/BAMBOO/Importing+data+from+Jenkins]. # Go to https://example.atlassian.net/builds/admin/jenkinsImport/configureJenkinsImport.action and select the backup you created in step 1 Result: Different things are shown in the UI depending on the browser and the level of access. If you're an administrator using Chrome it just shows a empty space between the two bars. The logs show: {noformat} 2014-03-30 00:47:17.277714500 2014-03-30 00:47:17,277 INFO [TP-Processor1] [AccessLogFilter] sysadmin POST https://example.atlassian.net/builds/admin/jenkinsImport/uploadJenkinsData.action?filename=jenkins.zip&size=117739 13857kb 2014-03-30 00:47:17.291896500 2014-03-30 00:47:17,291 WARN [TP-Processor1] [BambooXsrfTokenInterceptor] XSRF token validation failed in session:7B5C771AA0FD7B3C9669556052284B4C due to XSRF_FAILURE_NO_TOKEN_IN_PARAMS 2014-03-30 00:47:17.292939500 2014-03-30 00:47:17,291 ERROR [TP-Processor1] [ExceptionMappingInterceptor] XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25) 2014-03-30 00:47:17.292947500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292947500 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) 2014-03-30 00:47:17.292953500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292954500 at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) 2014-03-30 00:47:17.292963500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292964500 at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) 2014-03-30 00:47:17.292965500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292965500 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) ... 2014-03-30 00:47:17.296995500 2014-03-30 00:47:17,296 ERROR [TP-Processor1] [FiveOhOh] 500 Exception was thrown. 2014-03-30 00:47:17.296996500 java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.296997500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.296998500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.297004500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297005500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25) 2014-03-30 00:47:17.297005500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297006500 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) 2014-03-30 00:47:17.297007500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297008500 at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) 2014-03-30 00:47:17.297008500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297011500 at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) 2014-03-30 00:47:17.297011500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.297012500 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) 2014-03-30 00:47:17.297013500 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 2014-03-30 00:47:17.297014500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) ... {noformat}

    Atlassian JIRA | 3 years ago | Matthew Hunter
    java.lang.IllegalArgumentException: XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      XSRF Token Validation failed (XSRF_FAILURE_NO_TOKEN_IN_PARAMS). 2014-03-30 00:47:17.292941500 at com.atlassian.bamboo.ww2.interceptors.BambooXsrfTokenInterceptor.doIntercept(BambooXsrfTokenInterceptor.java:66) 2014-03-30 00:47:17.292942500 at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) 2014-03-30 00:47:17.292945500 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) 2014-03-30 00:47:17.292946500 at com.atlassian.xwork.interceptors.AroundInterceptor.intercept(AroundInterceptor.java:25)

      at com.opensymphony.xwork2.DefaultActionInvocation.invoke()
    2. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
      1 frame
    3. Struts2
      FileUploadInterceptor.intercept
      1. org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)
      1 frame