Creating a Project or Repository Fails With HV000041: Call to TraversableResolver.isReachable() threw an exception

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Creating a project or repository fails with the error: HV000041: Call to TraversableResolver.isReachable() threw an exception.

The following can be seen in the atlassian-bitbucket.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 javax.validation.ValidationException: HV000041: Call to TraversableResolver.isReachable() threw an exception. at org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1230) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:438) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:387) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:351) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:303) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:133) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.springframework.validation.beanvalidation.SpringValidatorAdapter.validate(SpringValidatorAdapter.java:109) ~[spring-context-4.0.2.RELEASE.jar:4.0.2.RELEASE] at org.springframework.validation.DataBinder.validate(DataBinder.java:760) ~[spring-context-4.0.2.RELEASE.jar:4.0.2.RELEASE] at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.validateIfApplicable(ModelAttributeMethodProcessor.java:161) ~[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE] at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:109) ~[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE] at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:79) ~[spring-web-4.0.2.RELEASE.jar:4.0.2.RELEASE] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.1.1_1389362838000.jar:na] at com.atlassian.bitbucket.internal.spring.security.Bitbucket ServerAuthenticationFilter.doFilter(Bitbucket ServerAuthenticationFilter.java:92) [Bitbucket ServerAuthenticationFilter.class:na] at com.atlassian.bitbucket.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.bitbucket.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1388446698000.jar:na] at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:150) [javamelody-1.50.0.jar:na] at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:281) [javamelody-1.50.0.jar:na] at com.sun.proxy.$Proxy1571.forward(Unknown Source) [na:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1388446698000.jar:na] at com.atlassian.bitbucket.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.bitbucket.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.bitbucket.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [bitbucket-service-impl-2.12.0.jar:na] at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202) [javamelody-1.50.0.jar:na] at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180) [javamelody-1.50.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_51] at java.lang.Thread.run(Unknown Source) [na:1.7.0_51] ... 203 frames trimmed Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException: Can't find a delegate at net.bull.javamelody.JpaPersistence.guessDelegate(JpaPersistence.java:176) ~[javamelody-1.50.0.jar:na] at net.bull.javamelody.JpaPersistence.loadOrGuessDelegate(JpaPersistence.java:144) ~[javamelody-1.50.0.jar:na] at net.bull.javamelody.JpaPersistence.getProviderUtil(JpaPersistence.java:129) ~[javamelody-1.50.0.jar:na] at javax.persistence.Persistence$1.isLoaded(Persistence.java:111) ~[hibernate-jpa-2.1-api-1.0.0.Final.jar:1.0.0.Final] at org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:57) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:130) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.resolver.SingleThreadCachedTraversableResolver.isReachable(SingleThreadCachedTraversableResolver.java:46) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] at org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1221) ~[hibernate-validator-4.3.1.Final.jar:4.3.1.Final] ... 29 common frames omitted Caused by: java.lang.ClassNotFoundException: Can't find a delegate ... 37 common frames omitted

Cause

JavaMelody 1.50 is incompatible with Bitbucket Server 2.12.0 breaking the project and repository creation. For previous versions of Bitbucket Server, JavaMelody incompatibility is not known.

Resolution

Remove JavaMelody from the Bitbucket Server installation.

If by any chance this fails, the same installer version of Bitbucket Server can be unpacked and Bitbucket Server can be started from that installation directory (make sure to port any modifications from the previous installation directory), after pointing it to the original Bitbucket home directory.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.