Editing or Adding a "Gradle" task spits out "An unexpected error has occurred. Internal Server Error"

Last Friday I upgraded from Bamboo 5.9.7 to

Today, a user and myself, cannot successfully edit an existing "Gradle" task nor add one.

Upon clicking "Save", in the browser pane I get:

An unexpected error has occurred
Internal Server Error

In the Bamboo log file I get these 3 lines:

2016-07-05 10:50:49,383 INFO [http-nio-8085-exec-30] [AccessLogFilter] 
gmoore POST http://bamboo.hq.viviport.com:8085/build/admin/edit/createTask.action 997412kb
2016-07-05 10:50:49,397 WARN [http-nio-8085-exec-30] 
[AuthorizationLoggerListener] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; 
authenticated principal: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken@9054b1a2: 
Username: anonymousUser; Password: [PROTECTED]; Authenticated: true; 
Details: org.acegisecurity.ui.WebAuthenticationDetails@1c07a: 
RemoteIpAddress:; SessionId: DAFF9B0ECFBA30A1A56004E36BD4A1F2; 
Granted Authorities: ROLE_ANONYMOUS; secure object: com.atlassian.bamboo.ww2.actions.build.admin.config.task.CreateTask@47880621; 
configuration attributes: [WW_EDIT, WW_NEWOBJECT, GLOBAL_READ]
2016-07-05 10:50:49,399 WARN [http-nio-8085-exec-30] [BambooActionSupport] 
java.lang.IllegalStateException: HttpServletRequest not found

I can successfully edit an "Inject Bamboo variables" task, a "Source Code Checkout" task, a "Command" task , and a "File - Create ZIP" task.

I will continue to see what other Bamboo plan editing tasks I am prevented from doing.

1 answer

1 accepted

0 votes
Accepted answer

I will be upgrading the "Groovy" plugin from 2.4.1 to 2.5.0 which I think could be the cause of my problem. Stay tuned....

Finished upgrading both my backup Bamboo server and Production. 

The problem is resolved.

(Since connection to Atlassian Marketplace uses https and not http I had to add these arguments to the JVM_REQUIRED_ARGS flag:

-Dhttps.proxyHost=<host ip address> -Dhttps.proxyPort=<port #>

so that I can be notified of all the other plugins that are out of date, etc.


I also noticed the error message in my backup Bamboo server way longer, but had some lines it it that led me to this specific Groovy plugin:

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions
        at com.atlassian.upm.license.storage.lib.VersionChecker.isUpmVersionEqualToOrAfter(VersionChecker.java:66)
        at com.atlassian.upm.license.storage.lib.VersionChecker.isUpm201OrLaterInstalled(VersionChecker.java:40)
        at com.atlassian.upm.license.storage.lib.ThirdPartyPluginLicenseStorageManagerImpl.isUpmLicensingAware(ThirdPartyPluginLicenseStorageManagerImpl.java:187)
        at com.atlassian.upm.license.storage.lib.ThirdPartyPluginLicenseStorageManagerImpl.execute(ThirdPartyPluginLicenseStorageManagerImpl.java:257)
        at com.atlassian.upm.license.storage.lib.ThirdPartyPluginLicenseStorageManagerImpl.getLicense(ThirdPartyPluginLicenseStorageManagerImpl.java:75)
        at org.swift.bamboo.groovy.LicenseUtilities.validateLicense(LicenseUtilities.java:39)
        at org.swift.bamboo.groovy.LicenseUtilities.validateLicense(LicenseUtilities.java:69)
        at org.swift.bamboo.groovy.BaseTaskConfigurator.validate(BaseTaskConfigurator.java:138)

Sorry for the trouble.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

157 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you