java.lang.NullPointerException

YouTrack | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at jetbrains.buildServer.server.rest.jersey.WadlGenerator$PatchedWadlGenerator.createResource()
  2. jetbrains.buildServer.server
    WadlGenerator$PatchedWadlGenerator.createResource
    1. jetbrains.buildServer.server.rest.jersey.WadlGenerator$PatchedWadlGenerator.createResource(WadlGenerator.java:63)
    1 frame
  3. Jersey
    WebApplicationImpl.handleRequest
    1. com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport.createResource(WadlGeneratorResourceDocSupport.java:195)
    2. com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:387)
    3. com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:383)
    4. com.sun.jersey.server.wadl.WadlBuilder.generate(WadlBuilder.java:191)
    5. com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.getApplication(WadlApplicationContextImpl.java:142)
    6. com.sun.jersey.server.impl.wadl.WadlMethodFactory$WadlOptionsMethodDispatcher.dispatch(WadlMethodFactory.java:110)
    7. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
    8. com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
    9. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    10. com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
    11. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    12. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    13. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    14. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    15. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
    16. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
    17. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
    18. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
    18 frames
  4. Jersey
    ServletContainer.doFilter
    1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
    2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
    3. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:927)
    4. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:875)
    4 frames
  5. jetbrains.buildServer.server
    APIController$3.apply
    1. jetbrains.buildServer.server.rest.APIController$3.apply(APIController.java:448)
    2. jetbrains.buildServer.server.rest.APIController$3.apply(APIController.java:434)
    2 frames
  6. TeamCity Build Server
    Util.doUnderContextClassLoader
    1. jetbrains.buildServer.util.Util.doUnderContextClassLoader(Util.java:78)
    1 frame
  7. jetbrains.buildServer.server
    APIController.doHandle
    1. jetbrains.buildServer.server.rest.APIController.doHandle(APIController.java:434)
    1 frame
  8. TeamCity Build Server
    BaseController.handleRequestInternal
    1. jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:75)
    1 frame
  9. Spring MVC
    FrameworkServlet.doOptions
    1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
    2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
    6. org.springframework.web.servlet.FrameworkServlet.doOptions(FrameworkServlet.java:905)
    6 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:659)
    1 frame
  11. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
    1 frame
  12. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    1 frame
  13. TeamCity Build Server
    TeamCityDispatcherServlet.service
    1. jetbrains.buildServer.maintenance.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:113)
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  15. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  17. TeamCity Build Server
    DisableSessionIdFromUrlFilter.doFilter
    1. jetbrains.buildServer.web.DisableSessionIdFromUrlFilter.doFilter(DisableSessionIdFromUrlFilter.java:21)
    1 frame
  18. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  19. Spring
    CompositeFilter$VirtualFilterChain.doFilter
    1. org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:107)
    1 frame
  20. jetbrains.buildServer.diagnostic
    DiagnosticFilter.doFilter
    1. jetbrains.buildServer.diagnostic.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:77)
    1 frame
  21. Spring
    CompositeFilter$VirtualFilterChain.doFilter
    1. org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:112)
    1 frame
  22. TeamCity Build Server
    DependencyParametersCalculationContextFilter.doFilter
    1. jetbrains.buildServer.web.DependencyParametersCalculationContextFilter.doFilter(DependencyParametersCalculationContextFilter.java:37)
    1 frame
  23. Spring
    CompositeFilter.doFilter
    1. org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:112)
    2. org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:73)
    2 frames
  24. TeamCity Build Server
    DelegatingFilter.doFilter
    1. jetbrains.buildServer.web.DelegatingFilter.doFilter(DelegatingFilter.java:37)
    1 frame
  25. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  26. TeamCity Build Server
    ResponseFragmentFilter.doFilter
    1. jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:63)
    1 frame
  27. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    7. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    9 frames
  28. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1757)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1716)
    4 frames
  29. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  30. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  31. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame