java.lang.reflect.UndeclaredThrowableException

JFrog JIRA | Evgeny Goldin | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After installing [TC 8.0 EAP|http://confluence.jetbrains.net/display/TW/TeamCity+EAP+(Latest)] (build 26816) I'm getting the following exception when attempting to browse any run's "Build log". Plugin version "2.1.4". {code} Trace: java.lang.reflect.UndeclaredThrowableException at $Proxy53.isAvailable(Unknown Source) at jetbrains.buildServer.web.impl.PagePlaceImpl.getAvailableExtensions(PagePlaceImpl.java:16) at jetbrains.buildServer.web.impl.PageExtensionsInterceptor.getAvailableExtensions(PageExtensionsInterceptor.java:53) at jetbrains.buildServer.web.impl.PageExtensionsInterceptor.postHandle(PageExtensionsInterceptor.java:84) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:19) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.ParametersProviderCalculationContextFilter.doFilter(ParametersProviderCalculationContextFilter.java:7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:9) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:0) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at jetbrains.buildServer.web.impl.PagePlaceImpl$ProxyHandler.invoke(PagePlaceImpl.java:1) ... 37 more Caused by: java.lang.NoSuchMethodError: jetbrains.buildServer.controllers.BuildDataExtensionUtil.retrieveBuild(Ljavax/servlet/http/HttpServletRequest;Ljetbrains/buildServer/serverSide/SBuildServer;)Ljetbrains/buildServer/serverSide/SBuild; at org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.getBuild(ArtifactoryResultsFragmentExtension.java:70) at org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.isAvailable(ArtifactoryResultsFragmentExtension.java:60) ... 41 more {code}

    JFrog JIRA | 4 years ago | Evgeny Goldin
    java.lang.reflect.UndeclaredThrowableException
  2. 0

    After installing [TC 8.0 EAP|http://confluence.jetbrains.net/display/TW/TeamCity+EAP+(Latest)] (build 26816) I'm getting the following exception when attempting to browse any run's "Build log". Plugin version "2.1.4". {code} Trace: java.lang.reflect.UndeclaredThrowableException at $Proxy53.isAvailable(Unknown Source) at jetbrains.buildServer.web.impl.PagePlaceImpl.getAvailableExtensions(PagePlaceImpl.java:16) at jetbrains.buildServer.web.impl.PageExtensionsInterceptor.getAvailableExtensions(PageExtensionsInterceptor.java:53) at jetbrains.buildServer.web.impl.PageExtensionsInterceptor.postHandle(PageExtensionsInterceptor.java:84) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:19) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.ParametersProviderCalculationContextFilter.doFilter(ParametersProviderCalculationContextFilter.java:7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:9) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:0) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at jetbrains.buildServer.web.impl.PagePlaceImpl$ProxyHandler.invoke(PagePlaceImpl.java:1) ... 37 more Caused by: java.lang.NoSuchMethodError: jetbrains.buildServer.controllers.BuildDataExtensionUtil.retrieveBuild(Ljavax/servlet/http/HttpServletRequest;Ljetbrains/buildServer/serverSide/SBuildServer;)Ljetbrains/buildServer/serverSide/SBuild; at org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.getBuild(ArtifactoryResultsFragmentExtension.java:70) at org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.isAvailable(ArtifactoryResultsFragmentExtension.java:60) ... 41 more {code}

    JFrog JIRA | 4 years ago | Evgeny Goldin
    java.lang.reflect.UndeclaredThrowableException

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      jetbrains.buildServer.controllers.BuildDataExtensionUtil.retrieveBuild(Ljavax/servlet/http/HttpServletRequest;Ljetbrains/buildServer/serverSide/SBuildServer;)Ljetbrains/buildServer/serverSide/SBuild;

      at org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.getBuild()
    2. org.jfrog.teamcity
      ArtifactoryResultsFragmentExtension.isAvailable
      1. org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.getBuild(ArtifactoryResultsFragmentExtension.java:70)
      2. org.jfrog.teamcity.server.summary.ArtifactoryResultsFragmentExtension.isAvailable(ArtifactoryResultsFragmentExtension.java:60)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    4. TeamCity Build Server
      PagePlaceImpl$ProxyHandler.invoke
      1. jetbrains.buildServer.web.impl.PagePlaceImpl$ProxyHandler.invoke(PagePlaceImpl.java:1)
      1 frame
    5. Unknown
      $Proxy53.isAvailable
      1. $Proxy53.isAvailable(Unknown Source)
      1 frame
    6. TeamCity Build Server
      PageExtensionsInterceptor.postHandle
      1. jetbrains.buildServer.web.impl.PagePlaceImpl.getAvailableExtensions(PagePlaceImpl.java:16)
      2. jetbrains.buildServer.web.impl.PageExtensionsInterceptor.getAvailableExtensions(PageExtensionsInterceptor.java:53)
      3. jetbrains.buildServer.web.impl.PageExtensionsInterceptor.postHandle(PageExtensionsInterceptor.java:84)
      3 frames
    7. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:801)
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      2 frames
    9. TeamCity Build Server
      TeamCityDispatcherServlet.service
      1. jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:19)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    11. TeamCity Build Server
      ParametersProviderCalculationContextFilter.doFilter
      1. jetbrains.buildServer.web.ParametersProviderCalculationContextFilter.doFilter(ParametersProviderCalculationContextFilter.java:7)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    13. TeamCity Build Server
      DisableSessionIdFromUrlFilter.doFilter
      1. jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:9)
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    15. TeamCity Build Server
      DiagnosticFilter.doFilter
      1. jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:31)
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    17. TeamCity Build Server
      ResponseFragmentFilter.doFilter
      1. jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:0)
      1 frame
    18. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      8 frames
    19. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    20. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames