Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12053

Errors are logged when accessing the Administration pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.8.1, 6.9.0
    • 6.8.0
    • Administration
    • None

    Description

      Issue Summary

      Errors are written to the Bitbucket log file when accessing the Administration pages.
      There are no indications of an error in the Bitbucket UI.

      Steps to Reproduce

      1. Access the Administration pages in Bitbucket

      Expected Results

      No errors or warnings written to the log file when accessing the Administration pages.

      Actual Results

      Errors are written to the log file.
      Sample log entry:

      2019-11-14 22:13:26,857 ERROR [http-nio-7101-exec-3] admin @XAY5HFx1333x198x0 1t3omyh 100.127.65.206,100.64.19.63,127.0.0.1 "GET /plugins/servlet/embedded-crowd/directories/list HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.plugin.web.conditions.AndCompositeCondition@422a3613' for descriptor: com.atlassian.plugins.static-assets-url:bitbucket-menu-item (null)
      java.lang.NullPointerException: null
      at com.atlassian.plugins.impl.conditions.IsSysAdminCondition.isSystemAdmin(IsSysAdminCondition.java:24)
      at com.atlassian.plugins.impl.conditions.IsSysAdminCondition.shouldDisplay(IsSysAdminCondition.java:20)
      at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:22)
      at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:22)
      at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:160)
      at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:113)
      at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableWebItems(DefaultWebInterfaceManager.java:212)
      at com.atlassian.stash.internal.web.fragments.WebFragmentSupport.getWebItems(WebFragmentSupport.java:60)
      at com.atlassian.stash.internal.web.fragments.WebFragmentSupport$$FastClassBySpringCGLIB$$a614745b.invoke(<generated>)
      at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
      at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:95)
      at com.atlassian.stash.internal.web.fragments.WebFragmentSupport$$EnhancerBySpringCGLIB$$4172370f.getWebItems(<generated>)
      at com.atlassian.stash.internal.web.soy.functions.WebItemFunction.apply(WebItemFunction.java:51)
      at com.atlassian.stash.internal.web.soy.functions.WebItemFunction.apply(WebItemFunction.java:18)
      at com.atlassian.soy.impl.modules.SoyJavaFunctionAdapter.computeForJava(SoyJavaFunctionAdapter.java:34)
      at com.atlassian.soy.impl.modules.CompositeFunctionAdaptor.computeForJava(CompositeFunctionAdaptor.java:38)
      at com.google.template.soy.sharedpasses.render.EvalVisitor.computeFunctionHelper(EvalVisitor.java:670)
      at com.google.template.soy.sharedpasses.render.EvalVisitor.visitFunctionNode(EvalVisitor.java:653)
      at com.google.template.soy.sharedpasses.render.EvalVisitor.visitFunctionNode(EvalVisitor.java:87)
      at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:118)
      at com.google.template.soy.sharedpasses.render.EvalVisitor.visitExprRootNode(EvalVisitor.java:148)
      at com.google.template.soy.sharedpasses.render.EvalVisitor.visitExprRootNode(EvalVisitor.java:87)
      at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:81)
      at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:73)
      at com.google.template.soy.basetree.AbstractReturningNodeVisitor.exec(AbstractReturningNodeVisitor.java:43)
      at com.google.template.soy.sharedpasses.render.RenderVisitor.eval(RenderVisitor.java:739)
      at com.google.template.soy.sharedpasses.render.RenderVisitor.visitCallNodeHelper(RenderVisitor.java:560)
      at com.google.template.soy.sharedpasses.render.RenderVisitor.visitCallBasicNode(RenderVisitor.java:457)
      at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:110)
      at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:56)
      at com.google.template.soy.basetree.AbstractNodeVisitor.visitChildren(AbstractNodeVisitor.java:59)
      at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitChildren(AbstractSoyNodeVisitor.java:129)
      at com.google.template.soy.sharedpasses.render.RenderVisitor.visitBlockHelper(RenderVisitor.java:702)
      

      Workaround

      Currently there is no known workaround for this behavior.

      Attachments

        Issue Links

          Activity

            People

              ysun Yingran Sun
              jmariano@atlassian.com JP Mariano
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: