Issue #55 resolved
Justin Shapiro created an issue

Side bar link shows Split pane on right shows Files show Contents of file do not show, rendered or not.

Tested in Opera, Chrome, Safari and Firefox

I attached a screenshot of some errors in the console log

Comments (18)

  1. TheresaH

    Hi @Justin Shapiro ,

    unfortunately, we were not able to reproduce this error in our development instance. Do you have any other information available, like logs from Bitbucket Server or other installed plugins which might interfer here?

    According your console log entries, I guess there are other issues preventing our plugin to load necessary resources (our script is only the third entry in script errors).

    Regards

    Theresa

  2. Justin Shapiro reporter

    I see this in the log, does it mean anything?

    GET /s/e0007e0cc293c45b6c472b7b8b57aaab-T/en_US/9e98c1c/3571/68f05e0d7d5ff80e57dd512365d4afa9/_/download/contextbatch/js/bitbucket.layout.branch,bitbucket.layout.files,com.pirateninjaunicorn.stash.readmeparser,bitbucket.layout.repository,bitbucket.layout.entity,bitbucket.layout.base,atl.general,-_super/batch.js HTTP/1.1" c.a.p.c.f.impl.OneStreamCache Problem caching to disk, skipping cache for this entry
    com.google.template.soy.base.SoySyntaxException: In file /static/bitbucket/internal/feature/admin/db/dbConfigFields.soy, template bitbucket.internal.feature.admin.db.editDbConfigFields: Error in function call "getText($dbType.displayNameKey)": Argument to getText() is not a literal string: dbTypeData9.displayNameKey
        at com.google.template.soy.base.SoySyntaxException.createCausedWithoutMetaInfo(SoySyntaxException.java:69) ~[na:na]
        at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitFunctionNode(TranslateToJsExprVisitor.java:476) ~[na:na]
        at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitFunctionNode(TranslateToJsExprVisitor.java:66) ~[na:na]
        at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:118) ~[na:na]
        at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitExprRootNode(TranslateToJsExprVisitor.java:123) ~[na:na]
        at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitExprRootNode(TranslateToJsExprVisitor.java:66) ~[na:na]
        at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:81) ~[na:na]
        at com.google.template.soy.exprtree.AbstractReturningExprNodeVisitor.visit(AbstractReturningExprNodeVisitor.java:73) ~[na:na]
        at com.google.template.soy.basetree.AbstractReturningNodeVisitor.exec(AbstractReturningNodeVisitor.java:43) ~[na:na]
        at com.google.template.soy.jssrc.internal.JsExprTranslator.translateToJsExpr(JsExprTranslator.java:82) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsExprsVisitor.visitPrintNode(GenJsExprsVisitor.java:223) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:87) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsExprsVisitor.exec(GenJsExprsVisitor.java:129) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitChildren(GenJsCodeVisitor.java:249) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitForeachNonemptyNode(GenJsCodeVisitor.java:1049) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:105) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitForeachNode(GenJsCodeVisitor.java:984) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:104) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitChildren(GenJsCodeVisitor.java:262) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitCallParamContentNode(GenJsCodeVisitor.java:1201) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:113) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitCallNode(GenJsCodeVisitor.java:1174) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitCallBasicNode(AbstractSoyNodeVisitor.java:304) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:110) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitChildren(GenJsCodeVisitor.java:262) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.generateFunctionBody(GenJsCodeVisitor.java:694) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitTemplateNode(GenJsCodeVisitor.java:610) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitTemplateBasicNode(AbstractSoyNodeVisitor.java:160) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:66) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitSoyFileNode(GenJsCodeVisitor.java:360) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:64) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visitSoyFileSetNode(GenJsCodeVisitor.java:283) ~[na:na]
        at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:63) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.visit(GenJsCodeVisitor.java:233) ~[na:na]
        at com.google.template.soy.jssrc.internal.GenJsCodeVisitor.exec(GenJsCodeVisitor.java:219) ~[na:na]
        at com.google.template.soy.jssrc.internal.JsSrcMain.genJsSrc(JsSrcMain.java:162) ~[na:na]
        at com.google.template.soy.SoyFileSet.compileToJsSrc(SoyFileSet.java:890) ~[na:na]
        at com.atlassian.soy.impl.DefaultSoyManager.compile(DefaultSoyManager.java:106) ~[na:na]
        at com.atlassian.soy.impl.webresource.SoyWebResourceTransformer$SoyDownloadableResource$1.get(SoyWebResourceTransformer.java:62) ~[na:na]
        at com.atlassian.soy.impl.webresource.SoyWebResourceTransformer$SoyDownloadableResource$1.get(SoyWebResourceTransformer.java:58) ~[na:na]
        at com.atlassian.soy.impl.webresource.ThreadLocalQueryParamsResolver.withQueryParams(ThreadLocalQueryParamsResolver.java:35) ~[na:na]
        at com.atlassian.soy.impl.webresource.SoyWebResourceTransformer$SoyDownloadableResource.transform(SoyWebResourceTransformer.java:57) ~[na:na]
        at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource$1.apply(CharSequenceDownloadableResource.java:49) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource$1.apply(CharSequenceDownloadableResource.java:46) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.TransformerUtils.transformAndStreamResource(TransformerUtils.java:40) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource.streamResource(CharSequenceDownloadableResource.java:45) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$6.writeTo(Helpers.java:637) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$5.streamResource(Helpers.java:613) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.TransformerUtils.transformAndStreamResource(TransformerUtils.java:38) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource.streamResource(CharSequenceDownloadableResource.java:45) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$6.writeTo(Helpers.java:637) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$5.streamResource(Helpers.java:613) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.TransformerUtils.transformAndStreamResource(TransformerUtils.java:38) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource.streamResource(CharSequenceDownloadableResource.java:45) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$6.writeTo(Helpers.java:637) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.Helpers$2.writeTo(Helpers.java:250) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl$1.write(Controller.java:286) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl$2.write(Controller.java:322) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.streamToCache(OneStreamCache.java:106) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.cache.filecache.impl.OneStreamCache$1.apply(OneStreamCache.java:46) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.cache.filecache.impl.StreamsCache.doEnter(StreamsCache.java:88) ~[atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.stream(OneStreamCache.java:39) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.cache.filecache.impl.FileCacheImpl.cache(FileCacheImpl.java:100) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.cache(Controller.java:317) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.writeTo(Controller.java:272) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller.sendCached(Controller.java:364) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller.serveResources(Controller.java:179) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Controller.serveBatch(Controller.java:78) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:97) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:89) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.support.http.BaseRouter.callHandler(BaseRouter.java:185) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.support.http.BaseRouter.dispatch(BaseRouter.java:161) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:67) [atlassian-plugins-webresource-3.3.2.jar:na]
        at com.atlassian.stash.internal.plugin.FileServerServlet.access$000(FileServerServlet.java:24) [bitbucket-platform-4.0.2.jar:na]
        at com.atlassian.stash.internal.plugin.FileServerServlet$1.perform(FileServerServlet.java:41) [bitbucket-platform-4.0.2.jar:na]
        at com.atlassian.stash.internal.locale.LocaleUtils.withoutLocale(LocaleUtils.java:25) [bitbucket-platform-4.0.2.jar:na]
        at com.atlassian.stash.internal.plugin.FileServerServlet.handleRequest(FileServerServlet.java:38) [bitbucket-platform-4.0.2.jar:na]
        at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67) [spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) [applinks-plugin-5.0.1_1443769390000.jar:na]
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) [applinks-plugin-5.0.1_1443769390000.jar:na]
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) [applinks-plugin-5.0.1_1443769390000.jar:na]
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) [applinks-plugin-5.0.1_1443769390000.jar:na]
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26) [applinks-plugin-5.0.1_1443769390000.jar:na]
        at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:94) [atlassian-trusted-apps-core-4.2.0.jar:na]
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:67) [atlassian-oauth-service-provider-plugin-2.0.3_1443769390000.jar:na]
        at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:94) [atlassian-trusted-apps-core-4.2.0.jar:na]
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:67) [atlassian-oauth-service-provider-plugin-2.0.3_1443769390000.jar:na]
        at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:36) [analytics-client-4.2.6_1443772664000.jar:na]
        at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) [analytics-client-4.2.6_1443772664000.jar:na]
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:87) [BeforeLoginPluginAuthenticationFilter.class:na]
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:73) [BeforeLoginPluginAuthenticationFilter.class:na]
        at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:85) [bitbucket-service-impl-4.0.2.jar:na]
        at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:38) [ConfigurableWebFilter.class:na]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_20]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_20]
        ... 210 frames trimmed
    Caused by: com.google.template.soy.base.SoySyntaxException: Argument to getText() is not a literal string: dbTypeData9.displayNameKey
        at com.google.template.soy.base.SoySyntaxException.createWithoutMetaInfo(SoySyntaxException.java:52) ~[na:na]
        at com.atlassian.soy.impl.functions.GetTextFunction.computeForJsSrc(GetTextFunction.java:108) ~[na:na]
        at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitFunctionNode(TranslateToJsExprVisitor.java:474) ~[na:na]
        ... 100 common frames omitted
    
  3. Justin Shapiro reporter

    I looked up the errors that are in that attachment and they come from almond.js
    Looks like that comes from the UPM? Not sure. It's used for the modular javascript.

    No y
    
    It means that a require('y') call was done but y was not available.
    
    This usually means that 'y' was not included in the built file that includes almond.
    
    almond can only handle modules built in with it, it cannot dynamically load modules from the network.
    

    Not sure how that relates to you but your screen is the only one were those errors occur.

    https://github.com/jrburke/almond

  4. Justin Shapiro reporter

    As requested I had many people in different geographical locations on different computers and different platforms, mac, windows, linux and ios try and none can see the file contents on your page.

  5. Martin, SCM Support

    We have the same Problem with our instance on several computers, browsers and Operating Systems.

    We use Atlassian Bitbucket v4.1.0 and the Plugin Version 2.1.0

    error_plugin.png

    I think it happend after update to 4.1.0, before with 3.12 it was no problem.

    I tried it also on our Dev Instance of Bitbucket Server, its the same there.

  6. TheresaH

    Hi @Martin, SCM Support ,

    I was wondering if you could give me a list of other installed plugins of your Bitbucket Server? Since I can't replicate the error in my development instance, the cause might be a conflict between the plugins.

    Thanks

    Theresa

  7. Martin, SCM Support
  8. TheresaH

    Hi @Martin, SCM Support , @Justin Shapiro ,

    thanks a lot for your support!

    And I just want to give you some progress update: The error never occurred in a local development instance started with the Atlassian SDK. But I installed a full instance locally and was quite surprised that the JS web resources were not loaded at all.

    I am currently trying to find out what exactly might cause the issue.

    Just wanted to let you know, that we are working on it :)

    Regards

    Theresa

  9. Victor Roman

    My team is also having issues:

    • Github-flavor markup not properly formatted
    • Going to Overview and then selecting a markdown file does not show the markdown file.

    We tried looking on the bitbucket server for logs but couldn't find them. Where would they be located?

    Here is screenshot of console when viewing a markdown file. Developer_Tools_-_https___source_scit_solarcity_com_projects_GSLIB_repos_dataviz_angular_seed_browse_STYLEGUIDE_JS_md_and_Source_of_STYLEGUIDE_JS_md_-_dataviz_angular_seed_-_Stash.png

    Here is screenshot of console on the "Overview > *.md" view: Developer_Tools_-_https___source_scit_solarcity_com_plugins_servlet_readmeparser_display_GSLIB_dataviz_angular_seed_atRef_refs_heads_dev_renderFile_README_md_and_pirateninjaunicorn___stash-readme-parser___issues____55_-_Broken_in_Bitbucket_.png

  10. Log in to comment