Bitbucket down
Asked by Ramesh Kagitha:

Issue 3 : Noticing captcha related error following from logs

2021-12-22 10:31:37,636 ERROR \[https-jsse-nio-8443-exec-20\] @1Z139HYx631x103058x6 171ew06 10.1.32.13,10.115.112.24 "GET /captcha HTTP/1.1" c.a.s.i.w.HandlerExceptionResolverI  
mpl Error creating bean with name 'imageCaptchaServicePrototype' defined in class path resource \[stash-context.xml\]: Cannot create inner bean 'com.atlassian.stash.internal.we  
b.util.captcha.StashCaptchaEngine#6f8ac9fe' 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#6f8ac9fe' defined in  
class path resource \[stash-context.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate \[com.a  
tlassian.stash.internal.web.util.captcha.StashCaptchaEngine\]: Constructor threw exception; nested exception is java.lang.InternalError: java.lang.reflect.InvocationTargetExce  
ption  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaServicePrototype' defined in class path resource \[stash-context.xml\]: Cann  
ot create inner bean 'com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine#6f8ac9fe' of type \[com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine\] wh  
ile setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.stash.internal.web  
.util.captcha.StashCaptchaEngine#6f8ac9fe' defined in class path resource \[stash-context.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.Bea  
nInstantiationException: Failed to instantiate \[com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine\]: Constructor threw exception; nested exception is java.lang.  
InternalError: java.lang.reflect.InvocationTargetException  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)  
at com.atlassian.stash.internal.web.users.CaptchaController.viewCaptcha(CaptchaController.java:31)  
at jdk.internal.reflect.GeneratedMethodAccessor2077.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)  
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)  
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)  
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)  
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)

Java version : in server

\[atlbitbucket@mo1npdvlnxbbkt01 log\]$ java -version  
java version "11.0.12" 2021-07-20 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)  
\[atlbitbucket@mo1npdvlnxbbkt01 log\]$

Please check as soon . Its effecting Production server .


Answers:
author: Kurt Klinner
body: [@Ramesh Kagitha](/t5/user/viewprofilepage/user-id/4184681)

Based on the exception i think you should check

<https://confluence.atlassian.com/bitbucketserverkb/captcha-image-doesn-t-render-779171210.html>

Hope that helps

Kurt

comments: author: Ramesh Kagitha
body: Yes the sloution helped


Tags: bitbucket-server

server