BSP-273 - Failed to execute build null - due to java.lang.StackOverflowError

Product: Bamboo

Environment

Operating System  
Affect Version/s 1.2.2
JVM  
Database MySQL 4.0.x
Application Server Standalone

Error Message

2007-09-14 09:06:25,016 INFO [BAM:Default Queue:BuildExe] [DefaultErrorHandler] Recording error: Failed to execute build 'BuildResults: "YOUR-BUILD"
java.lang.StackOverflowError
	at sun.nio.cs.UTF_8$Decoder.decodeArrayLoop(UTF_8.java:212)
	at sun.nio.cs.UTF_8$Decoder.decodeLoop(UTF_8.java:358)
	at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
	at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:140)
	at java.lang.StringCoding.decode(StringCoding.java:173)
	at java.lang.String.<init>(String.java:444)
	at java.lang.String.<init>(String.java:516)
	at java.io.UnixFileSystem.list(Native Method)
	at java.io.File.list(File.java:973)
	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1028)
	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)

Symptom

Diagnostics/Test

Root Cause

This is due to nested files/directories, as the application tries to recursively traverse into the filesystem.

Solution

This issue can be addressed by not having deeply nested filesystem,

Labels

bamboo bamboo Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.