java.lang.IllegalStateException: XSRF: A mutative operation was attempted on LocalAgentDefinitionImpl within a non-mutative HTTP request: http://hostname:8085/bamboo/admin/agent/configureAgents!deactivateAll.action?returnUrl=%2Fadmin%2FchooseBuildsToMove.action&class=mutative : [[Default Agent, , 2016-04-11 16:45:04.0, 2016-04-11 16:45:04.0, true, com.atlassian.bamboo.v2.build.agent.capability.LocalCapabilitySet{capabilities=[], capabilityScope=AGENT}]]-> ->[[Default Agent, , 2016-04-11 16:45:04.0, Wed Apr 13 19:57:36 MYT 2016, false, com.atlassian.bamboo.v2.build.agent.capability.LocalCapabilitySet{capabilities=[], capabilityScope=AGENT}]]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Deric Lee, 1 year ago
XSRF: A mutative operation was attempted on LocalAgentDefinitionImpl within a non-mutative HTTP request: http://hostname:8085/bamboo/admin/agent/configureAgents!deactivateAll.action?returnUrl=%2Fadmin%2FchooseBuildsToMove.action&class=mutative
via Atlassian JIRA by Deric Lee [Atlassian], 1 year ago
XSRF: A mutative operation was attempted on LocalAgentDefinitionImpl within a non-mutative HTTP request: http://hostname:8085/bamboo/admin/agent/configureAgents!deactivateAll.action?returnUrl=%2Fadmin%2FchooseBuildsToMove.action&class=mutative
via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
XSRF: A mutative operation was attempted on ChainBranchImpl within a non-mutative HTTP request: http://tardigrade.syd.atlassian.com:8085/bamboo/ajax/createRemoteIssueLink.action?planKey=BAM-FC74&issueKey=BDEV-4335&_=1395878238287
via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
XSRF: A mutative operation was attempted on ChainBranchImpl within a non-mutative HTTP request: http://tardigrade.syd.atlassian.com:8085/bamboo/ajax/createRemoteIssueLink.action?planKey=BAM-FC74&issueKey=BDEV-4335&_=1395878238287
via atlassian.com by Unknown author, 1 year ago
XSRF: A mutative operation was attempted on RememberMeTokenImpl within a non-mutative HTTP request: https://<bambooURL>/allPlans.action : [null]-> ->[[username, timestamp, cookie]]
via Atlassian JIRA by Nick Mason [Atlassian], 1 year ago
XSRF: A mutative operation was attempted on BucketPropertySetItem within a non-mutative HTTP request: https://instance.jira.com/builds/ajax/toggleDashboardFilter.action?returnUrl=%2FallPlans.action&filterEnabled=false : [[1, true, 0.0, null, null, 0, 0, null]]-> ->[[1, false, 0.0, null, null, 0, 0, null]]
java.lang.IllegalStateException: XSRF: A mutative operation was attempted on LocalAgentDefinitionImpl within a non-mutative HTTP request: http://hostname:8085/bamboo/admin/agent/configureAgents!deactivateAll.action?returnUrl=%2Fadmin%2FchooseBuildsToMove.action&class=mutative : [[Default Agent, , 2016-04-11 16:45:04.0, 2016-04-11 16:45:04.0, true, com.atlassian.bamboo.v2.build.agent.capability.LocalCapabilitySet{capabilities=[], capabilityScope=AGENT}]]-> ->[[Default Agent, , 2016-04-11 16:45:04.0, Wed Apr 13 19:57:36 MYT 2016, false, com.atlassian.bamboo.v2.build.agent.capability.LocalCapabilitySet{capabilities=[], capabilityScope=AGENT}]]
at com.atlassian.bamboo.utils.XsrfUtils.fail(XsrfUtils.java:32)
at com.atlassian.bamboo.hibernate.ReadOnlyGetMethodEnforcer.fail(ReadOnlyGetMethodEnforcer.java:113)
at com.atlassian.bamboo.hibernate.ReadOnlyGetMethodEnforcer.onFlushDirty(ReadOnlyGetMethodEnforcer.java:62)
at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.