Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


BitBucket captcha does not display correctly


Recently we have started to see an issue where if a user fails to log in a number of times the captcha does not load correctly, as shown below:

IE:                                          Chrome:


I have looked in the Atlassian-bitbucket.log and can see the following error:


Error creating bean with name 'imageCaptchaServicePrototype' defined in class path resource [stash-context.xml]: Cannot create inner bean 'com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine#34b267ce' of type [com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine#34b267ce' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager


Bitbucket version: 4.9.1

Java version: 1.8.0_111


Any information much appreciated.


4 answers

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 12, 2022

Was this issue resolved ? I am getting same issue. Earlier, it did not use to work from Chrome browser, but used to work from IE. Now, even IE is failing. Its giving 500 error when we inspect the network calls.

Divayth, did you ever find a cause or fix for this issue? I have a client that is having the same problem.

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 16, 2017

We've just tried Captchas in 4.9.1 on Windows, and there was no issues as far as we could tell. 

I'd recommend you open a support case at to allow our support engineers to troubleshoot your problem.




Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events