Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Docker images broken with version 8.8 and higher?

Jörg Brandstätt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

We're using the Bitbucket Docker images in our testing enviroment (https://hub.docker.com/r/atlassian/bitbucket).

Today, we realized that the instances are not working anymore, showing a stacktrace with root cause

java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @107e502

Using version tag 8.7 is working, but it looks like any higher version is broken.

Based on the available tags, I assume that the image are shipped with Java 17 starting with 8.8 and there's a compatibility issue with that version.

Is someone else also having this issue? I think it's a general thing but cannot rule out that it is something in our setup.

 

 

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Jörg Brandstätt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

I just found out that there are "-jdk11" tags available, so using tag 8.17-jdk11 solves the issue of setting up a running Bitbucket 8.17.

The documentation states that using latest is not recommended, but in this case it looks like the default-tags for all versions have been moved to broken builds based on Java 17.

Reese March 4, 2024

Uh oh. An oops by Atlassian. Thanks for pointing this out. 

I'm still on 7.21 LTS

TAGS
AUG Leaders

Atlassian Community Events