Script task body is empty due to corrupted file system
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
You have tried adding the Script task but noticed that the body text area is empty. If you are importing data from another instance, the already existing data will be missing.
You see the following error message in the atlassian-bamboo.log
file:
1
2
3
4
5
6
7
8
9
10
11
12
2013-04-22 16:11:56,359 ERROR [qtp26204548-92864] [FiveOhOh] 500 Exception was thrown.
com.google.template.soy.base.SoySyntaxException: In file /widget/autocomplete-controls/bamboo/plandependencies/plan-dependency.soy: Not all code is in Soy V2 syntax (found file plan-dependency.soy not in Soy V2 syntax).
at com.google.template.soy.soytree.SoytreeUtils.createSoySyntaxExceptionWithMetaInfo(SoytreeUtils.java:58)
at com.google.template.soy.sharedpasses.AssertSyntaxVersionV2Visitor.visitSoyNode(AssertSyntaxVersionV2Visitor.java:81)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitSoyFileNode(AbstractSoyNodeVisitor.java:149)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:63)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:55)
at com.google.template.soy.basetree.AbstractNodeVisitor.visitChildren(AbstractNodeVisitor.java:59)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitChildren(AbstractSoyNodeVisitor.java:122)
at com.google.template.soy.sharedpasses.AssertSyntaxVersionV2Visitor.visitSoyNode(AssertSyntaxVersionV2Visitor.java:87)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitSoyFileSetNode(AbstractSoyNodeVisitor.java:145)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:62)
Cause
This is most likely the case where the tar tool you used to unpack the installation truncated file names or got corrupted somehow.
Resolution
Shutdown Bamboo
Download a new Bamboo of same version
Unzip the contents
Remove the current
/webapp/widget
folderAdd the new widget folder from step 2 and restart Bamboo
Was this helpful?