Bitbucket Data Center node fails to start in a timely manner - Error during parsing of java bytecode
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
As of BitbucketServer 5.x+, no logs are written to the BITBUCKET_INSTALL directory. The contents of catalina.out will be written to BITBUCKET_HOME/log/atlassian-bitbucket.log file
問題
After installing Dynatrace, Bitbucket Data Center nodes take upwards of 20 minutes to start with the following messages logged to catalina.out:
2015-10-14 00:47:35 [99ddeeff] warning [native] Error during parsing of java bytecode: Java classes with "invokedynamic" are not supported, skipping class transformation (class java/lang/CharSequence)
2015-10-14 00:47:35 [99ddeeff] warning [native] Error during parsing of java bytecode: Java classes with "invokedynamic" are not supported, skipping class transformation (class java/lang/reflect/AnnotatedElement)
2015-10-14 00:47:43 [99ddeeff] warning [native] Error during parsing of java bytecode: Java classes with "invokedynamic" are not supported, skipping class transformation (class java/util/Comparator)
Plugins are also failing to load properly with the following messages logged to the application log (e.g. atlassian-bitbucket.log
):
com.atlassian.stash.scm.UnsupportedScmException: No SCM has been registered with ID: git
診断
A delay in loading the plugin responsible for managing git prevents the startup of other required system plugins.
原因
Unknown bug in Dynatrace 6.1.
ソリューション
Install Dynatrace 6.2.