Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error during upgrade: Could not initialize class java.awt.Toolkit

Hi there,

Yesterday i was trying to upgrade from Bitbucket Server 5.3.1 to 7.12 and i'm getting this error just when launching the installer bin:

java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at javax.swing.ImageIcon.<init>(ImageIcon.java:198)
at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(GUIHelper.java:192)
at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:50)
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:73)
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:24)
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6)
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:87)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:56)
at com.install4j.runtime.installer.Installer.main(Installer.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)

System properties:

java.runtime.name=Java(TM) SE Runtime Environment
exe4j.moduleName=/home/ubuntu/atlassian-bitbucket-7.12.1-x64.bin
sun.boot.library.path=/atlassian/opt/bitbucket/5.3.1/jre/lib/amd64
java.vm.version=25.102-b14
java.vm.vendor=Oracle Corporation
java.vendor.url= (i have removed this URL to open this discussion)
path.separator=:
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
install4j.exeDir=/home/ubuntu/
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/ubuntu/atlassian-bitbucket-7.12.1-x64.bin.6433.dir
java.runtime.version=1.8.0_102-b14
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
i4jv=0
java.endorsed.dirs=/atlassian/opt/bitbucket/5.3.1/jre/lib/endorsed
os.arch=amd64
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Oracle Corporation
os.name=Linux
exe4j.totalDataLength=401537681
sun.java2d.noddraw=true
sun.jnu.encoding=UTF-8
java.library.path=/home/ubuntu/atlassian-bitbucket-7.12.1-x64.bin.6433.dir/user::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=5.4.0-1028-aws
i4j.vpt=true
install4j.cwd=/home/ubuntu
user.home=/root
user.timezone=Europe/Madrid
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=UTF-8
install4j.jvmDir=/atlassian/opt/bitbucket/5.3.1/jre
java.specification.version=1.8
java.class.path=i4jruntime.jar
user.name=root
install4j.executionMode=gui
java.vm.specification.version=1.8
sun.java.command=com.install4j.runtime.launcher.UnixLauncher launch 0 0 0 com.install4j.runtime.installer.Installer
java.home=/atlassian/opt/bitbucket/5.3.1/jre
sun.arch.data.model=64
user.language=en
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.8.0_102
java.ext.dirs=/atlassian/opt/bitbucket/5.3.1/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path=/atlassian/opt/bitbucket/5.3.1/jre/lib/resources.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/rt.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/sunrsasign.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/jsse.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/jce.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/charsets.jar:/atlassian/opt/bitbucket/5.3.1/jre/lib/jfr.jar:/atlassian/opt/bitbucket/5.3.1/jre/classes
java.awt.headless=true
install4j.appDir=/home/ubuntu/
java.vendor=Oracle Corporation
file.separator=/
java.vendor.url.bug=(i have removed this URL to open this discussion)
sun.font.fontmanager=sun.awt.X11FontManager
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.cpu.isalist=

 

Does enybody knows what could be the problem?

Thx in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

227 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you