Build execution fails due to java.lang.StackOverflowError

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

Executing builds fails due to,

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)

原因

The stack limit for the native JAVA threads has been exceeded, due to nested files/directories in the checked out source code.

ソリューション

Re-organize the working directory (your source code) such that, filesystem is not deeply nested.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。