Bitbucket Data Center node fails to start in a timely manner - Error during parsing of java bytecode
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
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
Problem
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
Diagnosis
A delay in loading the plugin responsible for managing git prevents the startup of other required system plugins.
Cause
Unknown bug in Dynatrace 6.1.
Resolution
Install Dynatrace 6.2.