Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 5.12.2.1.

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: 192.169.0.163; 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
Answer accepted

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

986 views 4 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you