Please make Build Times for Bamboo compatible with latest version of Bamboo

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      Please make the Build Times for Bamboo plugin compatible with Bamboo version 9.6 and Higher. 

      Steps to Reproduce

      1) Install the plugin in Bamboo as per the link above

      Expected Results

      1) The plugin should work

      Actual Results

      1) Below exception is thrown in the logs

      2024-10-31 09:29:04,380 WARN [http-nio-8085-exec-19] [BambooActionSupport] java.lang.IllegalStateException: HTTP request not available
      2024-10-31 09:29:04,394 ERROR [http-nio-8085-exec-19] [ExceptionMappingInterceptor] An Authentication object was not found in the SecurityContext
      org.acegisecurity.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
              at org.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:375) ~[acegi-security-1.0.7.jar:?]
      
      2024-10-31 09:29:04,475 ERROR [http-nio-8085-exec-19] [FiveOhOh] 500 Exception was thrown.
      java.lang.IllegalStateException: Class com.atlassian.bamboo.plugin.buildtimes.ViewBuildTimes, which has no security annotation, inherits from class com.atlassian.bamboo.build.PlanResultsAction, which has access level set to ANONYMOUS_SITE_ACCESS. A class that extends an annotated class must be explicitly annotated itself to avoid false assumption about annotation inheritance. Add a security annotation to class com.atlassian.bamboo.plugin.buildtimes.ViewBuildTimes
              at com.atlassian.sal.core.permission.AccessType.validateNoInheritanceAssumed(AccessType.java:148) ~[sal-core-6.0.4.jar:?]
              at com.atlassian.sal.core.permission.AccessType.lambda$getAccessTypeInternal$4(AccessType.java:122) ~[sal-core-6.0.4.jar:?]
              at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
      

      Workaround

      Currently there is no known workaround for this behaviour. A workaround will be added here when available.

            Assignee:
            Mateusz Szmal
            Reporter:
            Shashank Kumar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: