BitBucket captcha does not display correctly

Hi,

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:

bb3.PNGbb2.PNG

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.

 

2 answers

0 vote

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 https://support.atlassian.com to allow our support engineers to troubleshoot your problem.

 

Cheers, 

Felix

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

164 views 20 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you