org.springframework.web.util.NestedServletException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After upgrading or installing Stash 3.9.1, accessing a repository causes a 500 error. The following message is shown: {noformat} Oops, an error occurred. Please contact your system administrator {noformat} The following can be seen in {{atlassian-stash.log}}: {code}2015-05-18 17:29:49,665 WARN [http-nio-7990-exec-5] admin @5EGP3Fx1049x2325x0 aabcbi 10.10.10.10 "GET /projects/PROJ/repos/REPO/browse HTTP/1.1" c.atlassian.stash.json.JsonRenderer Failed to marshal com.atlassian.stash.internal.repository.InternalRepository to JSON org.springframework.osgi.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:105) ~[na:na] at com.atlassian.stash.scm.protocol.AbstractPluginScmProtocol.getHandlerDescriptors(AbstractPluginScmProtocol.java:121) ~[stash-scm-common-3.9.1.jar:na] at com.atlassian.stash.scm.protocol.AbstractPluginScmProtocol.supports(AbstractPluginScmProtocol.java:110) ~[stash-scm-common-3.9.1.jar:na] at com.atlassian.stash.internal.scm.PluginScmService.getProtocols(PluginScmService.java:265) ~[stash-service-impl-3.9.1.jar:na] at com.atlassian.stash.internal.repository.DefaultRepositoryService.getCloneLinks(DefaultRepositoryService.java:352) ~[stash-service-impl-3.9.1.jar:na] at com.atlassian.stash.rest.enrich.DefaultLinkEnricher.enrichRepository(DefaultLinkEnricher.java:96) ~[na:na] at com.atlassian.stash.rest.enrich.DefaultLinkEnricher.access$100(DefaultLinkEnricher.java:21) ~[na:na] at com.atlassian.stash.rest.enrich.DefaultLinkEnricher$1.apply(DefaultLinkEnricher.java:40) ~[na:na] at com.atlassian.stash.rest.util.RestUtils.processEntities(RestUtils.java:229) ~[na:na] ... 2015-05-18 17:29:50,175 ERROR [http-nio-7990-exec-5] @5EGP3Fx1049x2326x0 aabcbi 10.10.10.10 "GET /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/projects/PROJ/repos/REPO/browse] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.google.template.soy.tofu.SoyTofuException: When evaluating "to_json($repository)": While computing function "to_json($repository)": null at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978) ~[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) ~[na:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:83) ~[StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) ~[BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) ~[BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:103) ~[atlassian-trusted-apps-core-4.0.0.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) ~[na:na] ...{code} *Workaround* Restarting Stash after the upgrade should resolve this.
    via by Jeff Thomas,
  • Spring - complete shutdown of web application
    via by Unknown author,
  • 404 while using Spring cloud FeignClients
    via Stack Overflow by rayman
    ,
  • Hazelcast multi-cluster instability
    via Stack Overflow by Raj Panamgipalli
    ,
    • org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:949) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)

    Users with the same issue

    Mohammad Salman
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    9 more bugmates