Script task body is empty due to corrupted file system

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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

  1. Shutdown Bamboo
  2. Download a new Bamboo of same version
  3. Unzip the contents
  4. Remove the current /webapp/widget folder
  5. Add the new widget folder from step 2 and restart Bamboo

 

Last modified on Jun 25, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.