Upgraded to Fisheye 4.5.1 from 4.4.2, Fisheye no longer accessible
Asked by Ryan Luck:

In output we're getting an exception whenever anyone tries to access Fisheye.

Callstack below.

2017-12-01 20:06:04,915 ERROR - Exception "Cannot find module of class interface com.atlassian.sal.api.auth.AuthenticationController" (java.lang.IllegalStateException) while processing "/" (Referer:"null")  
java.lang.IllegalStateException: Cannot find module of class interface com.atlassian.sal.api.auth.AuthenticationController  
at com.cenqua.fisheye.web.util.PluginModuleInstanceTracker.lambda$getModule$0(PluginModuleInstanceTracker.java:55) \[fisheye.jar:?\]  
at java.util.Optional.orElseThrow(Optional.java:290) \[?:1.8.0_151\]  
at com.cenqua.fisheye.web.util.PluginModuleInstanceTracker.getModule(PluginModuleInstanceTracker.java:55) \[fisheye.jar:?\]  
at com.cenqua.fisheye.web.util.AuthenticationControllerDelegator.getModule(AuthenticationControllerDelegator.java:22) \[fisheye.jar:?\]  
at com.cenqua.fisheye.web.util.AuthenticationControllerDelegator.shouldAttemptAuthentication(AuthenticationControllerDelegator.java:27) \[fisheye.jar:?\]  
at com.cenqua.fisheye.user.DefaultUserManager.validateCurrentUser(DefaultUserManager.java:259) \[fisheye.jar:?\]  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \[?:1.8.0_151\]  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) \[?:1.8.0_151\]  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) \[?:1.8.0_151\]  
at java.lang.reflect.Method.invoke(Method.java:498) \[?:1.8.0_151\]  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at com.sun.proxy.$Proxy76.validateCurrentUser(Unknown Source) \[?:?\]  
at com.cenqua.fisheye.web.security.DefaultUserDetector.validateCurrentUser(DefaultUserDetector.java:119) \[fisheye.jar:?\]  
at com.cenqua.fisheye.web.security.DefaultUserDetector.getUser(DefaultUserDetector.java:101) \[fisheye.jar:?\]  
at com.cenqua.fisheye.web.security.DefaultUserDetector.process(DefaultUserDetector.java:69) \[fisheye.jar:?\]  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \[?:1.8.0_151\]  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) \[?:1.8.0_151\]  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) \[?:1.8.0_151\]  
at java.lang.reflect.Method.invoke(Method.java:498) \[?:1.8.0_151\]  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at com.cenqua.crucible.hibernate.WithSessionAspect.doCloseSession(WithSessionAspect.java:56) \[fisheye.jar:?\]  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \[?:1.8.0_151\]  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) \[?:1.8.0_151\]  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) \[?:1.8.0_151\]  
at java.lang.reflect.Method.invoke(Method.java:498) \[?:1.8.0_151\]  
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) \[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at com.sun.proxy.$Proxy121.process(Unknown Source) \[?:?\]  
at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:253) \[fisheye.jar:?\]  
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:103) \[atlassian-trusted-apps-core-4.1.0.jar:?\]  
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:56) \[atlassian-pretty-urls-plugin-2.1.2.jar:?\]  
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82) \[jetty-servlets-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294) \[jetty-servlets-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.cenqua.fisheye.web.filters.CustomIncludableGzipFilter.doFilter(CustomIncludableGzipFilter.java:27) \[fisheye.jar:?\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.cenqua.fisheye.web.filters.ProductInfoFilter.doFilter(ProductInfoFilter.java:43) \[fisheye.jar:?\]  
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:56) \[atlassian-pretty-urls-plugin-2.1.2.jar:?\]  
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) \[atlassian-plugins-servlet-4.4.3.jar:?\]  
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]  
at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:54) \[fisheye.jar:?\]  
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]


Answers:
author: somethingblue
body: Hi Ryan,

From the logs it appears the jar was moved or the add-on was disabled. If you restart do you see any messages related to disabled or missing add-ons?

Cheers,

Branden