java.lang.NullPointerException: null

Stack Overflow | Nikhil | 9 months 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

    {noformat} 2010-03-16 00:02:39,912 ERROR [pool-3-thread-1046] [JiraRemoteIssueManagerImpl] Failed to login to the Jira Server java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:993) at java.lang.ClassLoader.getResources(ClassLoader.java:1041) at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129) at org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160) at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.atlassian.jira.rpc.soap.client.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at com.atlassian.bamboo.jira.JiraSoapServiceFactory.newJiraSoapService(JiraSoapServiceFactory.java:26) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraSoapService(JiraRemoteIssueManagerImpl.java:185) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.refreshLoginToken(JiraRemoteIssueManagerImpl.java:157) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraIssueDetails(JiraRemoteIssueManagerImpl.java:97) at com.atlassian.bamboo.jira.jiraissues.CachedJiraIssueDetails.getObject(CachedJiraIssueDetails.java:27) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache.getJiraIssueDetails(JiraRemoteIssueManagerCache.java:54) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:53) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {noformat} seems to be a result of unclean restart from: http://threebit.net/mail-archive/tomcat-users/msg05293.html

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    java.lang.NullPointerException
  2. 0

    {noformat} 2010-03-16 00:02:39,912 ERROR [pool-3-thread-1046] [JiraRemoteIssueManagerImpl] Failed to login to the Jira Server java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:993) at java.lang.ClassLoader.getResources(ClassLoader.java:1041) at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129) at org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160) at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.atlassian.jira.rpc.soap.client.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at com.atlassian.bamboo.jira.JiraSoapServiceFactory.newJiraSoapService(JiraSoapServiceFactory.java:26) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraSoapService(JiraRemoteIssueManagerImpl.java:185) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.refreshLoginToken(JiraRemoteIssueManagerImpl.java:157) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraIssueDetails(JiraRemoteIssueManagerImpl.java:97) at com.atlassian.bamboo.jira.jiraissues.CachedJiraIssueDetails.getObject(CachedJiraIssueDetails.java:27) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache.getJiraIssueDetails(JiraRemoteIssueManagerCache.java:54) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:53) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {noformat} seems to be a result of unclean restart from: http://threebit.net/mail-archive/tomcat-users/msg05293.html

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NullPointerException when invoking a web service

    Coderanch | 1 decade ago | Bob Green
    java.lang.NullPointerException
  5. 0

    Null Pointer exception while invoking web service

    Coderanch | 1 decade ago | Umakant Swami
    java.lang.NullPointerException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.apache.catalina.loader.WebappClassLoader.findResources()
    2. Glassfish Core
      WebappClassLoader.findResources
      1. org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1368)[na:na]
      1 frame
    3. Java RT
      ClassLoader.getResources
      1. java.lang.ClassLoader.getResources(ClassLoader.java:1040)[na:1.6.0_45]
      1 frame
    4. Commons Discovery
      ResourceClassDiscoverImpl$1.hasNext
      1. org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150)[commons-discovery-0.2.jar:0.2]
      2. org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153)[commons-discovery-0.2.jar:0.2]
      3. org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129)[commons-discovery-0.2.jar:0.2]
      4. org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116)[commons-discovery-0.2.jar:0.2]
      5. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186)[commons-discovery-0.2.jar:0.2]
      6. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170)[commons-discovery-0.2.jar:0.2]
      7. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157)[commons-discovery-0.2.jar:0.2]
      8. org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143)[commons-discovery-0.2.jar:0.2]
      9. org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126)[commons-discovery-0.2.jar:0.2]
      10. org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159)[commons-discovery-0.2.jar:0.2]
      11. org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147)[commons-discovery-0.2.jar:0.2]
      11 frames
    5. Axis Web Services
      EngineConfigurationFactoryFinder$1.run
      1. org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120)[axis-1.2.1.jar:na]
      1 frame
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_45]
      1 frame
    7. Axis Web Services
      Service.<init>
      1. org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)[axis-1.2.1.jar:na]
      2. org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160)[axis-1.2.1.jar:na]
      3. org.apache.axis.client.Service.getEngineConfiguration(Service.java:812)[axis-1.2.1.jar:na]
      4. org.apache.axis.client.Service.getAxisClient(Service.java:103)[axis-1.2.1.jar:na]
      5. org.apache.axis.client.Service.<init>(Service.java:112)[axis-1.2.1.jar:na]
      5 frames
    8. com.amadeus.winaproach
      Caller.<init>
      1. com.amadeus.winaproach.connector.soap.Caller.<init>(Caller.java:81)[winaproach_connector-2.1.0.jar:2.1.0]
      1 frame
    9. com.amadeus.qlm
      SupportRequestCreatorServlet.doPost
      1. com.amadeus.qlm.rndrequest.handler.WinaproachRequestHandler.<init>(WinaproachRequestHandler.java:73)[WinaproachRequestHandler.class:na]
      2. com.amadeus.qlm.rndrequest.Request.handlRequest(Request.java:128)[Request.class:na]
      3. com.amadeus.qlm.rndrequest.SupportRequestCreatorServlet.doPost(SupportRequestCreatorServlet.java:57)[SupportRequestCreatorServlet.class:na]
      3 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)[tomcat-servlet-api-3.0.jar:na]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)[tomcat-servlet-api-3.0.jar:na]
      2 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)[tomcat-catalina-7.0.52.jar:7.0.52]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[tomcat-catalina-7.0.52.jar:7.0.52]
      2 frames
    12. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      9. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      11. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      12 frames
    13. com.amadeus.qlm
      OAuth2Filter.doFilter
      1. com.amadeus.qlm.rndrequest.auth.OAuth2Filter.doFilter(OAuth2Filter.java:77)[OAuth2Filter.class:na]
      1 frame
    14. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      4. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)[spring-security-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      4 frames
    15. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)[spring-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)[spring-web-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      2 frames
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[tomcat-catalina-7.0.52.jar:7.0.52]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[tomcat-catalina-7.0.52.jar:7.0.52]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)[tomcat-catalina-7.0.52.jar:7.0.52]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[tomcat-catalina-7.0.52.jar:7.0.52]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)[tomcat-catalina-7.0.52.jar:7.0.52]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[tomcat-catalina-7.0.52.jar:7.0.52]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)[tomcat-catalina-7.0.52.jar:7.0.52]
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)[tomcat-catalina-7.0.52.jar:7.0.52]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[tomcat-catalina-7.0.52.jar:7.0.52]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)[tomcat-catalina-7.0.52.jar:7.0.52]
      10 frames
    17. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)[tomcat-coyote-7.0.52.jar:7.0.52]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)[tomcat-coyote-7.0.52.jar:7.0.52]
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)[tomcat-coyote-7.0.52.jar:7.0.52]
      3 frames
    18. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[na:1.6.0_45]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[na:1.6.0_45]
      3. java.lang.Thread.run(Thread.java:662)[na:1.6.0_45]
      3 frames